Commit Graph

681 Commits

Author SHA1 Message Date
tomFlowee 939deb21cf Layout improvements. 2023-02-08 14:08:10 +01:00
tomFlowee 2aefc20023 Use === instead of ==, following linter suggestion. 2023-02-08 10:05:39 +01:00
tomFlowee 0f4a5d80cf Its 2023 now
Whee!
2023-02-08 09:28:48 +01:00
tomFlowee 0273982ea0 Add corrency selector in the pay screen. 2023-02-07 21:00:44 +01:00
tomFlowee 6c95cd3c09 Make currency changes persist between restarts. 2023-02-07 17:51:29 +01:00
tomFlowee 4b10ba1d20 [UX] make sizing buttons bigger to easier hit them. 2023-02-07 12:14:04 +01:00
tomFlowee 55dc1a61a5 Another case where Column beats ColumnLayout
While the latter is supposed to be next-gen, its also quite limited.
In this case the first (header) row-height was duplicated to all rows in
the column, causing the sizing to be quite bad.

Seems that the Column is needed when you have non-equal height rows.
2023-02-07 11:44:31 +01:00
tomFlowee eced0ffa15 Next iteration of the PayWithQR page
this solves a bunch of UX problems, but we need to re-add some features
in popups. Which is for tomorrow.
2023-02-06 21:59:55 +01:00
tomFlowee 7e04e5c26c Remove no longer needed hack.
Since we moved the editing to no longer need this, the width hack is no
longer needed.
2023-02-06 21:59:55 +01:00
tomFlowee a224ceb7bc Remove flickable
This does not conceptually seem to work as intended, maybe try something
else later..
2023-02-06 21:59:55 +01:00
tomFlowee b5877442b0 Fix sizing and positioning issues.
Using a layout as a top level reusable widget may to give weird results
on usage if the user doesn't realize its a layout, so wrap it in an
item.
2023-02-06 21:59:55 +01:00
tomFlowee 7f2deb9399 Make AccountSelector its own widget. 2023-02-06 21:59:55 +01:00
tomFlowee 996e5644a5 Share code, split out HamburgerMenu.qml 2023-02-06 21:59:55 +01:00
tomFlowee 1a23c29f01 Iterate on the UX for the small tx info screen.
Show more things we think actual users want to see.
2023-02-03 19:59:45 +01:00
tomFlowee 8ae25cbf64 Refactor Fiat and historical.
Move the historical fiat prices to share the API with the current ones
and avoid complicating the code in the GUI layer (one less object).
2023-02-03 19:59:02 +01:00
tomFlowee 42a4449ede Move the popup component to its own file. 2023-02-02 13:28:18 +01:00
tomFlowee 7d9be8026b Update 'behind' text to make progress clearer.
We now update per day instead of per week. Nice for old imports.
2023-01-30 19:11:23 +01:00
tomFlowee 9338013398 [UX] don't use 'unconfirmed' in the UI
Instead use 'seen' for incoming and 'sending' for outgoing transactions.
2023-01-30 18:52:01 +01:00
tomFlowee 46531d06cb UX fix: show account sync widget on importing wallet
Seems like the Column is better for usage in a listview header as it
actually honors the height change.
2023-01-30 17:58:11 +01:00
tomFlowee d4413dad05 Enable freezing of the listview model on showing popup 2023-01-18 19:20:57 +01:00
tomFlowee 07908f2aae [Mobile] Make 'to top' button appear earlier.
The button to move the view to the top of the list is hidden when we are
at the top of the list. This new version makes the appearing if the
button happen based on the amount of rows we scrolled down, making it
appear faster and be more predicatable.
2023-01-18 19:18:45 +01:00
tomFlowee f1ff7f5e82 Minor fixes.
Keep it more local.
2023-01-18 19:03:26 +01:00
tomFlowee 8e7a135cc8 Add comment 2023-01-05 22:21:40 +01:00
tomFlowee 8809a7ac19 Use locale specific date formatting 2023-01-05 22:21:24 +01:00
tomFlowee 8d29aefbba Make this work.
Seems I forgot the derivation path entry field,
for a quick release just hardcode it.
2022-12-21 17:45:51 +01:00
tomFlowee 08189f9c7d Remove debug output 2022-12-21 17:45:40 +01:00
tomFlowee a0cc58ecb1 Make slide less long. 2022-12-21 14:10:13 +01:00
tomFlowee fb3d83f8f3 Make sure we print full date time on transaction popup
To make space we move the tx-size to the transaction details page.
2022-12-21 13:41:51 +01:00
tomFlowee a8695db759 Fix focus after QR scan. 2022-12-21 13:15:33 +01:00
tomFlowee 5cb29d39ef Print proper fiat prices for unconfirmed transactions. 2022-12-21 12:28:58 +01:00
tomFlowee e3a9c6a84e Add support for 'max price'
This changes the payment screen to also have a 'max' button. Indecating
we'll want to sent all available funds in the payment.
2022-12-20 15:20:16 +01:00
tomFlowee 95458646c6 Start Transaction Details page 2022-12-19 22:06:35 +01:00
tomFlowee 158b51936e Minor UX fixlets. 2022-12-19 16:20:40 +01:00
tomFlowee 7917c8c70e Show not verified peers less clearly 2022-12-19 16:14:12 +01:00
tomFlowee 906f90e5c2 Re-use secrets view in mobile 'backup' screen.
This moves the desktop account-details specific WalletSecretsView
component to live in the common area and we then use it from the backup
view for a wallet in mobile.

The only change is that we automatically detect if the content is too
wide to fit and we split it over 3 lines instead of 2.
2022-12-19 16:06:19 +01:00
tomFlowee 40c3222f4a Rename property and minor UX cleanups
Rename AccountInfo property 'isDefautWallet' to 'isPrimaryAccount'.
2022-12-19 14:06:27 +01:00
tomFlowee a322ad5be4 Move CheckBox to extend the control template
Interaction for a checkbox has basically been done already in the QQC2
template, so avoid duplicating work and just inherit from it.

This fixes a UX issue when sometimes a checkbox loses its binding on
click.
2022-12-19 13:34:18 +01:00
tomFlowee 6dcc4496ef Make the progressbar go away on reaching full sync 2022-12-19 11:57:04 +01:00
tomFlowee dd03750b15 Fixes in wallet selection
Make the currently active wallet be the one we show initially.
Also include the empty / initial wallet in the view if its the only one there is
2022-12-16 20:19:23 +01:00
tomFlowee 3542fcb284 Make page label use full space when button is invisible 2022-12-16 19:59:31 +01:00
tomFlowee 80200fa28c Start new mobile page 'wallet information'.
This shows all wallets and wallet details.

Additionally, this moves the AccountTypeLabel out of the desktop page to
be reusable. Not so much because its hard, but because they have
translations and we'd better push shared translations into the common
translation unit as opposed to duplicating it.

The LabelWithClipboard now has as default context-menu-item text "Copy"
instead of "Copy Address".
2022-12-16 19:57:43 +01:00
tomFlowee 5fef6d9864 Add license. 2022-12-16 19:54:32 +01:00
tomFlowee 993f5b1d3e Put the menu options in a flickable. 2022-12-16 11:41:26 +01:00
tomFlowee eadc87e64c Improve account selector in menu
Working with the UX guy we massively improved the account selector.

Instead of trying to shoe-horn the 'add account' under a non-existing
account we realized it fits better on its own. Even the moving of it
after adding one will not cause too big a problem due to the
different look afterwards.

The actual opened menu will also behave better if you have more than
one account in this new design and more predictable.
2022-12-15 22:35:05 +01:00
tomFlowee e1e7e8f14e Move account selector to the titlebar. 2022-12-15 15:03:43 +01:00
tomFlowee 331da1fa57 Make scanner abort on pressing the Esc or Back keys. 2022-12-15 14:57:41 +01:00
tomFlowee c12f8cea64 Cleanup QRScanner QML component design
Avoid the ugly 'Component.onCompleted' and instead make this is a
property 'autostart'.
2022-12-15 14:54:13 +01:00
tomFlowee bdbbdd1726 Remove priceFor overload
The downside of this method is that changes in price don't cause the
result to be re-calculated.
Its not very declarative, in other words.
2022-12-15 14:37:58 +01:00
tomFlowee ebae4b6bcd Add gui-font-scaling config option.
Allow the user to change the font sizing of the GUI.
2022-12-15 12:37:21 +01:00
tomFlowee 0386ae0154 Export baseline. 2022-12-15 12:00:01 +01:00