Commit Graph

2391 Commits

Author SHA1 Message Date
tomFlowee 605bddad9e UX Tweaks 2021-11-03 22:54:33 +01:00
tomFlowee c0c5c3edb2 Make fiat entry of sent screen work pretty well. 2021-11-03 22:32:41 +01:00
tomFlowee 61eb8ef1ec Fix one more usecase. 2021-11-03 22:00:58 +01:00
tomFlowee 941757f6cb Make entering Bitcoin Values much more native.
This also starts a FiatValueField widget and related logic in the send
screen, but this is still unfinished.
2021-11-03 19:26:50 +01:00
tomFlowee 4731ab6f6a Export display cents bool. 2021-11-03 18:30:24 +01:00
tomFlowee 1e133bbcc4 Fix possible loop 2021-11-03 18:29:56 +01:00
tomFlowee 6a708726a1 Rework BitcoinValue class
We now have a unit test and it supports cursor position for a much more
intuitive editing experience.
2021-11-03 18:29:31 +01:00
tomFlowee 0bb9116de0 Add a timestamp next to the sync status. 2021-11-03 13:58:31 +01:00
tomFlowee 841f599e0c Move BitcoinAmount related widgets to subdir. 2021-11-03 13:45:26 +01:00
tomFlowee 81f3204fa4 Fix coloring issues with Combobox
We had black text on block background due to bad choices in the default
theme.
Lets override those here and make the items always readable.
2021-11-03 13:33:49 +01:00
tomFlowee 795bf23dea Fixlet. 2021-11-03 12:23:09 +01:00
tomFlowee 31db507ae7 Make the "ScrollThumb" inherit from ScrollBar
This makes it possible to not have effectively two visual indicators.
2021-11-03 12:19:27 +01:00
tomFlowee bba9878d1b Next iteration of thumb
This takes into account the user feedback that the text was too
intrusive while simply moving through a single large transaction.
Now we show a simple thumb while scrolling and only should the user grab
it to move faster does the preview screens show up.
2021-11-03 11:59:58 +01:00
tomFlowee e3cdfed3e5 UX tweaks and fixlets 2021-11-02 20:32:43 +01:00
tomFlowee 7c59dc2f50 Minor spacing tweak 2021-11-02 19:57:26 +01:00
tomFlowee a737c3cddd move images to the images subdir 2021-11-02 19:54:09 +01:00
tomFlowee cec548901e Move more to widgets/ 2021-11-02 19:50:08 +01:00
tomFlowee aa59797636 Rename FloweeCheckBox to widgets/CheckBox 2021-11-02 19:35:38 +01:00
tomFlowee 25ad80f924 Rename import of the widgets subdir to 'Flowee'
This feels like a more logical namespace name.
2021-11-02 19:32:13 +01:00
tomFlowee 1d5dd49870 Clarify globals in QML.
Now the global namespace (not instance) is "Bitcoin".
The application instance now is "Pay".
2021-11-02 19:29:14 +01:00
tomFlowee 8cb00c225d Improve light theme colors. 2021-11-02 19:13:14 +01:00
tomFlowee e247e0a4be Consistency; use Wallet in the GUI 2021-11-02 17:18:32 +01:00
tomFlowee 10432c3296 Fix the model sometimes skipping all entries.
This specifically happened with some configurations involving single-
address wallets.
2021-11-02 14:54:59 +01:00
tomFlowee cfcbdede36 Add wallet-upgrade (version 1 -> version 2)
We introduced for secret keys the signature-type field, which is required
to avoid signing with one key as both Schnorr and ecdsa as
that can cause leakage making recovering the private key much easier.

So, we now store this data but old wallets didn't fetch that from
the incoming transactions. So this conversion fetches the data from the
transactions (which are on the device) and stores the sigtype with the
keys.
2021-11-02 14:54:59 +01:00
tomFlowee 58ab366558 Defensive programming. 2021-11-02 14:08:50 +01:00
tomFlowee d1bc5bf856 UX; make UI leading over models here.
Each account has its own booleans for the model filter, but that makes no
sense in the UX as the checkbox changes as the user switches account.
Instead, copy the UI checkbox value to the new model we get.
2021-11-02 11:41:55 +01:00
tomFlowee 27feaef5c4 Follow upstream refactor 2021-11-02 11:09:56 +01:00
tomFlowee 88c4b96121 UX tweaks
Do not show sliders for accounts that don't have the features they
change.
Also simplify the seed textarea to just the plain QQC2 widget.
2021-11-01 18:51:10 +01:00
tomFlowee a2920fb235 Fix reserveUnusedAddress()
this now makes sure we give the firs plausible address.
2021-11-01 18:27:03 +01:00
tomFlowee c20f97c510 Support 'startHeight' for all imported wallettypes. 2021-11-01 17:58:11 +01:00
tomFlowee 6c720feb60 Default to 12 word seeds. 2021-11-01 17:57:11 +01:00
tomFlowee 421f48e61e Mark transactions just coming in as 'new'. 2021-11-01 16:52:41 +01:00
tomFlowee 908a99ab05 Fix logic issue. 2021-11-01 16:33:53 +01:00
tomFlowee 5a245c8b17 Mark "spam" transactions as locked. 2021-11-01 16:33:53 +01:00
tomFlowee 7414176157 Fix typo 2021-11-01 14:14:41 +01:00
tomFlowee e39c8233d6 Fix returning a bad value sometimes. 2021-11-01 14:14:00 +01:00
tomFlowee 3696499d9f Split HD key managent into created and bloom-asked
The bloom filter didn't include all created keys and thus we didn't send
the bloom in some cases.

Now we keep track of exactly which keys were sent and we re-send a bloom
filter if half of those have been used in order to not miss out on any
transactions.
2021-11-01 13:33:33 +01:00
tomFlowee 5061040d8b Fix small logic error. 2021-11-01 11:20:40 +01:00
tomFlowee 35bd66297d Find in the transactions the signature type used.
As transactions are found on the blockchain we remember the signature
type used in order to avoid one private key to be used for both types of
signatures, which can cause compromised keys.
2021-10-31 16:56:03 +01:00
tomFlowee 32d2142ab0 Show dates nicer
This adds the feature that we show a "last receive" field on a wallet,
and we also change the date format to have "yesterday" style dates
for recent ones.
2021-10-31 15:30:38 +01:00
tomFlowee 73d17beef0 Improve feedback while typing a seed.
Now we instantly highlight when a word is not recognized.
2021-10-31 13:46:47 +01:00
tomFlowee 4fa17b38d9 Move ScrollThumb.qml to its own file. 2021-10-30 23:33:48 +02:00
tomFlowee 295683f9c6 Version two of the scrollbar-thumb
this keeps the visual part in the viewport.
2021-10-30 21:38:57 +02:00
tomFlowee 22f4cc43af Make prepared sending more clear.
On send we require a 'prepare' button press. This is specific to a
portfolio and so when we switch portfolio we now make more clear that
the data is not valid by making it less visible.
2021-10-30 19:26:36 +02:00
tomFlowee d75e591f58 [UX] add thumb feature to scrollbar. 2021-10-30 18:57:40 +02:00
tomFlowee 88db123083 [UX] add scrollbars 2021-10-30 16:39:35 +02:00
tomFlowee db1da89ba3 Fix cursor shape for button-style items. 2021-10-30 16:29:48 +02:00
tomFlowee 6f2c41b26c Add close button on 'new wallet' screen. 2021-10-30 16:17:02 +02:00
tomFlowee 25e7f61c65 Add 'backup' details.
This allows the user to find her seed phrase for HD wallets.
2021-10-30 16:12:41 +02:00
tomFlowee d50b0c169c Make wallet details pane more complete. 2021-10-30 15:23:43 +02:00