Commit Graph

588 Commits

Author SHA1 Message Date
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
tomFlowee 8776e5763a Make 'back' button do what we'd expect. 2024-06-29 12:15:30 +02:00
tomFlowee b073a6ab64 Fix regression, handle the checkbox in all cases. 2024-06-29 12:15:30 +02:00
tomFlowee bfa373dc99 Update basic description of the Blocks module
This also adds an icon.
2024-06-26 23:39:30 +02:00
tomFlowee e2d1251fc3 Move the UI to allow imports only from 2011 2024-06-26 17:55:53 +02:00
tomFlowee 7ba275fd53 On resolve start-date, show it in the UI
We use the same header-heights lookup table to show the actual month to
the user on resolve.
The resolve is the fetch of first-use of an address or seed, this
returns a blockheight from elecrum servers only and that isn't very
user-friendly. As such this now fills the comboboxes with the proper
month/year for better understanding.
2024-06-24 22:33:53 +02:00
tomFlowee 92be995fdd Hide 'blocks' module from user for now
There isn't yet any user interface they can see, so no point in showing
it to the user in the 'explore' part of the app.
2024-06-23 19:55:11 +02:00
tomFlowee a4d394aca1 Re-order and cleanup the import (seed) page.
This makes the language simpler and makes clear that the password field
is related to the import. Second, the name-field is now moved closer to
the big 'start' button and has a more obvious title.
2024-06-23 19:37:58 +02:00
tomFlowee 7005507041 Help resolve blockheight
This is the import page, it will certainly be possible for a
user to import a wallet that is older than the headers on their
device. In that case using the headers to resolve the height can't
work.
Circular dependency: Need headers to know which headers to download...

So, we hardcode the historical blockheights here for each month that
the user can select.
Notice that the dates are the first of each month, at the UTC-16
time-line.
2024-06-23 19:37:58 +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 3926268b5d UX bugfix; only show instapay limit on payment scan
This makes sure that if we use the QR scanning page for scanning a
private key, this does not list our intapay limits.
2024-05-06 22:05:33 +02:00
tomFlowee bb9dfc9d41 Small UX fix 2024-05-06 22:05:33 +02:00
tomFlowee 97c1485560 Move the 'import' card up one. 2024-05-06 22:05:33 +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 84e72bc606 Move image from mobile to common. 2024-05-05 20:52:26 +02:00
tomFlowee 5d131178f2 Make the groupBox fall in line with the rest
This adjusts the colors and qt6 qml standards.
Also various small bugfixes for non-collapsable boxes.
2024-05-05 20:52:26 +02:00
tomFlowee 2a507a6a96 Move the TextPasteDecorator (and icon) to common
The widget actually is pretty useful on desktop too.
2024-05-05 20:52:26 +02:00
tomFlowee dbb399fc7a Simplify the CardTypeSelector
Make the selector more compact, Instead of showing empty space, make
the size just fit the actual content.
This makes it more usable on mobile layouts.

Also improve the UX of the NewAccount page on mobile, less implicit text
and more explicit intention based titles.

Last, make the title-label's font scale to fit the size it is given.
2024-05-05 20:52:26 +02:00
tomFlowee da8802c6d1 Re-do the 'import wallet' screen (mobile)
This completely re-designed the 'import wallet' screens on
mobile.
We use the various new features available now, most importantly the
ability to detect derivation and start-height from an electrum
indexing server.
2024-05-05 20:52:26 +02:00
tomFlowee cccdce7ba9 Make 'BigButton' a common widget 2024-05-03 22:40:09 +02:00
tomFlowee a0455ab414 UX fixes for TextField
Fix colors on disabled fields.

We now render the Placeholder as italic and in a more distinct color
to the main text.
2024-05-03 11:49:04 +02:00
tomFlowee bb7c082119 UX improvements for ComboBox
Fix ComboBox general colors to fit in the theme.
This also adds enabled usage, so the enabled comboboxes fall in
line with the textfield color settings, same for disabled ones.

We also added a focus indicator.
2024-05-03 11:49:04 +02:00
tomFlowee 39b23f3725 Enhance the TestPasteDecorator
This moves the component out to its own file while fixing some UX
issues.

* It is now always visible for (UI) discovery purposes.
* When we paste when there is no matching text we show negative
feedback.
2024-04-30 21:51:16 +02:00
tomFlowee 4b47da747f Add QR for the xpub 2024-04-29 12:15:43 +02:00
tomFlowee 0ac472f0af Allow override of the 'back' button 2024-04-29 12:15:43 +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 7b5ed94298 Avoid null pointer warning 2024-03-07 10:49:53 +01:00
tomFlowee e34c4492fc Cleanup 2024-03-07 10:49:53 +01:00
tomFlowee d614ebe836 Fix warning. 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 63e7f988f6 Fixlets for fiat price changes pane. 2024-02-28 11:45:16 +01:00
tomFlowee 6e2eb8797a Fix typo. 2024-02-14 00:23:47 +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 e127574b7a Improve keyboard usage of listViews
The page-up/page-down now actually scroll a significant chunk of a
page and not an annoyingly small distance.

As we scroll, we make it a point to show the ScrollBar-thumb in order
to give the user feedback on where in the list they are.
2024-02-14 00:02:53 +01:00
tomFlowee 6312a468af Improve the entry of pin and numbers. 2024-02-14 00:02:53 +01:00