Commit Graph

345 Commits

Author SHA1 Message Date
tomFlowee 3d722a00b5 Display "Moved" items differently.
Instead of showing the fees only, make the overview show the fees
in the comment and the amount moved in the right column
2021-11-21 13:23:31 +01:00
tomFlowee fed2479a8a Avoid duplication. 2021-11-21 11:27:26 +01:00
tomFlowee f98c9fb4af Image fixes 2021-11-21 10:59:29 +01:00
tomFlowee b69b388d9c Split translations and add proof-of-concept mobile
This alters the build setup to create two executables based on
practically the same CPP static lib but with different QML
dirs and translations.
This also adds a cmake option
    -Dlocal_qml=ON
when passed it will create an executable that will load the QML
from local disk instead of using the compiled-in version.
The main advantage of that is that there is no need to recompile
after each QML change.
2021-11-21 00:35:55 +01:00
tomFlowee 8ee147b33f Wallet details; show "change #n" instead of address 2021-11-19 11:54:07 +01:00
tomFlowee 381c475bb4 Start with coin-selector 2021-11-19 11:20:01 +01:00
tomFlowee c6ffb9bd6d Show summary text on the 'destination' groupbox 2021-11-18 17:41:05 +01:00
tomFlowee b7dc14358d [UX] fix focus on groupbox that can't collapse
The only reason we get focus on a groupbox is to allow it to take
'enter' to toggle collapsing, so when we turn this off then we
should not allow the groupbox to get focus.
2021-11-18 14:26:29 +01:00
tomFlowee 2a2954c57b Move most of the payment complexity into cpp
This moves all the checks and UI interactions into the model, making the
QML much lighter and less error-probe.

At the same time this allows us to add new UX features like when a 'max'
button is pressed it live-updates the amounts in the fiat and bch fields
as the user changes any spending in other outputs.
2021-11-18 14:25:47 +01:00
tomFlowee 4bac1d7e10 Allow adding/deletion of payment details 2021-11-17 14:24:19 +01:00
tomFlowee 4b9901b64d Merge branch 'master' into SendPanel 2021-11-16 19:15:08 +01:00
tomFlowee 3ca6b667f8 Make the SendTransactionPane mostly functional again.
This is against the new Payment object design.
2021-11-16 19:14:45 +01:00
tomFlowee 157031c535 Work around weird QML behavior 2021-11-16 19:13:54 +01:00
tomFlowee 8d8acf75e5 Fix comment position
When opening the details the comment should not move.
2021-11-16 15:19:25 +01:00
tomFlowee e6ec3e3a33 Show "Moved" when a tx doesn't change the balance 2021-11-16 15:11:47 +01:00
tomFlowee ee50b65e66 Detect CashFusion transactions 2021-11-16 15:08:22 +01:00
tomFlowee 535240dc40 Fix not showing 'unconfirmed 2021-11-10 23:13:31 +01:00
tomFlowee b36fc3f754 Import crowdin translations. 2021-11-10 13:05:39 +01:00
tomFlowee 4fbdf6ab4a Fixes in alignment and spacing. 2021-11-10 13:05:07 +01:00
tomFlowee 4c34da63b0 Fix spacing issues. 2021-11-10 12:36:12 +01:00
tomFlowee 37dbee130a Follow translations with UI changes 2021-11-10 11:50:03 +01:00
tomFlowee b51d830df0 Don't show scrollbar when there isn't enough content 2021-11-10 11:08:05 +01:00
tomFlowee d7c2a42daf Peer review of GUI texts. 2021-11-10 11:07:00 +01:00
tomFlowee 7003c43ef5 Fix regression; make copy work again 2021-11-10 10:50:16 +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 0e97c7d188 Make UI show when a tx is rejected. 2021-11-08 19:56:05 +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 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 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 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