Commit Graph

1388 Commits

Author SHA1 Message Date
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 5f05636dd3 Start a WalletConfig class
This is meant to have a collection of user settings for each individual
wallet. Things like if the wallet balance should be shown in the
totalBalance.
2023-05-15 16:17:26 +02:00
tomFlowee 97a160f603 cleanup header file.
remove class declaration that is no longer needed.
2023-05-15 13:34:26 +02:00
tomFlowee 4ba37bed7c API docs. 2023-05-15 12:59:54 +02:00
tomFlowee 3dd39e2f64 Add API docs. 2023-05-15 12:46:02 +02:00
tomFlowee a209bc64d2 Make the saving of the wallet-list instantly on encrypt
Call the saving of the wallet-list directly after we encrypted a wallet,
avoiding any delay in saving.

Fixes: #17
2023-05-11 22:19:48 +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.1
2023-05-08 13:37:11 +02:00
tomFlowee 5125ecc222 Upgrade tests for 'earlier-this-month' model.
This fixes some cornercases and makes the test
a) properly data-driven (don't use 'today').
b) much more extensive.

This also removes some duplicate code and fixes some bugs in the actual
model it tests.
2023-05-08 10:29:15 +02:00
tomFlowee 7a5eced658 New version 2023-05-07 17:55:07 +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 a779bb5f45 Be much more persistent parsing a mnemonic
We now handle correctly user input that we can expect when they manually
enter the mnemonic via an on-screen keyboard.
This includes spacing, line feeds and uppercasing of the first word.
2023-05-07 17:12:07 +02:00
tomFlowee b0d06d6f71 import translations from crowdin 2023-05-07 13:59:22 +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 463077e569 Mark tag as deprecated. 2023-05-06 16:59:41 +02:00
tomFlowee 24dcdefd8b Remove obsolete version check
This added support for an older version of Qt, but we moved to require
an even newer one. Making the check irrelevant.
2023-05-06 16:12:14 +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 5c25710bbe Avoid work.
Don't load the currency files I'm not actually processing.
2023-05-06 14:32:49 +02:00
tomFlowee 5be3a6e1f1 Remove dead code. 2023-05-06 12:45:52 +02:00
tomFlowee 88440a6eff Various fixes in PriceDataHistory
Fixes: #16

* Don't store the initial dummy value '100,-' in the history.
* Don't store the 404 server reply as a price file.
* On switching of currency, instantly try downloading the
historical prices instead of waiting for the next restart.
2023-05-06 12:45:33 +02:00
tomFlowee d12618f6bc Fix days math
This avoids math problems when the two dates are in a different month.
2023-05-06 11:54:03 +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 a6774ef8fc New Andoid release version 2023-05-04 20:09:43 +02:00
tomFlowee 2e4860f1c1 Fix unit test sometimes failing
As the code is by nature probabilistic, the unit test needed to be a
little more flexible in handling different outcomes.
2023.05.0
2023-05-02 20:07:39 +02:00
tomFlowee 4bebaa27eb Fix use after free.
The 'erase' actually deletes the wtx, so we should not reference the
txid from it after we call erase.

Found with valgrind.
2023-05-02 20:06:46 +02:00
tomFlowee 8534f6368f New version 2023-05-02 16:07:22 +02:00
tomFlowee 28c11cf067 Import translation updates from crowdin 2023-05-02 15:58:03 +02:00
tomFlowee 1aa3503b06 Fixlets in i18n 2023-05-02 15:55:00 +02:00
tomFlowee 2975b5e5d7 Make 'importing' not be for any new wallet. 2023-05-02 12:21:23 +02:00
tomFlowee 1929e99a4a Fix behavior on initial sync
After the sync is ended is now actually shows the QR.
2023-05-02 12:18:40 +02:00