Commit Graph

105 Commits

Author SHA1 Message Date
tomFlowee 392215f31a ensure 'rejected' transactions don't have a time shown. 2024-10-08 13:57:30 +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 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
tomFlowee b073a6ab64 Fix regression, handle the checkbox in all cases. 2024-06-29 12:15:30 +02:00
tomFlowee 47f991a36e Make the DownloadChecker.qml actually functional.
The ImportWalletPage now loads the QML provided by the module,
exposed via the metadata of modules.
The module gets just a blockheight property and then will do
"its thing".
This will either instantly close when there is nothing to do
and continue instantly to the actual import.

Or the module will check the server, initiate download and when
all is setup and done THEN close the popup and continue with
the actual import.
2024-06-23 19:37:58 +02:00
tomFlowee fcabe49d9b Fix colors and font-size 2024-05-28 23:39:08 +02:00
tomFlowee 3969cdcdcb Make the selection work again.
This fixes the regression on usage of the CardTypeSelector which changed
last release.
2024-05-28 23:31:23 +02:00
tomFlowee 3bcbf58b1d Fix color theme settings on Wayland
Seems that the problem we saw on Android is also present on
Linux and Wayland.
A lot of components no longer use the palette which makes it
not possible to use them as-is with our light/dark theme feature.

This changes the many components to the Flowee specific ones
where we already solved this for the Android UI.
2024-05-28 23:31:23 +02:00
tomFlowee 164256f696 Fix misuse of signal
Avoid warnings on changing theme.
2024-05-28 23:31:23 +02:00
tomFlowee 9efafda55d Reuse the QRScanner widget on desktop.
"Desktop" in most people's cases means laptop, of which many have
a camera. So why not allow the camera to be used to scan things?
2024-05-07 15:45:07 +02:00
tomFlowee b0ca7d8f8d Re-do the 'import wallet' screen (desktop)
This follows the re-designed the 'import wallet' to
now have the same design and featureset from mobile also on
desktop.

The 'new-wallet' pages in general have also been changed as to
avoid wasting most of the space on the advertisment style
content and aim to have a vertical design so we avoid forcing
people having to scroll.
2024-05-05 20:53:19 +02:00
tomFlowee cccdce7ba9 Make 'BigButton' a common widget 2024-05-03 22:40:09 +02:00
tomFlowee 8f26c086a5 Fix UX bug where clickable areas overlapped.
This makes more clear what happens when you click on the extend of the
zoom/scale row.
2024-04-23 09:59:15 +02:00
tomFlowee bde68cc7bc Reach balance; add CT icon
For inputs we added fusion icons, for outputs we now have
CashToken icons that show up when applicable.
2024-03-07 10:49:53 +01:00
tomFlowee 53ac4a2592 [desktop] Disable showing of clipboard icons until hover 2024-03-07 10:49:53 +01:00
tomFlowee 032f20d2dd On Desktop, show tooltip with exact mined date.
If the timestamp is something vague like "half an hour ago" then the
tooltip will show the to-the-minute correct timestamp.
2024-03-05 22:07:09 +01:00
tomFlowee f119fd788c Make the amount be according to user settings again
Must have left it commented out after the refactor, this brings back the
existing functionality to follow the user setting and only show fiat
price.
2024-02-28 12:10:09 +01:00
tomFlowee 2ebe29772d Fix width indicator. 2024-02-28 12:05:24 +01:00
tomFlowee a2560d98a7 Separate 'singleAccount' concept between UIs
The isSingleAccount property controls if the UI is simple or more
complex.
The single account setup doesn't show you that you have any concept on
differnt accounts at all. No account chooser etc.

On Desktop, however, we choose to always show the archived wallets
anyway. Even though its not in-your-face. Which makes the behavior
between those UIs slightly different.
The addition of the limitedArchiveView property is meant to
facilitate that.
2024-02-14 00:02:53 +01:00
tomFlowee 1ec24150c1 Add icons and colors to the placeholder buttons. 2024-02-12 23:01:14 +01:00
tomFlowee b8d650b9b3 Add UI scaling to desktop 2024-02-12 23:01:14 +01:00
tomFlowee 8c0210b0fe Add content to desktop TransactionDetails screen. 2024-02-12 23:01:14 +01:00
tomFlowee bc7891757d Make the TransactionInfo on desktop better
This follows the general idea and design from mobile,
but adapted for the desktop form-factor.
2024-02-12 23:01:10 +01:00
tomFlowee 523499cf7d Fix the 'archive' button not showing up.
We now fix archive being there when it makes sense, and
also fix the focus being lost after toggling the archivi-ness of a
wallet. Which means that hitting 'Ctrl-Q' will correctly close the app
after.
2024-02-10 21:56:59 +01:00
tomFlowee a6af4c8771 Remap 'tried' to a more logical backing value.
This changes 'tried' being about the amount of peers we actually
handshaked with to the amount of peers we tried to connect to at all.
2024-02-10 21:56:59 +01:00
tomFlowee 2391de723f Make Blur an optional component
As we still support older versions of Qt, this moves to load
the MultiEffect (blurring specifically) dynamically and avoids
the entire project failing if the effects module is not found.

The effects module was introduced in Qt6.5
2024-02-10 00:28:00 +01:00
tomFlowee 1455d90b30 Add ban / disconnect UI elements on NetView 2024-01-26 14:26:40 +01:00
tomFlowee 519b6d7532 Add button to pardon the banned.
This allows a user to re-connect to formerly banned peers.
2024-01-26 13:45:51 +01:00
tomFlowee efc4e7c7d4 Make peers show up faster in netView
A peer that has not yet handshaked is now show in this view, giving a
better indication of what is going on on platforms that do not have easy
access to a log file.
2024-01-26 12:12:45 +01:00
tomFlowee 2414c3457f Update the blocktime faster on active sync. 2024-01-25 19:47:55 +01:00
tomFlowee 4fbfb51f6b Make unconfirmed transactions show properly
After we changed the TX to always have a date at creation, the desktop
GUI code's assumptions were undermined and it would be able to show
weird stuff.
This fixes it properly and shows the right data.
2024-01-22 17:49:25 +01:00
tomFlowee 50c1442782 Use actually unique ID for selecting new wallet
When the user creates a new wallet, use the unique ID of a wallet
to find it and use it afterwards.
2024-01-16 17:32:56 +01:00
tomFlowee 88dd71b9ab Add 'copy address' menu option in the coin-selector. 2024-01-15 20:17:10 +01:00
tomFlowee 6161a43dac Add a statistics page to the Netview 2024-01-06 23:10:50 +01:00
tomFlowee e7d3edd416 Re-introduce the blur for balance
After the Qt6 port we lost that, but now this is again supported
with a standard QML component.
2024-01-06 22:11:00 +01:00
tomFlowee 0b7587b51b Refactor the NetView (peers dialog)
This is likely the oldest component in the app and it was
really in need of a rewrite.
The state of peers is shown much clearer now, we use a proper
model in order to avoid the jumping and we use a more safe
way of getting at the data.
2024-01-04 23:20:28 +01:00
tomFlowee b0a0528b93 Reviewed the checkbox 2024-01-04 22:12:08 +01:00
tomFlowee 3115f1527d Make indents more readable 2024-01-04 22:12:08 +01:00
tomFlowee 25909437fd Clarify the terminology 2023-11-06 12:40:11 +01:00
tomFlowee a7fd8a4d86 UX: hide help text when not appropriate. 2023-10-31 15:25:31 +01:00
Calin Culianu 95ff48c314 Implement reviewer suggestion plus fixes
In addition:

- Made it work with latest commit to Flowee/thehub/#5.
- Works better now when decrypting the wallet (accountInfo.isElectrum property
  should not be CONSTANT but instead notify on change)
- Made the actual wallet seed phrase type get saved to the wallet rather
  than a bool. This type comes from enum HDMasterKey::MnemonicType in
  thehub libs.
2023-10-19 18:26:50 +03:00
Calin Culianu d2550aee3f Add support for importing wallets using Electrum mnemonic phrases
This is the format used by (older) Electron Cash wallets. It may be
useful to users wishing to use their older EC wallets with Flowee Pay.

Highlight of changes:

- Import wallet UI now auto-detects whether it's Electrum or BIP39. Note
  that in some cases a valid BIP39 seed is also a valid Electrum seed.
  The user has a UI element checkbox for "forcing" Electrum
  interpretation in such cases.
- Electrum seed phrases always use derivation path "m/" so this is
  forced on the user as the only path available in the Electrum case.
- Wallet file format has a new tag to indicate whether the seed phrase
  is electrum or not. Only present in the electrum case, otherwise it's
  omitted from the serialized data.
2023-10-19 18:26:50 +03:00
tomFlowee 66def83e3b Fix swapped text. 2023-10-18 21:28:40 +02:00
tomFlowee 02bf2ab1df Translations update 2023-09-06 16:21:09 +02:00
tomFlowee 02288299fc Improve BIP activation on startup
For desktop we now properly support starting a payment when
the user clicks on a bitcoincash link in a browser.

For Android the activation logic _should_ work, except that the
Android specific way has yet to be tied to our app.
2023-09-05 20:45:32 +02:00