Commit Graph

519 Commits

Author SHA1 Message Date
tomFlowee 81360632ba Make card behavior more smooth on device.
With some delays we allow the user interface to show up so the checkbox
actually is pained to be 'on' when the user gets a question from the OS
about allowing it.
2025-05-04 21:59:47 +02:00
tomFlowee 4b143fc0c3 Show user the concept of background updates. 2025-05-04 19:59:28 +02:00
tomFlowee 2924d3cca9 UX tweak; make filter icon fade 2025-05-02 22:26:58 +02:00
tomFlowee 40a52b6abf Move 'xpub' out from the backup page.
The xpub is not a backup detail, as such it is better to let it
live on its own, maybe sharing a better mental model.
2025-05-02 20:13:09 +02:00
tomFlowee ca08b9d284 Move notifications to background page
Since notifications no longer make any sense for non-background
running situations, the setting should move too.
2025-05-02 19:33:19 +02:00
tomFlowee 31a8abce10 Tie tx-notifications to Android system.
We re-introduced a checkbox to enable notifications.
We now have a second type of notification, one for incoming transactions
that may happen when the app isn't in the foreground.
2025-04-24 11:29:29 +02:00
tomFlowee a1b18d3f02 Replace block notifications with confirmations
We remove the block notification feature, as that was nice but useless.
This instead introduces a way for a transaction we created to be marked
as needing monitoring and when a block comes in we create a notification
explaining it has been mined.
2025-04-23 17:52:09 +02:00
tomFlowee 4fa68be699 Make edit button UX a big better
This makes the label a bit shorter to avoid it overlapping the fiat text
in more cases.
We also now place the edit widget on top of the pencil button to get as
much space for editing as we can get.
2025-04-18 19:03:17 +02:00
tomFlowee e96a9fe129 Fix sometimes not showing the right text
When a new transaction is sent and edited directly in the backend
we expect that the item is re-created and thus the on-initial-
construction method to be called.
But, QML caches and thus our smart solution doesn' work.
2025-04-17 19:25:51 +02:00
tomFlowee b0c4545b09 Improve typing/pasting of seedphrase
This adds the ability to paste an almost correct seed phrase, for
instance when the last word is cut off.

We also provide a new UI to propose words while typing the seed,
allowing the user to tap on the words instead of having to finish typing
them.
2025-04-07 15:35:44 +02:00
tomFlowee 5037cc7f2c Properly initialize the slider value
Do the conversion from the backend in hours and set that on the slider
at construction of this screen.
2025-04-02 10:50:58 +02:00
tomFlowee 69e390ac6c Add support for pasting a bip70 style url 2025-03-25 14:41:46 +01:00
tomFlowee 442ebaf8a7 Fix broken connection between pages
This makes starting the app with an intent work again.
2025-03-20 09:54:37 +01:00
tomFlowee 3bef7f4375 Give text more space 2025-03-16 22:59:21 +01:00
tomFlowee f20da27502 Remove fiat entry if showing on testnet
Also fix positioning of the hamburger menu
2025-03-16 22:44:07 +01:00
tomFlowee 872e37b572 Make notes properties more declarative
This changes the notes property to be only set by the user of the
BroadcastFeedback.qml, and not from inside anymore which could break the
property binding causing strange things to happen.
2025-03-16 22:14:20 +01:00
tomFlowee f8e678bc9b Specifically specify some currencies 2025-03-12 19:05:06 +01:00
tomFlowee 890fb9e54e Move menu button and have a subtle gradient 2025-03-09 23:18:50 +01:00
tomFlowee fa7418d39d Try adding a rounded corner 2025-03-09 17:30:42 +01:00
tomFlowee 8b9cd5282e Update the button text appropriately
When the selected account or currency changes, make the text
update to reflect the actual action of pressing this button.
2025-03-08 17:06:00 +01:00
tomFlowee c21481c96f Give bottom more space 2025-03-08 11:32:50 +01:00
tomFlowee 1a71310740 Close popup on client lock.
When the user has had the screen locked long enough to make the app
lock, we just close the popup.

The unlock screen actually appears under popups (that's the concept of a
popup..) so this solves a leakage of data.
2025-03-06 16:54:49 +01:00
tomFlowee 36f1c79889 Translation fixes 2025-03-04 14:21:18 +01:00
tomFlowee ad415ece23 Make popup not have a background
Just the loader has a background, avoiding weird placement issues
due to the frankly bad defaults and insets etc of the popup component
2025-03-04 11:40:46 +01:00
tomFlowee 44bdb8e8b3 Small fixes 2025-03-04 11:14:54 +01:00
tomFlowee c3a993f45c Add request for block notifications.
This is the only useful notification type we have today,
but at least it allows the user to explicitly go and request
notifications from the Android OS.
2025-03-03 21:35:00 +01:00
tomFlowee 9ead6eea07 Improve UX
Use the new TextButton feature better for current setting
and make clear in the sub text which wallet this is for.

On the send tab the InstaPayConfigButton is directly next to the
default wallet, as such it may be assumed that the insta pay
text applied to the name mentioned there.
This lists the wallet here in order to make things clear and
now lists the actual limit on the right side for consistency.
2025-03-03 20:04:20 +01:00
tomFlowee 2d511fbe86 Tweak 'light' color and usage
This swaps the colors on the AccountHistory and ExploreModules
rounded rects in order to make the background universally the same
everywhere.
To make it work the 'light' color on the light theme had to remove
some of its contrast to the base color in order to not remove
contrast to the text.
2025-03-03 19:38:28 +01:00
tomFlowee 05781e42b6 fix typo 2025-03-03 19:04:19 +01:00
tomFlowee 810a622e04 Add slider styling 2025-03-03 17:38:59 +01:00
tomFlowee 31e6dea3fd Fix scanning an unsupported QR causing a problem 2025-03-03 16:18:15 +01:00
tomFlowee eb7082e127 Fix unlock app keyboard focus
This allows us to detect the android BACK button and act
appropriately
2025-03-03 15:55:44 +01:00
tomFlowee 2524a8e675 Add 'confetti' on detecting a receive. 2025-03-03 15:32:45 +01:00
tomFlowee 61b85f3a4d Close virtual keyboard on receive 2025-03-03 14:16:40 +01:00
tomFlowee 40b3c58de6 Make the unlock screen move to the price input
This makes the flow a bit smoother for the people that want
to use this as a point of sale system.
2025-03-03 14:10:34 +01:00
tomFlowee 52642a4b3e Show if it is enabled or not 2025-03-03 14:10:09 +01:00
tomFlowee 7da8bac289 Rename qml file 2025-03-03 13:58:05 +01:00
tomFlowee a85f5e7894 Add background sync for Android
On Android this enables the application to run just a simple
quick sync and then exit the app on regular intervals.
The main benefit is that when the user doesn't run the app very
often they will avoid having a long sync time.
2025-03-02 19:57:02 +01:00
tomFlowee ef2309fbe8 Allow TextButton to have a 'value' shown. 2025-03-02 19:57:02 +01:00
tomFlowee 21eeab2f98 Add offline checking for Android.
Add logic to notice that the device is offline and notify the
user of this fact on screen.
Repeat checking so we can notify the user that network is back.

This shows in the UI (of the mobile form factor) that the device
is offline and we avoid starting the p2p layer until network
is detected to be there again.
2025-03-02 19:57:02 +01:00
tomFlowee 3d821d4be4 Add NewIndicator on socialFeedModule 2025-02-25 19:38:39 +01:00
tomFlowee f12b6f31f2 Update the url 2025-02-25 18:29:55 +01:00
tomFlowee 709f5ec7ed Make sure that the TextButton has enough space.
We should not require the user to put it in a layout with spacing, that
will just create inconsistencies.
Instead make sure that the button itself is tall enough for easy aiming
on small screens.
2025-02-25 18:29:44 +01:00
tomFlowee 6f7388ccc3 Clear out the inconsistencies in the background colors 2025-02-24 23:19:54 +01:00
tomFlowee cf19583676 Fix off by one. 2025-02-24 19:53:55 +01:00
tomFlowee 3ee2663241 Make broadcastfeedback work on instaPay payments too. 2025-02-17 16:23:24 +01:00
tomFlowee 6c3af0f3c1 Avoid number overflow issues
The backend still used an int for the fiat price, this is now a qint64.
Additionally the BitcoinValue now optimistically (pessimistically?)
converts the input with the current price in order to avoid a second
order overflow.
2025-02-17 15:07:01 +01:00
tomFlowee e80eea83f9 Allow user to archive the initial wallet.
An often heard request.
2025-02-17 13:02:01 +01:00
tomFlowee bd977e9ad1 Handle long comments better. 2025-02-17 12:44:23 +01:00
tomFlowee ad93f235f8 Minor UX improvements.
This reuses the same text for the same button here as in the 'send' tab,
and fixes the spacing a litte.
2025-02-17 12:34:02 +01:00