Commit Graph

1841 Commits

Author SHA1 Message Date
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 0519317443 New version 2024-12-31 15:57:17 +01:00
tomFlowee a27e6df0e0 Make checkbox bigger 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 42df2fb2c8 Fix new wallet being marked as import for a little
This moves the decision if it is importing out of the wallet and we stop
using a broken heuristic.

Also cleanup the API usage of the hd masterkey format in the wallet
header.
2024-12-31 15:57:17 +01:00
tomFlowee ec32cb5f8f fix grammar 2024-12-31 15:57:17 +01:00
tomFlowee 8af9c8eac7 Make functional and not too bad looking
This is probably a good first milestone, the UX is pretty decent
and the wanted functionality is there.
Various todo's are still there which mostly of the cleanup type.
2024-12-31 15:57:17 +01:00
tomFlowee a18b5de86e Add missing copyright header 2024-12-29 19:12:27 +01:00
tomFlowee 3ccd90cc4b Add most of the workflow to the bigtransfer module
We don't actually send any transactions yet.
2024-12-26 23:41:39 +01:00
tomFlowee 453cfa51e2 Add comment. 2024-12-26 19:14:17 +01:00
tomFlowee 533a20c769 Follow property rename in Flowee qml widget. 2024-12-26 18:42:46 +01:00
tomFlowee 94da00709d Start new module 2024-12-25 13:12:38 +01:00
tomFlowee 46c33bb4d1 Correct QtCreator's handling of cmake.
Move the added files to be in the list instead of in the call.
2024-12-24 14:49:23 +01:00
tomFlowee 3c0e99ca87 remove commented out code 2024-12-23 23:39:09 +01:00
tomFlowee 7383f1eb3c Add progress indicators on wallet list items. 2024-12-23 23:36:27 +01:00
tomFlowee 3ba6d494ca like mobile, hide network status when synched 2024-12-23 22:55:09 +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 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