Commit Graph

588 Commits

Author SHA1 Message Date
tomFlowee 19b8c497cf Improve text
The help text now is more clear about how the payment may be started.
2024-02-13 14:25:54 +01:00
tomFlowee d6bde257cc Fix components scaling
We simply use the font size, which is our basic scaling system anyway.
This avoids sizing issues for really large fonts when items start taking
multiple lines.
2024-02-12 23:55:12 +01:00
tomFlowee 347a23bc72 Make the PIN panel take more space
This makes entering the PIN much easier simply because we use as much
space on the screen as there is available.
2024-02-12 23:20:36 +01:00
tomFlowee 1ec24150c1 Add icons and colors to the placeholder buttons. 2024-02-12 23:01:14 +01:00
tomFlowee b8d650b9b3 Add UI scaling to desktop 2024-02-12 23:01:14 +01:00
tomFlowee 8c0210b0fe Add content to desktop TransactionDetails screen. 2024-02-12 23:01:14 +01:00
tomFlowee c6e626ea01 Slight code cleanups 2024-02-12 23:01:14 +01:00
tomFlowee 2ccbb62377 Remove no longer needed versions
General cleanup.

Qt5 had the need to add versions to imports, this has (for
very good reasons) been removed from Qt6.

This removed the versions from the import lines.
2024-02-12 23:01:14 +01:00
tomFlowee bc7891757d Make the TransactionInfo on desktop better
This follows the general idea and design from mobile,
but adapted for the desktop form-factor.
2024-02-12 23:01:10 +01:00
tomFlowee f06add936e Small UX fixes
The main font on Android seems to not ship with 'semi-bold' on
various devices. Which means that the title just was the same
as the content and while I like subtlety, in this case if failed.
Better to go with bold than with no difference at all...

Additionally small spacing / sizing fixes.
2024-02-11 17:52:54 +01:00
tomFlowee 523499cf7d Fix the 'archive' button not showing up.
We now fix archive being there when it makes sense, and
also fix the focus being lost after toggling the archivi-ness of a
wallet. Which means that hitting 'Ctrl-Q' will correctly close the app
after.
2024-02-10 21:56:59 +01:00
tomFlowee a6af4c8771 Remap 'tried' to a more logical backing value.
This changes 'tried' being about the amount of peers we actually
handshaked with to the amount of peers we tried to connect to at all.
2024-02-10 21:56:59 +01:00
tomFlowee 3872b7a8ba Have the thumb be grabbable while its hiding.
The 200ms hiding animation now triggers the thumb to not be grabbably
only after it completes, not when it starts.
2024-02-10 21:56:59 +01:00
tomFlowee 037aff628b Move the paste/flash buttons on the scanner screen.
The newer Android versions overlay a "Flowee Pay pasted from your
clipboard" text.
The location is dependent on model, but generally it is located at the
bottom.
So avoid the chance when the paste button is under that helpful OS text.
2024-02-10 00:28:00 +01:00
tomFlowee 2391de723f Make Blur an optional component
As we still support older versions of Qt, this moves to load
the MultiEffect (blurring specifically) dynamically and avoids
the entire project failing if the effects module is not found.

The effects module was introduced in Qt6.5
2024-02-10 00:28:00 +01:00
tomFlowee 073ffe6e3b New feature; show fusion icon on TransactionDetails
When an input used in a transaction comes from a cash-fusion
transaction, we now put the CF logo next to it in order to
make this fact clear to the user and allow them to understand
how tracable this specific payment was.
2024-02-03 23:52:27 +01:00
tomFlowee 3599385784 minor spacing tweaks 2024-02-03 23:36:44 +01:00
tomFlowee 483b8455b2 Improve TransactionDetails screen
* make it much faster for large transactions to open by not drawing and
then hiding the inputs/outputs that are not relevant to us.

* Allow expanding cloaked addresses by clicking on them.
* instead of a right mouse button menu, show a copy icon next to each
address.
* Add the chainprefix to the clipboard on copy.
2024-01-28 14:42:53 +01:00
tomFlowee 6905ac43b1 Copyright to 2024. 2024-01-28 11:30:33 +01:00
tomFlowee 1455d90b30 Add ban / disconnect UI elements on NetView 2024-01-26 14:26:40 +01:00
tomFlowee 519b6d7532 Add button to pardon the banned.
This allows a user to re-connect to formerly banned peers.
2024-01-26 13:45:51 +01:00
tomFlowee efc4e7c7d4 Make peers show up faster in netView
A peer that has not yet handshaked is now show in this view, giving a
better indication of what is going on on platforms that do not have easy
access to a log file.
2024-01-26 12:12:45 +01:00
tomFlowee 2414c3457f Update the blocktime faster on active sync. 2024-01-25 19:47:55 +01:00
tomFlowee 4fbfb51f6b Make unconfirmed transactions show properly
After we changed the TX to always have a date at creation, the desktop
GUI code's assumptions were undermined and it would be able to show
weird stuff.
This fixes it properly and shows the right data.
2024-01-22 17:49:25 +01:00
tomFlowee b916079b63 Rename to have consistent naming. 2024-01-18 23:18:27 +01:00
tomFlowee e8a74673ba Fix 'back' after scan closing the app.
The scanner takes the focus away from the current page, so 'back' would
not see the page and we'd close the app...
2024-01-16 17:46:47 +01:00
tomFlowee 50c1442782 Use actually unique ID for selecting new wallet
When the user creates a new wallet, use the unique ID of a wallet
to find it and use it afterwards.
2024-01-16 17:32:56 +01:00
tomFlowee bebb53b670 Add ability to scan a private key on import 2024-01-16 17:32:56 +01:00
tomFlowee 115c0be717 Redo the checkbox and show tooltip on mobile
Use the proper configuration options of the class we're inheriting from
and make the title label be the 'contentItem'.
2024-01-16 17:32:56 +01:00
tomFlowee 5b8e5ecf09 cleanups of QR showing 2024-01-16 14:40:37 +01:00
tomFlowee d92db6208a Minor UX fixes around wallet management
- Make sure we always set the proper wallet on create, this would
fail on the very first after the initial wallet being created.

- Don't allow marking the initial wallet as archived in the UI
as that is a non-reversible action. The app will do it automatically
after a couple of weeks.
2024-01-16 10:48:23 +01:00
tomFlowee 88dd71b9ab Add 'copy address' menu option in the coin-selector. 2024-01-15 20:17:10 +01:00
tomFlowee 3c9b1e7d32 For a private key, allow showing QR. 2024-01-15 20:16:47 +01:00
tomFlowee 0284e81a04 Add various (UX) features
This adds a context menu to open the transaction in the blockchair
explorer.
We also show a visual feedback on copying the txid.
And we update the blocks past to be number of confirmations and avoid
any confusion.
2024-01-15 19:27:33 +01:00
tomFlowee bdd64679b6 Make a tx show the creation time instead of mined
This stores the time of a transaction in the store of the wallet, and
indeed sets it when it is added to the wallet first time.
For instance when we create it or when the tx is first sent to us at
initial broadcast.

We add some logic to the model in order to put a bit more effort into
finding times of a transaction that did not get mined and (before this
code) did not get its time of creation set. Mostly this is about
rejected transactions. And there we guestimate the time instead.
2024-01-15 18:24:40 +01:00
tomFlowee d101945019 Mark rejected transactions clearer as such. 2024-01-14 14:30:29 +01:00
tomFlowee c802ca4b83 Add backup height to the UI for non-HD wallets 2024-01-14 13:52:46 +01:00
tomFlowee 9d47c69b08 Fix backup screen showing incorrect start-height.
It now correctly shows the blockheight that the wallet was created at,
which makes sense to backup.
2024-01-13 18:17:08 +01:00
tomFlowee 39232e379c Add the Hausa translator here 2024-01-09 21:04:48 +01:00
tomFlowee 6161a43dac Add a statistics page to the Netview 2024-01-06 23:10:50 +01:00
tomFlowee e7d3edd416 Re-introduce the blur for balance
After the Qt6 port we lost that, but now this is again supported
with a standard QML component.
2024-01-06 22:11:00 +01:00
tomFlowee 0b7587b51b Refactor the NetView (peers dialog)
This is likely the oldest component in the app and it was
really in need of a rewrite.
The state of peers is shown much clearer now, we use a proper
model in order to avoid the jumping and we use a more safe
way of getting at the data.
2024-01-04 23:20:28 +01:00
tomFlowee b0a0528b93 Reviewed the checkbox 2024-01-04 22:12:08 +01:00
tomFlowee 3115f1527d Make indents more readable 2024-01-04 22:12:08 +01:00
tomFlowee 6f9f17a46b Make scanning simple QRs better.
This specifically allows pasting and scanning of bitcoincash addresses
without the 'bitcoincash' prefix.
Additionally this cleans up the QRScanner API a little and merges two
methods.

Last, at popular request, this makes showing the address on the
confirmation screen default to be on.
This allows people to actually verify the address they pay to.

Except when paying to a BIP70 payment because that is practically
speaking a system that avoids talking about addresses in the first
place. No point in trying to verify the actual address THERE.
2023-12-22 19:25:16 +01:00
tomFlowee b317e20bdf Make pressing back on popup close popup
All key handlers should act on 'pressed' instead of 'released' in order
to avoid a parent stealing a key from a child.
2023-12-07 12:55:39 +01:00
tomFlowee 6bafcecde9 Wrap the GuiSettings in a Flickable
For some screens it would not fit anymore on one screen.
2023-11-06 20:03:52 +01:00
tomFlowee e2c5d7191e Avoid buttons overlapping. 2023-11-06 19:48:13 +01:00
tomFlowee d976ebbb59 Set focus properly after scanning.
In the case where there is no specific input needed, because the amounts
were all specified, we still need to set the focus to the page because
otherwise 'back' / 'esc' don't behave correctly.
2023-11-06 17:17:18 +01:00
tomFlowee 2279369569 Fix typo in language-name
Thanks for Georg for reporting!
2023-11-06 16:29:01 +01:00