658 Commits

Author SHA1 Message Date
tomFlowee 39cf1a979d Add icon 2025-02-10 16:37:41 +01:00
tomFlowee ca194f1e39 Re-add the "payment accepted" screen.
It is a bit simpler, only covering the lower half and it is better for
when the payment made was too low.
2025-02-10 16:04:45 +01:00
tomFlowee b4a5b480de Add proper namespaces 2025-02-09 23:31:57 +01:00
tomFlowee 2d7cfde4df Redo ReceiveTab 2025-02-09 22:58:21 +01:00
tomFlowee b7ebe1ad7a Fix radius
Radius should visually be the same on the inner and outer circles.
2025-02-09 22:58:21 +01:00
tomFlowee 9e145539a6 Fixes 2025-02-07 00:18:44 +01:00
tomFlowee b82bf5c753 Add quick recieve on lock screen.
This moves the creation of the portfolio to happen the moment we
finished loading. (wallets were loaded either way)
The networking is the part that now waits for the user to unlock before
it does anything.
2025-02-07 00:13:59 +01:00
tomFlowee fbcfd0b4ab Remove unneeded tags 2025-02-05 20:46:07 +01:00
tomFlowee 95ca9d02ce Add a small keyboard to unlock
The default now is a "small" one at the bottom that users will be able
to use with their thumbs. A common input way.
For fat-fingered people we keep the current full screen input widget,
easy to toggle by the button at the top which now is a 3-state and on
top of that gets rememebered between instantiations.
2025-02-05 16:39:43 +01:00
tomFlowee c4cea6ce61 Improve the BroadcastFeedback page 2025-02-04 22:33:08 +01:00
tomFlowee 30ccadb026 Unify the broadcast feedback screen.
This avoids duplication in the send-sweep module.
2025-02-04 21:20:35 +01:00
tomFlowee 4b910af465 Monitor selected currency.
When the user changes currency, this will now get recalculated and thus
the prices all will update on the main tab.
2025-02-04 16:58:15 +01:00
tomFlowee 300c6842ac Make user comment editable on first popup
This revisits the usage of the Info object and who owns it,
in order to increase the stability of the UI/UX

And, as said, it adds a way to edit the user comment directly
in the first popup in a nice user experience.
2025-02-04 16:58:15 +01:00
tomFlowee e6505a0367 Avoid showing the same bch amount twice.
In the popup the line with the bch amount will now not be shown when it
is already shown in the main view.
2025-02-04 13:44:37 +01:00
tomFlowee fc2bf18632 Be smarter with mined-date in popup
In case the printed date would be identical, we now avoid wasting time
in the popup on the mined date.

Additionally, when a transaction is unconfirmed, we print that it is
waiting for a block now.
2025-02-04 13:44:33 +01:00
tomFlowee b6c598510d Make overlay component distinct
Instead of making the overlay live inside of the popup outline, make it
live outside which basically means it should not move and look just like
it is the original except not shaded.
2025-02-04 13:44:33 +01:00
tomFlowee 705137e649 Make sure we put the time on historical transactions. 2025-02-04 12:12:34 +01:00
tomFlowee 923d472316 Move 'go up' button to bottom of screen.
This is a UX improvements and it also helps fit the Android expected
behavior.

The list has a button to jump back to the top, it is now positioned
better and avoids the scrollbar handle.
2025-02-03 17:35:19 +01:00
tomFlowee e5c390040d Add 'are you sure' on deletion of wallet. 2025-02-03 17:26:39 +01:00
tomFlowee 5b3a779aa4 Make 'secrets' input field use monospace font
To input something like a private key, using monospace will be much
easier.
2025-02-03 16:59:47 +01:00
tomFlowee a038ff7c22 Add a QR button to the seed phrase page. 2025-02-03 16:57:13 +01:00
tomFlowee b8206357c3 New year 2025-02-03 13:49:13 +01:00
tomFlowee 035b5cd68d Fix unreadable button
This picks a better color to fit the background and always have
good contrast for max readability
2025-02-01 20:18:22 +01:00
tomFlowee 6c1d9d590c Add video links to the startup screen. 2025-02-01 19:48:37 +01:00
tomFlowee 118c9d9194 Give a bit more spacing on the side for the address. 2025-01-28 14:19:42 +01:00
tomFlowee a0856469b1 Fiat fixes
This removes Qt bug workarounds for a the old 6.5 we no longer use on
mobile.
This adds a new workaround for CHF as that somehow no longer has a
'symbol' set, so now we provide our own.

Also make sure we run a fetch when the user changes the currency.
2025-01-23 16:20:27 +01:00
tomFlowee 3168944161 Fix prices position on testnet4 2025-01-09 15:57:54 +01:00
tomFlowee dd6f2a4d3a Show checks on recently sent transactions
The idea is that if you send a transaction you may want to see it
getting confirmed.
This now shows directly in the main UI in an unobtrusive manner with
checks.
2025-01-07 19:58:30 +01:00
tomFlowee da74669dbe Refactors and cleanups. 2025-01-06 23:29:17 +01:00
tomFlowee 22fe9d1037 Fix stray tx in popup 2025-01-06 15:00:35 +01:00
tomFlowee edcf1a403b Add wallet/backup new indicator 2025-01-03 17:54:49 +01:00
tomFlowee 560b62960b Add NewIndicatorProvider
This provides a backend for a 'new indicator' on menus we want to entice
users to open.
2025-01-03 17:54:49 +01:00
tomFlowee 27e696bd9c Rework the startup screen a little 2025-01-02 21:37:48 +01:00
tomFlowee 3972d44f69 Implement more basic component features.
This makes the widgets more re-usable by following the general
design of Qt components with porperties like implicitWidth being
implemented as expected.
2025-01-02 18:50:48 +01:00
tomFlowee ef5982c312 Update the UX on ExploreModules page
Following the moving of this to the 'explore' tab as "find more"
this is more a detailed listing of all modules, and as a result it
makes sense to add an 'open' button.

This avoids people being forced to enable a feature they only want
to use once.

Following this new UX the 'ON' ribbon loses its meaning, you can
use a module that is not on.
2024-12-31 16:44:11 +01:00
tomFlowee 5411d21fb0 Use ints instead of fancy JS enums.
I mean, yes, the fancy enums help readability, but the fancy enums
actually pull in a rather large dependency that adds hundreds of
kilobytes to the deployment. Then just ints don't look so bad
anymore, do they?
2024-12-31 15:57:17 +01:00
tomFlowee 61b98fd4da Adjust color of icon
make it slightly less bright
2024-12-31 15:57:17 +01:00
tomFlowee cb46be382e Make the module icon show up on the Explore tab 2024-12-31 15:57:17 +01:00
tomFlowee 837bad6a13 Add Module section type; other-default
This section type means that the module will have it's icon shown in
the 'Explore' tab always, it can not be disabled by users and as such
it just becomes an overflow of the main app avoiding worry about a
module not being found.
2024-12-31 15:57:17 +01:00
tomFlowee 453cfa51e2 Add comment. 2024-12-26 19:14:17 +01:00
tomFlowee a66352b6d1 Avoid quick toggling of dark-mode
The toggle on some devices takes a second or 2, as such it may be
tempting to press multiple times waiting for the change.
This hardcodes a 3 second wait to increase the UX a little.
2024-12-23 22:45:22 +01:00
tomFlowee 580faaa67a Don't show fees when not know.
When the fees return zero, this is almost certainly due to us
lacking the information to determine the fees paid.
2024-12-23 22:31:34 +01:00
tomFlowee 4559b68f93 Avoid duplication, create utils file
This moves the heuristic to exist only once and avoids duplicating it.
Additionally this increases the checks accuracy.
Last, the 'moved' price in desktop now is white to indicate it is
not a balance change.
2024-12-23 22:26:54 +01:00
tomFlowee 1b1bf7164b Rename property and be consistent.
The TextButton already had an 'image' and now got an 'icon'
added. So having the fallback of the image have a name with
icon in it was just confusing.
2024-12-23 18:51:55 +01:00
tomFlowee 86ced6f747 Avoid duplication, move to file. 2024-12-23 18:44:30 +01:00
tomFlowee e200766dda Split camera and intent out of the handling pages
In the send-sweep module as well as in the PayWithQR this removes
the UserIntent handling and instead moves that to the main.qml
exclusively.
Additionally in the send-sweep module the camera work is split
into its own page, like in the other parts of the app. This helps
us avoiding hacks when we want the main functionality without the
camera.

This is the last of the series of reworks, we should have all
former functionality working again.
2024-12-23 18:36:36 +01:00
tomFlowee 29fa685c09 Fix isPayment property for QR scanner page 2024-12-22 17:37:04 +01:00
tomFlowee 33799f0c1f Add new tab 'Explore'.
Continuing the 'rework send page' series.

This moves stuff that had no business being on the "Send" page to
live on a new tab instead. Prime example was the 'sweep' module
that creates a transaction we send, but to ourselves. So it's far
fetched that it fits in 'send'.
2024-12-22 17:23:27 +01:00
tomFlowee 644241255f Revert "API level rename of 'send' to 'action'"
This reverts commit 9f69241bbb.

Reason for revert is that instead of renaming the send, we're now
creating a new tab instead. So we'll keep "Send" and add a new one
as well.
2024-12-22 15:02:30 +01:00
tomFlowee 3800093643 Rework 'Send' page. Part 1.
The initial design has done well for over 2 years, but problems
are starting to show.

This does a bit of cleanup in the UX and many cleanups in the
underlying architecture that were the result of those UX choices.

We remove the clipboard (paste) concept from the camera pipeline
completely and simply make it a new top-level button "paste" on the
send page. This helps discovery AND helps architecture!

The both workflows now also become 2 stage affairs, when the button
is pressed we open a page that does the scanning or pasting and then
introspects the actual data in order to redirect to the right page.
This means that we auto-detect if the scanned item is an address or
a private key or whatever, and handle it appropriately without needing
any user interaction.
2024-12-22 14:56:14 +01:00