Commit Graph

2265 Commits

Author SHA1 Message Date
tomFlowee 7003c43ef5 Fix regression; make copy work again 2021-11-10 10:50:16 +01:00
tomFlowee 3bf8273510 Also extract cpp files 2021-11-10 10:34:03 +01:00
tomFlowee 3613674d8d Translate NL 2021-11-10 10:34:03 +01:00
tomFlowee b6edef2c15 i18n review 2021-11-09 22:35:04 +01:00
tomFlowee 8599e83bc3 Fix filter initial position
Every time the AccountDetails is closed and reopened, the UI is re-
loaded. We now reset the backing model to show the default values and
match the checkbox widget.
2021-11-09 20:52:58 +01:00
tomFlowee ea8758c03d UX fixlets
- extend clearing of 'new' icon timeout.
- make unconfirmed transactions also 'new'
- put a timer on the datetime item of the transaction to allow
timestamps like "now" and "an hour ago" to be updated as time passes.
2021-11-09 20:49:37 +01:00
tomFlowee 23749ef22f Fix 'reset' on the BitcoinValue class. 2021-11-09 20:41:37 +01:00
tomFlowee 2c1aea71e0 New version. 2021-11-09 10:41:04 +01:00
tomFlowee 7079b2c4a4 Make HD wallets put change on change addresses. 2021-11-09 10:37:31 +01:00
tomFlowee 89dfd87a44 remove unused include 2021-11-08 20:04:37 +01:00
tomFlowee 0e97c7d188 Make UI show when a tx is rejected. 2021-11-08 19:56:05 +01:00
tomFlowee 5edfbe7ca4 Add test for rejected transactions 2021-11-08 19:36:47 +01:00
tomFlowee bf45e14f0d Avoid corrupting UTXO due to rejected tx. 2021-11-08 18:17:22 +01:00
tomFlowee f7b1fc86f2 Avoid false positives marking a wallet owned. 2021-11-08 16:49:23 +01:00
tomFlowee daa01f06f3 Add 'offline' option for debug builds 2021-11-08 15:36:30 +01:00
tomFlowee 06b02db4dc Add new unittest and code for output locking 2021-11-08 15:24:48 +01:00
tomFlowee 2b5b03a8a4 Clarify exception message. 2021-11-08 15:23:58 +01:00
tomFlowee d70eb30db4 Add API docs. 2021-11-08 15:23:29 +01:00
tomFlowee 88e49b61ba Clear struct to avoid errors. 2021-11-08 15:22:36 +01:00
tomFlowee 351283e6bf Fix typo in methodname. 2021-11-08 15:21:53 +01:00
tomFlowee 8eff0ecd27 Fix keyboard focus for tabs
Now when we change to a tab, the tab and its first focus item will
instantly get the keyboard focus assigned, even if the tab itself
was a Loader.
2021-11-04 23:16:50 +01:00
tomFlowee 81abfaa45d Adjust heuristics to come up with better transaction 2021-11-04 22:42:14 +01:00
tomFlowee 5139e8da7d Fix typo. 2021-11-04 22:26:55 +01:00
tomFlowee b6f1ad4baa Fix regression, mixing up my numbers. 2021-11-04 22:25:56 +01:00
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