Commit Graph

2398 Commits

Author SHA1 Message Date
tomFlowee 6625366cb3 Avoid doing unneeded work
This was in the delegate and as such there are multiple copies. To avoid
all of them doing work, lets add a local variable.
2026.03.2
2026-03-16 20:16:38 +01:00
tomFlowee 5dafcfd1f4 Make interacting with the list speed up the markSeen timeout 2026-03-16 20:16:38 +01:00
tomFlowee cc6f0f36aa Fix markSeen corruption 2026-03-16 20:16:38 +01:00
tomFlowee 0748407e6c Fix crash due to regression in Qt
After starting to use Qt6.10 the following (trivial) steps caused
the application to crash with a backtrace 100% inside of Qt.

a. scroll the list of transactions down a bit.
b. select a different wallet.
c. boom

The bug seems to be that changing the model of a Listview crashes
if the view is not positioned at the top.

This new code positions the view at the top prior to changing the model.
2026-03-16 20:16:38 +01:00
tomFlowee 9e1e50694b Update to version 2026.03.2 2026-03-16 20:16:38 +01:00
tomFlowee d81bf48984 Various UX fixes around the new tabs
This fixes the weird dialog not getting a press but just closing problem
which seems to stem from the horizontal listview getting its current
index set. So we just avoid doing that.

This fixes the bug in the last release where not having the payments tab
visible meant we didn't see the tabbar at all. The logic is now fixed to
include the fact that we can have a tokens tab too.
2026-03-16 20:16:38 +01:00
tomFlowee 1477fe9335 [UX] Add a visual feedback on press / release 2026-03-16 12:25:39 +01:00
tomFlowee dba5970974 Import Persian language from crowndin 2026.03.1 2026-03-15 20:30:42 +01:00
tomFlowee 9de66be79b Import translations from crowdin 2026-03-15 20:08:45 +01:00
tomFlowee 18adf5f63f Add all wallets option to the RepeatPaymentsModel
And the planned payments tab on mobile uses it to filter on the selected
wallet. Or show for all wallets.
2026-03-15 19:44:56 +01:00
tomFlowee e30f86fd8a Also make visual NFTs follow 'all wallets' concept
This includes us moving the population of visual tokens to be placed by
a QML file instead of in C++, which was what we wanted anyway.
2026-03-15 17:52:17 +01:00
tomFlowee ac74aa90bb Tie the 'all wallets' to fungible tokens backend
Only show fungible token UTXOs that actually are in the selected wallet.
2026-03-15 14:57:30 +01:00
tomFlowee fddfbe34d9 Add 'all wallets' option to the account selector
And show this text also on the wallet-selector if appropriate.
2026-03-15 11:44:59 +01:00
tomFlowee 6667ea3f37 Remove unneeded semicolons 2026-03-14 21:14:42 +01:00
tomFlowee e5be95b472 New release version 2026-03-13 20:33:36 +01:00
tomFlowee 406367b5ab Merge branch 'ct'
Include default-off cashToken support. Which include a BCMR backend
for icons and more.

Plenty of missing features, as such this is labeled BETA.
2026-03-13 20:31:10 +01:00
tomFlowee 61eb05cbc5 Cleanup semicolons 2026-03-13 20:21:30 +01:00
tomFlowee 52c854761f Make the radio button and checkbox equal height
This makes the spacing between them equal, making the checkbox take more
space (making fat fingered people happier) and the radio button takes
half the space because frankly it was ugly empty.
2026-03-13 20:21:30 +01:00
tomFlowee 8f69779d53 Add GUI option to enable/disable the token UI. 2026-03-13 20:21:30 +01:00
tomFlowee 9ef814f179 Bugfixes to make nfc download and display work. 2026-03-13 18:53:02 +01:00
tomFlowee f67a9b3a14 Use 'modelData' not 'model' for backwards compatibility 2026-03-13 12:45:08 +01:00
tomFlowee 8623302b31 Make Image NFTs show up.
This adds a lot of plumbing in the TokensManager and MetadataRepository
to parse the data we have and extract what we need.
The actual visual display is rather simple, this is expected to evolve
as this becomes more nature. For now this works and that is the
important part.
2026-03-12 21:26:43 +01:00
tomFlowee 3aaeba0a27 Update About page' year to 2026 2026-03-10 12:26:20 +01:00
tomFlowee f50f961d98 Fix QML warning before download completes 2026-03-09 15:15:59 +01:00
tomFlowee 6cc4798320 Hide scan button on non-main tabs 2026-03-09 15:15:59 +01:00
tomFlowee 9e521ff120 Move wallet balance to the 'activity' tab. 2026-03-09 15:15:59 +01:00
tomFlowee 91e0b2d31c Minor fixlets for tokens/bcmrs 2026-03-07 23:55:39 +01:00
tomFlowee 1faea58a4d Fix location of warning 2026-03-07 15:41:11 +01:00
tomFlowee a3e0ec6eaa Fix compile on Android
Seems my IDE inserts the include in stupid location.
2026-03-07 15:40:39 +01:00
tomFlowee a901afc4ee Make tokentabs layout static for now. 2026-03-07 15:40:13 +01:00
tomFlowee 338a81c948 Make the per-token image show in the UI 2026-03-07 14:07:38 +01:00
tomFlowee aedb67ae67 Add download of image and bcmr json
We take into account the server thinking this is a scam token and avoid
downloads based on that.
The image and bcmrs are downloaded from the caching server, based on the
information from the main (info) json.
2026-03-07 13:54:49 +01:00
tomFlowee 81ab3821e1 Make the layout not so ugly. 2026-03-06 22:01:39 +01:00
tomFlowee a10d561de8 Tie tokens and metadata to the UI 2026-03-06 21:08:37 +01:00
tomFlowee 7cd152eb8d More BCMR work. 2026-03-06 19:11:47 +01:00
tomFlowee a212c77e8f Add keeping the index up to date with http head checks. 2026-03-06 11:46:35 +01:00
tomFlowee 2b92e1273c Do a bit of downloading. 2026-03-05 23:59:34 +01:00
tomFlowee 8bad59f1a2 Make CT a tab on the receive page 2026-03-05 17:04:45 +01:00
tomFlowee bcf6b6e39d Merge branch 'master' into ct 2026-03-05 14:05:17 +01:00
tomFlowee 09546c5418 Defensive programming.
The idea of sending a transaction as a background process is a bit risky
when the OS can decide at any moment to kill the process. Following
yesterdays code this adds to the security where we make sure we store
the new transaction on disk before we (async) broadcast it to the world.
Making a restart later have the right information to continue without
problems.
2026.03.0
2026-03-04 13:29:29 +01:00
tomFlowee 2be18bc4d2 Update to new month 2026-03-03 23:26:56 +01:00
tomFlowee 6458185eed Revisit sending repeat payments in the background
This makes the process a bit more mature where we now take
care to only start the repeat payment sending when a wallet
has reached the chain-tip.
We also double check that the payment hasn't already been sent
in order to make extra sure we don't create duplicates (don't trust
that the OS won't kill us at an inconvenient time).
And last we patiently wait for the subsystem that monitors the
transaction broadcast status to give the all clear before shutting
down the application.
2026-03-03 23:26:14 +01:00
tomFlowee 6420f0cd55 Make text part of the checkbox also toggle the check. 2026-03-03 22:09:16 +01:00
tomFlowee 1bec3d2ecd Make log output appear on Linux console. 2026-03-03 22:09:16 +01:00
tomFlowee 82f236eabc Fix self send transactions not showing up 2026-03-03 22:09:16 +01:00
tomFlowee fc3af9d171 UX; rename repeat payment 'disable' to 'pause'.
This makes more sense in the context of payments.
The main UI also has a delete option which makes the set complete.
2026-03-02 10:43:47 +01:00
tomFlowee 542acbb2f4 Replace menu with popup for better usability.
This avoids problems with needing to tap it twice to show and allows for
better reuse of our own components and makes sizing and positioning not
black magic.
2026-03-01 13:01:29 +01:00
tomFlowee fdfea02669 Add 'disable' action to Android notification
When a repeat payment is detected to soon be eligable for sending, but
the user has not approve it yet, we show a notification from the
background process to entice the users to go and approve it.

This popup now also carries a 'disable' text which disables the repeat
payment, effectively shutting up this and further notifications.

The tricky part to make this work is that the notification is showing
while the application is (likely) not actually active.

This takes the strategy that the notification carries some extra
details. Among others a newly introduced unique id for a notification
itself, and also some text to show on actually processing the disable
action.

The processing just writes a file, to avoid complexity and side-effects.
The file will then be read on start up (either foreground of background)
to action on the lines in there. So the item will be disabled on first
load.
2026-02-25 16:04:42 +01:00
tomFlowee 7021a18f93 remove unneeded import. 2026-02-25 16:04:42 +01:00
tomFlowee 3337d36ee7 Also implement the deletion of a repeating payment 2026-02-25 16:04:42 +01:00