Commit Graph

328 Commits

Author SHA1 Message Date
tomFlowee 452fbe3e44 Allow AccountSelectorWidget to be 1 line in some cases 2023-05-17 23:27:47 +02:00
tomFlowee 76ea56bb2f Cleanup 2023-05-17 23:27:08 +02:00
tomFlowee 4c96b5ee44 Make numerickeyboard have a static height for keys.
This makes the layout look more square and not so cramped.
Make sure that the layouts of the payment pages still fit at the same
time.
2023-05-17 23:26:54 +02:00
tomFlowee 9c5476d2cc Remove dead code.
Seems to have been forgotten on refactor.
2023-05-17 22:44:31 +02:00
tomFlowee 6d648dc6e7 Make new account pages follow our UX guidelines.
This redoes most of those pages to look much nicer and in-place.

This also disables the 'create' button when the derivation path is not
correctly entered.
2023-05-17 21:23:19 +02:00
tomFlowee 469045259e Use consistent background color.
This now uses the same background color as normal line edits.
2023-05-17 21:18:11 +02:00
tomFlowee edc6e5b7be Fix hiding items based on how many wallets we have. 2023-05-17 18:47:54 +02:00
tomFlowee 55dbcdced1 Add the new screen for default wallet
This new screen allows one to quickly select which wallet is the
'default'. This is a nicer design than a checkbox on each wallet.
2023-05-17 15:43:25 +02:00
tomFlowee 02ea51ac73 Supply new feature to archive a wallet.
This now brings the functionality to archive a wallet to the mobile
interface.

Archived wallets don't show up in your main view, do not synchronize
with the network and any balance they may 'contain' is ignored.
2023-05-17 14:42:42 +02:00
tomFlowee df717aa967 Set minimum size of mobile wallet.
This really only is relevent on desktop, though.
2023-05-17 14:28:24 +02:00
tomFlowee 337d441781 Replace gear icon with pen icon for this
Editing a text field is better indicated with a pencil.
2023-05-16 22:40:05 +02:00
tomFlowee 747ff27a1f Various updates and UX features
This brings the new 'privacy mode' to use the standard widgets
and make the UX more smooth.

The swiping between pages / wallets is more visually satisfying.

We update the sync label to have a live counter of how long ago
the last block came in. (both front-ends)
2023-05-16 22:05:48 +02:00
tomFlowee 033cb5962d Add feature; private wallets
A wallet can permanently be labeled a 'private wallet' which is a simple
boolean.
Then when you may need to hand over your phone to a clerk, all you do is
quickly enable the 'private mode' which is sufficiently deep in the menu
to make it hidden.

The effect is that all wallets marked private will be hidden for the
duration of that feature being on.
2023-05-16 20:17:12 +02:00
tomFlowee 1636e1e6b1 Redesign AccountList page (wallets).
The simple 'wallet-information' page is now a general wallet
configuration page.
This has commented out the future archive / encrypt parts as well.
2023-05-16 20:16:59 +02:00
tomFlowee 26df1eba92 Move EditableLabel out to its own class for reuse
On mobile we should not just show a text edit on an otherwise
labels-only screen, because the edit takes focus and opens the
on-screen keyboard. Which makes the amount of usable space
significantly less.

So make the editing user-triggered.
2023-05-16 20:16:12 +02:00
tomFlowee b218f9f0d4 Fix inconsistent capitalization of toolTipText
Follow the Qt decided usage with 2 upper case characters.
2023-05-16 20:16:12 +02:00
tomFlowee 38345aba5a Further design the InstaPay dataset
This is essentially the backend work for the instapay setup.
GUI still needs to be done.
2023-05-16 20:16:12 +02:00
tomFlowee b0ba0f3173 Fixlet where zero values didn't get shown 2023-05-15 16:17:26 +02:00
tomFlowee 89e1b94027 Tie the new config settings to the front-end. 2023-05-15 16:17:26 +02:00
tomFlowee abdaaf59c9 Add braces to make JS engine happy 2023-05-11 22:10:48 +02:00
tomFlowee 2608b2f82b Loads of UI love
Follow the introduction of the PagTitlexBox and make the layout in most
screens consistent.

Also implement the task to show a QR for the seed phrase.
2023-05-09 21:29:24 +02:00
tomFlowee d359719d4a Work out a design for boring-list-pages 2023-05-09 21:29:18 +02:00
tomFlowee 001335e895 Fix width when used in a layout manager 2023-05-09 18:49:41 +02:00
tomFlowee fe97d923c0 Until we fully implement DSPs, don't spent much time on them. 2023-05-09 18:23:40 +02:00
tomFlowee 86fc45c98b UX fixes
Make the importing page not requires a name for the wallet.
Also fix the width of the month combobox.
2023-05-08 13:37:11 +02:00
tomFlowee 14871ab90a Move the first-date widgets up
This makes sure that they show up even if the on-screen keyboard is open
2023-05-07 17:13:43 +02:00
tomFlowee 319ab0bea2 Make UX pretty.
Discovered various small isseus in a user test, this fixes them.
2023-05-06 19:39:41 +02:00
tomFlowee 0740c0b290 Fix spacing in address lists. 2023-05-06 18:32:54 +02:00
tomFlowee 371decdd37 Replace place-holders with actual images. 2023-05-06 17:58:38 +02:00
tomFlowee 31953638d1 Display 'sent-to' address
For a transaction we sent elsewhere, show which address
was the recipient of the funds.
2023-05-06 17:51:53 +02:00
tomFlowee 24ccad719b Add senders/receivers to TransactionDetails screen 2023-05-06 17:27:24 +02:00
tomFlowee fadecb369c Expand the transaction-info page.
Add a lot more userful information to the mobile transaction-info page.
2023-05-06 17:02:06 +02:00
tomFlowee faf8529f71 Show consistent minus' on prices
Both the 'price then' and 'price now' fields always show a positive
number.
2023-05-06 14:40:29 +02:00
tomFlowee b0c22c98e1 Fix regression; make green check show up again
On having a correct address we validate it and show that green check.
This follows the refactor where we moved the logic to the AddressInfo
QML class.
2023-05-06 11:34:42 +02:00
tomFlowee 1aa3503b06 Fixlets in i18n 2023-05-02 15:55:00 +02:00
tomFlowee bb4e0bc138 Always show BCH value on testnet
The feature to show only the exchange-rate based value on the
main screen doesn't make sense on anything but mainnet due to
the simple fact that thats the only one that has an exchange rate.

We hide the feature on testnet and make it always show the BCH
value on the overview screens.

Notice that the actuall setting, as written in the config file,
is shared between chains. We only have one confg file. So any
solution with default values would not work.
2023-05-02 11:14:15 +02:00
tomFlowee 527e7895ef Merge branch 'master' into PaymentRequest 2023-05-02 10:53:16 +02:00
tomFlowee 3dfb2b3d38 Port the startupscreen and desktop receive tab too
This makes the new PaymentRequest design be used by all components.
2023-05-02 10:52:37 +02:00
tomFlowee 4f93cdface Cleanup layout of receive tab 2023-05-02 10:52:37 +02:00
tomFlowee 4ba71ff870 Improve payment-request tracking
We introduce a new WalletkeyView which is a class that provides a
thread-safe view on a single private-key in the wallet. Detecting all
transactions depositing money in that key and thus being an ideal
backend for the PaymentRequest.
2023-05-02 10:52:37 +02:00
tomFlowee d0b5134527 Create a functional Payment Request screen.
We now use a better design where the PaymentRequest object is owned by
QML.
2023-05-02 10:52:37 +02:00
tomFlowee 1e73c5bee5 Step one of rebuilding the payment-requests
This mostly removes the less than successful architecture.

This architecture stems from my first attempts at mixing C++ and QML, and
its not great.
As we can see from the removals, it touches a lot of places and
especially the wallet owning them is messy, but in QML we have to do a
lot of null pointer checks, also not exactly readable.
Lets try something different.
2023-05-02 10:52:37 +02:00
tomFlowee 167c590b78 Use triple equals in JS 2023-05-01 21:51:25 +02:00
tomFlowee cd62fbcfe5 Move the info popup above the rest
We no longer show the feedback text below the address label
and additionally the tapping of the address label will also
cause the copying to be started.
2023-04-25 14:18:57 +02:00
tomFlowee 5d2671b772 Handle fast tapping on the keyboard
This solves the UX issue where tapping a certain button fast in
sequence, we only acted on every other one.
Turns out, half were registered as 'double clicks'.
2023-04-19 15:04:39 +02:00
tomFlowee 3346342784 Add 'max funds' feature to 'build transaction'
Allow the selection of all funds in a wallet to be sent to a
destination.

This also refreshes the UI layout a little.
2023-04-18 22:09:45 +02:00
tomFlowee 47b4e1ea0a Synchronize the errorRed colors
This adds a errorRedBg 'background' color for a popup with normal white
text on top of it.
2023-04-18 21:54:43 +02:00
tomFlowee d9d92847f6 Make section names stick to the top of the view. 2023-04-18 10:33:28 +02:00
tomFlowee 9a6b9686b9 UX; move most complicated to bottom. 2023-04-17 14:27:54 +02:00
tomFlowee 939a22a015 Show 'payment to self' better 2023-04-08 14:19:01 +02:00