Commit Graph

681 Commits

Author SHA1 Message Date
tomFlowee c97890401e Show seed-phrase-password in backup details pages. 2024-10-28 14:47:34 +01:00
tomFlowee 65eb981d83 Revise import wallet pages
The vast vast majority of wallets imported will not have a password. So
we de-prioritize that and make the user aware of the password field
should they check the contents without one.

This moves the 'wallet name' again to the top for all types as the most
observed mistake is that people type a wallet-name in the password field
and then are confused why there is nothing there. (and additionally
annoyed that the name of the wallet is auto-generated).

Other fixes includes spacing and alignment.
Keyboard focus on desktop.
2024-10-28 13:41:24 +01:00
tomFlowee 7e60f1fdea Refactor Intent: disconnect from app lifetime
The idea of using Flowee Pay to open a payment screen, or a sweep
screen, was so far married to the executable lifetime due to it being
passed as a command line argument.
This does not reflect reality, on neither desktop nor on mobile as
multi-tasking is possible and we should allow that.

As a result the new object "Intent" has been introduced with the
usecase specific properties. Setting those properties at any time
during the lifetime of the app now pushes the correct page to the
stack on mobile. Desktop is in need of more love in this department.
2024-10-27 21:54:48 +01:00
tomFlowee 8e79d9ef9b Make startup screen show the 'cash stamp' button always.
Even if the related module is not enabled.
2024-10-27 21:54:48 +01:00
tomFlowee 0fc17ea5f8 Add bch-wif scheme support for mobile
This allows a user to click on a link in a browser with the bch-wif
scheme and we'll handle that with a sweep page on startup.

To avoid this being just-another-special case we introduce a new
module (read: plugin) concept that is a Start-screen type.
The idea is that we can have a generic handling of this type in
various parts of the app without it being specifically about the
wif handling.

Notice that it doesn't matter if the user has the module enabled,
which just operates the display of the menu option to start it manually.
2024-10-27 21:54:48 +01:00
tomFlowee afa23dba9b Also move control of 'enabled' to the module dev.
The virtua method allows full freedom for module devs to interpret the
user enabling or disabling the module and any of it child sections.
2024-10-27 21:54:48 +01:00
tomFlowee 2ce52044b1 [UX] Add filter-overlay with filtred-count 2024-10-23 19:00:18 +02:00
tomFlowee 745e78e0c6 UX: add a nice background behind the section 2024-10-23 13:19:11 +02:00
tomFlowee ad8287da1e Add filterpopup.qml
also sort the list alphabetically
2024-10-23 12:57:53 +02:00
tomFlowee e6011e5b01 Invert filter meaning for nicer UX 2024-10-23 12:50:31 +02:00
tomFlowee 5e9b2770aa Add red-flash on incorrect password 2024-10-23 11:45:57 +02:00
tomFlowee 0d6bfb35db Add icon for the filter action 2024-10-23 00:05:02 +02:00
tomFlowee ca63943def Refactor, move button to open. 2024-10-23 00:05:02 +02:00
tomFlowee 871e5b1abd Make the filter-popup UX nice.
This also makes us hide the cf check on a wallet that doesn't have any.
This also adds a checkbox to filter on transactions without comment
2024-10-23 00:05:02 +02:00
tomFlowee ffb85bb403 Add ability to filter history
On the mobile client this allows the user to check per wallet which kind
of transactions to show or hide.
We allow selection of send/receive/both.
We allow the hiding of cash-fusion transactions.
2024-10-23 00:05:02 +02:00
tomFlowee 148cbadcd5 UX: make 'paste' button always be there
To amke it more clear that the QR scanning screen also always allows
clipboard input, make the paste button always be there and just make
it have a constrasting background when the clipboard content is
acceptable.

We also add a 'shake' feedback when the paste doesn't work, and naturall
the paste button is available for clicking even if it doesn't look
'enabled' which will then just result in a shake and 'failed' feedback.
2024-10-23 00:05:02 +02:00
tomFlowee d8e082fed1 Simplify: don't import local dir 2024-10-19 23:36:09 +02:00
tomFlowee 9f69241bbb API level rename of 'send' to 'action'
As we get more modules it turns out that the 'send' tab as originally
envisioned isn't really representative of how we're evolving.
Various items end up being about doing 'stuff' in general. Including
creating a transaction to receive. Only in a very loose way can we
say those are 'send' items.

So, without actually any user-visible changes, this renames the
enum in the module manager and module-section to make it about the
more accurate "action menu".
2024-10-19 23:09:20 +02:00
tomFlowee 1b5e2e4bf5 UX: only show 'sent to' for outgoing transactions. 2024-10-19 22:59:55 +02:00
tomFlowee 2e14659371 Move to the first tab on finishing import. 2024-10-18 15:54:23 +02:00
tomFlowee c2e838d1ef Remove GUI debug logging. 2024-10-18 15:54:23 +02:00
tomFlowee 48566f1fa6 Fix documentation of property 2024-10-14 20:09:43 +02:00
tomFlowee 5a729b4da2 Ensure that the feedback instantly opens
This way we don't depend on the backend, but the actual user interaction
is the one that starts the process.
2024-10-14 20:09:43 +02:00
tomFlowee 40e94b8255 Consistency in wording
Now both the 'new account' tabs have the same style of grammar
2024-10-14 13:28:25 +02:00
tomFlowee 1ab012e5d7 Fix grammar. 2024-10-14 13:28:25 +02:00
tomFlowee ba5d6630ab Add 'paste' right mouse action. 2024-10-14 13:28:25 +02:00
tomFlowee 32d1e22c77 Improve text
Remove the atrocious text and replace it with the text we had on Desktop
which is much simpler.
2024-10-14 13:28:25 +02:00
tomFlowee 8872a16559 Remove debug data from GUI. 2024-10-14 12:08:43 +02:00
tomFlowee ebf0f38b1f Add wallet delete / reindex features
This adds the backend code and the buttons that allow deletion of a
wallet.
Formerly you could archive a wallet and thus remove it from view,
at popular request an archived wallet now gets a button in the
wallets overview to delete the actual wallet completely.
This indeed also removes the files from disk, making it unrecoverable.

Additionally, an actually more complex feature, this allows an existing
wallet to have its history removed and start a re-scan to re-download
all transactions and build the balance.
This is useful for debugging or for recovering from buggy code we
probably had in older versions. (nobody is perfect all the time)
2024-10-11 22:12:26 +02:00
tomFlowee e618220153 Allow a label to have a 'disabled' color 2024-10-11 19:27:59 +02:00
tomFlowee c805dee6e3 UX: show camera screen instantly
When you open the payment screen now the black camera screen is
instantly shown and the camera as soon as possible.
This avoids confusing UI states.
2024-10-10 13:28:15 +02:00
tomFlowee 9c148598e0 Add button on startup screen. 2024-10-08 22:30:24 +02:00
tomFlowee e96a401bc2 Cleanup and polish the send/sweep module 2024-10-08 21:17:09 +02:00
tomFlowee 392215f31a ensure 'rejected' transactions don't have a time shown. 2024-10-08 13:57:30 +02:00
tomFlowee 1a5e2c5d5a UX tweaks. 2024-10-06 14:05:54 +02:00
tomFlowee d7be2d27d6 Add sendsweep properties
This exposes some of the backend data to be shown in the UI.
Also Make 'paste' available for WIFs.
2024-10-06 11:09:34 +02:00
tomFlowee 6bc6063bf0 Visual fix. Make it white. 2024-10-06 00:15:18 +02:00
tomFlowee 0ecb7521ad Make AccountSelectorWidget reusable without a Payment 2024-10-05 21:30:39 +02:00
tomFlowee df9f294ee9 Add camera help text to SendSweep page. 2024-10-05 21:13:14 +02:00
tomFlowee 8ce6b744ae Make the broadcast of a tx more generic
The tx-broadcast was tied completely to a 'payment' object, this is now
more made into individual parts that can be reused outside of the
'payment' usecase.
2024-10-05 20:34:39 +02:00
tomFlowee f1f97f5347 Add op-return creation UI for desktop 2024-10-01 17:55:05 +02:00
tomFlowee 410763fc6f minor; consistent naming. 2024-09-25 16:02:24 +02:00
tomFlowee 0ed828c6e3 Simplify 2024-09-07 19:50:30 +02:00
tomFlowee 238a5d3f40 Add indicator for price data being old.
When we start up we use the last known price information and also fetch
new data.
When the user shows the price details popup before the fetch has
completed, they may be mislead into thinking that they are looking at
current data while they are not.
So this shows a bouncy while we are fetching.
2024-07-05 12:40:16 +02:00
tomFlowee d89597d89a Remove unneeded bottom padding.
This is no longer needed after a typo fix in the popup ovelay class.
2024-07-03 23:06:45 +02:00
tomFlowee 58de1827e0 Improve display of tx-details
The popup showing details of a certain list-item had the down-side that
the list item we selected was made darker with the rest of the screen,
making it harder to understand the whole info.
This change repeats the clicked item inside the popup in a way that
makes it immediately clear which transaction we are showing details of.
2024-07-03 23:06:15 +02:00
tomFlowee e671d41a10 Skip fees when unknown
We can't calculate fees when we don't know all inputs. In that case we
simply return negative fees, which the UI then does not show.
2024-07-03 18:03:17 +02:00
tomFlowee 1960bb6260 Improve the import screens a little.
This applies the knowledge learned from mobile to desktop too.
Also set the initially selected import year to 2023 and avoid
long imports for most people.
2024-06-30 23:26:25 +02:00
tomFlowee f31fcbac4d hide options irrelevant for a single-wallet user.
These two features are only relevant when there are multiple wallets
in the users app, so if that isn't the case we simply hide them.
2024-06-30 22:59:17 +02:00
tomFlowee 0c315370dd Fixes in CoinSelector
This (desktop only) component now works properly with:

- Showing the CF-logo for approriate coins.
- Clicking on a locked coin no longer selects it.
2024-06-30 22:50:16 +02:00