Commit Graph

361 Commits

Author SHA1 Message Date
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
tomFlowee b6b8bb407a Add a plus icon in front of the 'add wallet' button. 2022-12-15 11:59:07 +01:00
tomFlowee c6df261335 State time in the recent transactions. 2022-12-15 10:50:29 +01:00
tomFlowee 12c514e024 Avoid confusion, use palette.windowText
The 'text' and 'windowText' were both used like they were the same
thing, which they currently are but don't have to be.

Now migrate the various cases where to we use 'text' to 'windowText'.
This choice is made because the Label object uses windowText by default.

In future we might want to make the 'text' one have a slightly different
color. Its still used in Qt components like the popup menu.
2022-12-14 14:41:55 +01:00
tomFlowee 6eb3df5248 Close accounts section on menu close. 2022-12-14 14:38:33 +01:00
tomFlowee a0c4f9be7a Much improvement with the camera section.
This adds a prettty cutout screen and better feedback on the camera view
popping up.
We also make visible the scan overlay instantly, hiding out any other UI
that is hidden beneath it.

We correctly handle various odd issues with Qt / Android.

- the permissions request (QFuture) returned in a different thread, we
now move back to the main thread before doing any calls on the
multimedia objects.

- The popping up of the android permissions requestor actually makes the
app think its being made inactive. Now we no longer cancel the QR scan
request in such cases.
2022-12-14 14:21:56 +01:00
tomFlowee 4f35c21a4f Cleanup
The shapes code moved out of this file, remove the import.
2022-12-14 14:18:07 +01:00
tomFlowee bacbfb2849 Be more lenient with hiding of the progress indicator
When there has not been a block for some time we might be up to date
already.

Also remove unused variable.
2022-12-13 20:53:58 +01:00
tomFlowee dbccb36077 cleanup the desktop file a bit 2022-12-13 16:36:59 +01:00
tomFlowee c391b89611 Revert debug 2022-12-10 23:37:25 +01:00
tomFlowee 21bc7343ce Swap order to fix screen layout
Moving the text line up would allow the virtual keyboard to have more
space and likely that the top-level button to get out of the screen
stays visible.

I.e. users don't have to manually hide the keyboard to continue.
2022-12-08 15:27:59 +01:00
tomFlowee 94c74de75e Hide wallet name when its the default never used one. 2022-12-08 15:27:59 +01:00
tomFlowee 5fba582bbe Make SmallAccountSelector reuable. 2022-12-08 15:27:59 +01:00
tomFlowee 3c30934963 Provide silly icons and do the receive screen.
The 3 icons at the top of the account screen now have 2 with actual
icons. They don't look very good, but at least its better than no
icons.

Also I stole most of the receive screen from desktop and ported it here.
Quick and dirty as that screen has been long overdue for a refresh.
2022-12-08 15:27:59 +01:00
tomFlowee 3295910e94 Remove not existing feature from menu. 2022-12-08 15:27:59 +01:00
tomFlowee 73a44e31c5 Add new icons
For the send and receive tabs.

Half an hour with Inkscape, I'm a little proud of these two icons.
Created them myself.
2022-12-08 15:27:59 +01:00
tomFlowee 91ae779f91 Reuse BroadcastFeedback on Mobile
This moves the broadcastfeedback part of the desktop to its own (now
shared) widget, and with minor changes reuses it on the mobile side.
2022-12-08 15:27:59 +01:00
tomFlowee 41d332b697 Make camera screen acceptable and abortable
The camera scanning screen now isn't looking like a total disaster
anymore and I even put a close button on it to allow closing it without
a scan.
2022-12-08 15:27:59 +01:00
tomFlowee 406327becb Finish up basic payment page
Next up; broadcast and feedback.
2022-12-08 15:27:59 +01:00
tomFlowee b89276a688 Fix language name 2022-12-07 21:30:05 +01:00
tomFlowee a8c7a6c3ae Minor bugfixes
Actually hide the cursor when we are no longer editing.
2022-12-07 11:22:27 +01:00