Commit Graph

1971 Commits

Author SHA1 Message Date
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 341be443bb Avoid confusion 2024-12-23 22:07:07 +01:00
tomFlowee 2fff1ebcb4 New version 2024-12-23 19:03:43 +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 3e2c9b957c Remove unneeded repetition of defintions 2024-12-22 22:44:33 +01:00
tomFlowee 3721573253 Make example module show up in the explore tab 2024-12-22 22:18:56 +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
tomFlowee 184ca5136a Draft UX idea 2024-12-21 13:04:19 +01:00
tomFlowee b64082dfa4 Add icon feature to TextButton 2024-12-21 12:50:53 +01:00
tomFlowee f3de74d7b3 Add subtext 2024-12-21 12:50:27 +01:00
tomFlowee 0dbff50f2b Rename for consistency and cleanup
This cleans up the frame after usage in order to make sure that the next
iteration of scanning will happen based on new data.
2024.12.0
2024-12-18 16:56:10 +01:00
tomFlowee 520241ba9b Remove support for old Qt
This removes the support for older than qt65 for mobile.
Qt65 was released April 2023, making the code we now release not
needed anymore. End of 2024, and us moving to 6.8 feels like we're
safe in removing it.
2024-12-18 15:51:55 +01:00
tomFlowee 581db51e71 Import translations from crowdIn 2024-12-18 14:00:35 +01:00
tomFlowee 6e6c909be5 Add Christmas-egg
The easter-egg for Christmas.
2024-12-18 13:05:52 +01:00
tomFlowee dd596c5740 Refactor notifications and add Android support
This takes the NotificationManager and splits it into multiple
compile units based on the backend that is available.
The 'dbus' was the only one available so far (which serves
kde/gnome desktops) and this is moved to its own file.
This adds android support as well, but so far only for block
notifications (when a new block is mined).
2024-12-18 13:05:52 +01:00
tomFlowee 673e816961 Fix package 2024-12-18 13:05:52 +01:00
tomFlowee 7f06c0b162 Make this a comment. 2024-12-16 10:42:28 +01:00
tomFlowee 9364b2e97a Prepare for december release 2024-12-16 10:30:20 +01:00
tomFlowee 197fd07dde Merge branch 'android-buildenv' 2024-12-16 10:18:42 +01:00
tomFlowee 9598e547d0 Use new Qt 2024-12-16 10:10:12 +01:00
tomFlowee 61967f61f8 Remove no longer needed hack 2024-12-16 10:10:12 +01:00
tomFlowee 814fc82897 Adjust Qt build
This reverts a broken Qt patch wrt translation selection. See QTBUG-131894
This removes various Qt features from the build that we don't need
in order to keep the library size down.
The qtdeclarative module went from 4285 ninja tasks to 2387, or for the
android buld from 4117 to 2251.
2024-12-16 10:10:12 +01:00
tomFlowee 86dcb5c39e Stop mixing two format types
This now switches to only using html, removing some markdown headers.
2024-12-16 10:10:12 +01:00
tomFlowee a9c387e42a Pick behavior of Qt6.6 or later cmake feature. 2024-12-16 10:10:12 +01:00
tomFlowee e7b8740986 Avoid copy 2024-12-16 10:10:12 +01:00
tomFlowee b463347b39 Upgrade versions in reproducable Android build
This updates all the relevant libraries we use to their latest stable
versions in the reproducable build environment we use for Android.
2024-12-16 10:10:12 +01:00
tomFlowee 33a728799d Switch explorer
The blockchair explorer seems to be down a lot more, so lets
point to the new iteration from the same team.  3xpl.com
2024-12-04 23:43:05 +01:00
tomFlowee bb4ebdfadd Import updated translations from crowdin 2024-12-01 17:43:57 +01:00
tomFlowee 45832b1b9e Rewrite progressbar UI component
Have a different approach which makes everything much simpler
2024-12-01 13:57:18 +01:00
tomFlowee 3c9f1111e8 Fetch current price only when needed
Only fetch on startup if the last fetch is more than 5m ago
2024-11-30 16:54:55 +01:00
tomFlowee bc2ee8abe6 Auto hide sync status when we're up to date.
This upgrades us to no longer use the expected block height based
on current time, but instead uses the certainty we get from asking
various peers for their view of the world.
Now when we are certain that we're at the same tip as the rest of
the world, we can safely hide the 'up to date' text and make the UX
again a little bit simpler.
2024-11-30 16:54:55 +01:00
tomFlowee f72663df66 Add backup sync progress to bar 2024-11-30 14:33:15 +01:00
tomFlowee d16695c35b Qualify properties when not clear. 2024-11-29 15:50:42 +01:00
tomFlowee 8bbea6c0fe Follow upstream wrapping of shared_ptr 2024-11-29 15:40:15 +01:00
tomFlowee aa7096a2d2 Avoid doing work when no request is open. 2024-11-29 14:59:07 +01:00
tomFlowee 68116d978f This chooses the cmake boost finding behavior
CMake details for finding boost have been shipped for years inside
of boost, this makes cmake use that upsteam info to configure boost
and avoids problems when a newer boost than cmake is found.
2024-11-28 23:26:55 +01:00
tomFlowee 2012d6df6d Avoid a define for the wallet log level.
This is a general cleanup, making the log levels not be defines but just
a constexpr or hardcoded. Just like all of them.
2024-11-28 23:14:28 +01:00
tomFlowee 527c1c3dc5 Various possible fixes for camera usage. 2024.10.2 2024-10-31 20:50:01 +01:00
tomFlowee 7a7270e9d8 Fix linter warnings from QML 2024-10-31 15:32:36 +01:00
tomFlowee 168dd95430 Document that Qt fixed this. 2024-10-31 14:50:01 +01:00
tomFlowee 815e21d233 Make a specific icon for the QR shortcut 2024-10-31 12:51:51 +01:00
tomFlowee f053b34ded Cleanup imports 2024-10-31 12:09:33 +01:00
tomFlowee 26b48c5c49 Add Android shortcut: Scan QML
On Android an app can ship with (static) shortcuts. We use this feature
to allow the user to create a new icon which still starts Flowee Pay,
but it instantly opens the payment screen on the QR scanner.
2024-10-31 12:09:19 +01:00
tomFlowee c97890401e Show seed-phrase-password in backup details pages. 2024-10-28 14:47:34 +01:00
tomFlowee 65eb981d83 Revise import wallet pages
The vast vast majority of wallets imported will not have a password. So
we de-prioritize that and make the user aware of the password field
should they check the contents without one.

This moves the 'wallet name' again to the top for all types as the most
observed mistake is that people type a wallet-name in the password field
and then are confused why there is nothing there. (and additionally
annoyed that the name of the wallet is auto-generated).

Other fixes includes spacing and alignment.
Keyboard focus on desktop.
2024-10-28 13:41:24 +01:00