Commit Graph

861 Commits

Author SHA1 Message Date
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
tomFlowee 19b8c497cf Improve text
The help text now is more clear about how the payment may be started.
2024-02-13 14:25:54 +01:00
tomFlowee d6bde257cc Fix components scaling
We simply use the font size, which is our basic scaling system anyway.
This avoids sizing issues for really large fonts when items start taking
multiple lines.
2024-02-12 23:55:12 +01:00
tomFlowee 347a23bc72 Make the PIN panel take more space
This makes entering the PIN much easier simply because we use as much
space on the screen as there is available.
2024-02-12 23:20:36 +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 c6e626ea01 Slight code cleanups 2024-02-12 23:01:14 +01:00
tomFlowee 2ccbb62377 Remove no longer needed versions
General cleanup.

Qt5 had the need to add versions to imports, this has (for
very good reasons) been removed from Qt6.

This removed the versions from the import lines.
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 f06add936e Small UX fixes
The main font on Android seems to not ship with 'semi-bold' on
various devices. Which means that the title just was the same
as the content and while I like subtlety, in this case if failed.
Better to go with bold than with no difference at all...

Additionally small spacing / sizing fixes.
2024-02-11 17:52:54 +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 3872b7a8ba Have the thumb be grabbable while its hiding.
The 200ms hiding animation now triggers the thumb to not be grabbably
only after it completes, not when it starts.
2024-02-10 21:56:59 +01:00
tomFlowee 037aff628b Move the paste/flash buttons on the scanner screen.
The newer Android versions overlay a "Flowee Pay pasted from your
clipboard" text.
The location is dependent on model, but generally it is located at the
bottom.
So avoid the chance when the paste button is under that helpful OS text.
2024-02-10 00:28:00 +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 073ffe6e3b New feature; show fusion icon on TransactionDetails
When an input used in a transaction comes from a cash-fusion
transaction, we now put the CF logo next to it in order to
make this fact clear to the user and allow them to understand
how tracable this specific payment was.
2024-02-03 23:52:27 +01:00
tomFlowee 3599385784 minor spacing tweaks 2024-02-03 23:36:44 +01:00
tomFlowee 483b8455b2 Improve TransactionDetails screen
* make it much faster for large transactions to open by not drawing and
then hiding the inputs/outputs that are not relevant to us.

* Allow expanding cloaked addresses by clicking on them.
* instead of a right mouse button menu, show a copy icon next to each
address.
* Add the chainprefix to the clipboard on copy.
2024-01-28 14:42:53 +01:00
tomFlowee 6905ac43b1 Copyright to 2024. 2024-01-28 11:30:33 +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 b916079b63 Rename to have consistent naming. 2024-01-18 23:18:27 +01:00
tomFlowee e8a74673ba Fix 'back' after scan closing the app.
The scanner takes the focus away from the current page, so 'back' would
not see the page and we'd close the app...
2024-01-16 17:46:47 +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