Commit Graph

345 Commits

Author SHA1 Message Date
tomFlowee cd20daf854 Hide actions when not on main view.
Things like 'decrypt' require us to be on the main view, so simply not
show this as it would not have any effect.
2022-08-18 21:52:51 +02:00
tomFlowee f97798cec3 On encryption dialog complete, go to overview tab. 2022-08-18 21:47:06 +02:00
tomFlowee 99eed340b2 Move button to be part of the layout. 2022-08-18 19:48:06 +02:00
tomFlowee 62b2d9bde1 Loosen keyboard focus for the CheckBox 2022-08-18 19:12:40 +02:00
tomFlowee 37ae9e2a03 Make single-wallet setup have encryption too
Now we provide the hamburger-menu style config option specially
for a single-wallet setup (the default when we start).
This makes available the 'encrypt' option and the 'details' option.
2022-08-18 19:08:08 +02:00
tomFlowee 1d22da834c Make spacing part of total-balance 2022-08-18 18:31:40 +02:00
tomFlowee b8ca411c9f Make CheckBox highlight consistent 2022-08-18 18:21:26 +02:00
tomFlowee c9c52ef886 Update to more common derivation path
Newly created wallets and the default path for imported wallets now use
m/44'/0'/0'
2022-08-18 16:58:48 +02:00
tomFlowee b74bd2b7c1 This shows the xpub of a wallet in the details screen
Add xpub getters and property + show in details
2022-08-17 18:45:37 +02:00
tomFlowee 94140b4a35 Fix a refactor 2022-08-16 00:30:42 +02:00
tomFlowee 55599c4708 Add 'new block notification' show/mute setting
Also clean up the settings menu a little and provide a new QML widget:
CheckBoxLabel
2022-08-15 21:16:33 +02:00
tomFlowee ac9717491a Fix API naming
Rename a pure-bitcoin-cash based method naming to no longer
have the word 'price' in it since that is associated with conversion
to another money or currency.
2022-08-14 16:46:23 +02:00
tomFlowee 7f595a5ba4 Avoid lots of qml warnings in testnet4 2022-08-14 00:06:37 +02:00
tomFlowee 665347b9f8 Move balance section out of flickable. 2022-08-14 00:05:40 +02:00
tomFlowee f27667c172 Integrate historical price module
For mined transactions we now use the historical fiat price of BCH
instead of the current.

This will give us a much more stable and historically accurate view of
our transactions.

Fixes: #7
2022-08-12 23:46:18 +02:00
tomFlowee 004787cada Various fixes after user-testing session. 2022-07-21 16:09:08 +02:00
tomFlowee 1971b57264 Fix error showing up and make sure we echo bullets here 2022-07-21 11:48:03 +02:00
tomFlowee c050569672 Make decrypt entry have initial focus. 2022-07-21 11:40:33 +02:00
tomFlowee 91dbd1cb2d Add 'open' context menu on account list item
To get us to a password-entry dialog.
2022-07-21 11:38:52 +02:00
tomFlowee c1f386b311 Fix the showing of the transactions.
This finally fixes the odd case where a default wallet that is fully
encrypted did not show any transactions directly after the user typed
the password.
Turns out this is some weird cornercase in Qt/QML and removing some
code fixes this.
The downside; we now show a qml warning on startup. 🤷
2022-07-20 20:32:57 +02:00
tomFlowee 11f83f411c Update details pane for encryption support
Wallets can be opened from here now and the backup doesn't just hide but
shows a hint that a backup can only be made when the wallet is opened.
2022-07-14 20:48:05 +02:00
tomFlowee 43dff3381a To encrypt a password we now ask the pwd twice.
To make sure the user didn't mistype it.
2022-07-14 19:19:19 +02:00
tomFlowee 9fa7b96253 Make sync status show for 'pin to pay' wallets. 2022-07-11 22:08:43 +02:00
tomFlowee 684c898939 Add warning on bad pwd. 2022-07-11 19:17:05 +02:00
tomFlowee eafc29c1cb Turn techy walletEncryption into a user friendly one 2022-07-06 22:07:43 +02:00
tomFlowee 663169530d Follow rename of CKeyID -> KeyId 2022-07-06 22:06:58 +02:00
tomFlowee 1dc32c8aa3 Make AccountTypeSelector more generic.
Now named CardTypeSelector
2022-07-01 14:29:43 +02:00
tomFlowee 36e06abfd7 Make typing pwd and enter submit
On the send screen we have a popup for the password, now this tries to
unlock the wallet not just when the user hits the 'Ok' button, but also
when the user hits enter.
2022-06-29 20:06:01 +02:00
tomFlowee 2ea672fbf2 tweak color 2022-06-29 16:04:53 +02:00
tomFlowee e5e2b8bc04 Hide balance and tabs for encrypted wallet 2022-06-29 16:04:53 +02:00
tomFlowee 60dfe486fd Fix various UX issues with encrypted wallets. 2022-06-24 15:38:25 +02:00
tomFlowee 017e51c3ba Make a locked wallet behave better in the UI. 2022-06-20 22:52:57 +02:00
tomFlowee 9c0adc3d71 Refactor menu population
The menu item QML control has a big flaw, you can't hide items
for specific usecases. Visibility works, but the thing still
takes space.

It probably makes much more sense to simply not add the menu
items for cases where they make no sense, as opposed to making
them invisible.

For this purpose we switch to cheap Action objects and populate
the ConfigItem menu on opening.
2022-06-19 23:41:06 +02:00
tomFlowee d8750ca021 Add more support for encryped walles in the UI 2022-06-19 22:30:11 +02:00
tomFlowee 263418cffc Add various encryption UI parts. 2022-05-18 20:25:03 +02:00
tomFlowee 5caa359a0e Improve Dialog component
Make the width be better decided and allow custom
loaded content.
2022-05-18 20:16:19 +02:00
tomFlowee 7faba9d19d Make strings translatable. 2022-05-18 17:32:23 +02:00
tomFlowee 4bf79a7ae4 Add quick-and-dirty UI for encryption details.
Also avoid trying to save an encrypted wallet from the PaymentRequest
2022-05-18 15:48:50 +02:00
tomFlowee f5a386feca Cleanup PriceDataProvider class and API
fixed some typos and similar.
2022-04-30 15:01:45 +02:00
tomFlowee 87cb792407 Make UI show wallet an address belongs to. 2022-04-14 21:06:01 +02:00
tomFlowee f786db4627 Find address info. 2022-04-07 18:16:03 +02:00
tomFlowee 890f53ce4e Fix regression; show blockheights again. 2022-04-06 20:58:47 +02:00
tomFlowee 0b4cb86d66 Display 'new-tx' indicator on wallet listitem. 2022-04-06 20:52:07 +02:00
tomFlowee 6636b600df Show 'behind' on archived wallets.
This also moves the logic for the pretty strings out of the QML into the
CPP for better reusability.
2022-04-06 18:20:54 +02:00
tomFlowee 7069722173 Show a counter on the list of archived wallets. 2022-04-06 16:11:46 +02:00
tomFlowee 2aa3bf5ab6 Small bugfixes. 2022-04-06 14:50:05 +02:00
tomFlowee ef83bfa6d0 Pick prettier color. 2022-04-05 18:34:01 +02:00
tomFlowee 82bd43102a Make disabled tabs look disabled too.
We pick a bit darker color for the text and the hover-indicator in order
to make more clear that the tabs are not clickable.
2022-04-05 18:28:06 +02:00
tomFlowee 03875d7f7b Make archived wallets take less space. 2022-04-05 17:52:03 +02:00
tomFlowee 55a334086d Show warning for archived wallets. 2022-04-05 17:39:19 +02:00