ThomasV
5e29b94561
qml MessageDialog: split messages into title and header message. hide header if it is empty.
2023-04-18 14:07:41 +02:00
ThomasV
f513ba4654
messageDialog: change title to Question for yesno dialogs
2023-04-18 10:32:07 +02:00
ThomasV
86aca1e24e
qml: change title of ConfirmTxDialog
...
From a user perspectuve, what they are asked to do is select the mining fee.
2023-04-18 10:20:54 +02:00
ThomasV
dde609872d
follow-up a03f4769ca
...
It is annoying that this kind of bug (missing parameter) is silent.
2023-04-18 10:16:58 +02:00
SomberNight
5c83327eb0
qml: small change to some qsTr() strings to reuse existing translations
...
not all ":" suffixes are removed, only the ones where this allows reusing translations
2023-04-17 19:56:09 +00:00
ThomasV
a03f4769ca
auth_protect: pass authMessage in the auth_protect decorator,
...
instead of relying on side-effects
This is probably safer, and also more self-contained.
2023-04-17 18:17:29 +02:00
ThomasV
73dd6827e0
add auth_message to delete_wallet
...
This changes the flow slightly: pin confirmation is asked after
we have checked that the wallet does not have open channels,
which is better
2023-04-17 17:58:19 +02:00
ThomasV
e430063351
PIN dialog: display auth message as title, if available
2023-04-17 17:08:11 +02:00
Sander van Grieken
5b6a16e097
qml: add auth_message to AuthMixin, which is displayed above the Pin entry textfield, or
...
shown in a messageDialog for confirmation.
2023-04-17 16:32:20 +02:00
Sander van Grieken
62af3265cb
qml: disable menu option associated with current page
2023-04-17 15:36:13 +02:00
Sander van Grieken
73f89d516a
qml: don't determine channel state on gui string, use state enum instead
2023-04-17 13:52:16 +02:00
Sander van Grieken
a1314f5992
qml: only show channel ratio bar when appropriate
2023-04-17 12:48:51 +02:00
Sander van Grieken
3be5db15d2
qml: don't show channel backup data in share screen
2023-04-17 12:19:59 +02:00
Sander van Grieken
d80de3424b
qml: piechart improve font rendering, use app font
2023-04-17 12:19:05 +02:00
Sander van Grieken
01b9cee643
qml: add recoverable channels warning to OpenChannelDialog
2023-04-17 11:41:02 +02:00
Sander van Grieken
93ef013111
qml: fix recoverable channels setting
2023-04-17 11:40:09 +02:00
Sander van Grieken
25c59f700c
qml: ConfirmTxDialog amount fixed font
2023-04-17 10:42:55 +02:00
Sander van Grieken
1bca301661
qml: piechart visible also when only unconfirmed, add unconfirmed to legend
2023-04-17 10:35:31 +02:00
ThomasV
08c478f8d2
network: use IntEnum for connection states. Export user-visible strings in get_connection_status_for_GUI
2023-04-14 15:55:03 +02:00
Sander van Grieken
e059a3c04b
qml: apply long-press implementation also on ReceiveRequests
2023-04-14 15:02:38 +02:00
Sander van Grieken
3cab3b86b4
qml: remove SwapProgressDialog, introduce qeswaphelper.state and enable dialog elements
...
depending on qeswaphelper.state
TODO: we can now retrieve the pairs from the service asynchronously, which should eliminate
the startup delay when showing the SwapDialog
2023-04-14 14:32:56 +02:00
Sander van Grieken
79d5711003
qml: InfoTextArea add Spinner to styles
2023-04-14 14:32:56 +02:00
ThomasV
f562ad38cf
qml: add confirm dialog before disabling recoverable channels (similar to trampoline)
2023-04-14 14:18:49 +02:00
Sander van Grieken
21d1a6239f
qml: always pass wallet password to init_lightning.
...
emit also dataChanged so UI updates node pubkey
2023-04-14 12:21:38 +02:00
ThomasV
8e9491e330
messageDialog: move yes to the right, no to the left.
...
According to the Google Android guidelines, "The dismissive action
of a dialog is always on the left."
source:
https://uxplanet.org/primary-secondary-action-buttons-c16df9b36150
2023-04-13 10:49:41 +02:00
Sander van Grieken
f43cd7b278
followup prev
2023-04-12 16:21:31 +02:00
Sander van Grieken
7a8e980712
qml: since qeswaphelper is tied to SwapDialog anyway, let's make it a direct child
2023-04-12 16:19:17 +02:00
Sander van Grieken
d5ce9c0994
qml: destroy qeswaphelper with SwapDialog and catch RuntimeErrors if qeswalhelper members are accessed after
2023-04-12 16:09:37 +02:00
Sander van Grieken
d6403400bc
qml: remove leftover commented code
2023-04-12 14:32:02 +02:00
Sander van Grieken
1a263b46be
qml: keep QEAmount instances in qechanneldetails,
...
use millisat amounts for local/remote capacity and can send/receive,
refactor channel capacity graphic to ChannelBar and use that as well
in ChannelDetails
2023-04-12 14:29:32 +02:00
Sander van Grieken
778d5f456a
qml: swap progress gimmick
2023-04-12 13:13:25 +02:00
Sander van Grieken
27cd7fe8a8
qml: deduplicate swap initiation, move to main.qml
2023-04-12 12:32:25 +02:00
Sander van Grieken
b0778d0281
qml: fix typo
2023-04-12 12:32:25 +02:00
Sander van Grieken
51356dff18
Revert "qml: add busy property and guards around swaphelper"
...
This reverts commit 5d350184a4 .
2023-04-12 12:32:25 +02:00
Sander van Grieken
9bbc354e0e
qml: refactor txaccepted/txcancelled signals to standard accepted/rejected.
2023-04-11 12:13:41 +02:00
Sander van Grieken
a0939aad75
qml: add doAccept and doReject functions to ElDialog.
...
These functions make sure no duplicate accepted/rejected signals are emitted.
2023-04-11 12:01:10 +02:00
Sander van Grieken
75f63a4666
qml: remove yesClicked signal, use accept()/accepted signal in MessageDialog.
2023-04-11 10:22:48 +02:00
SomberNight
c0f8986188
qml: QEChannelOpener: accept any connection strings other GUIs accept
...
trying to paste a bare nodeid errored silently, logging:
174.76 | D | gui.qml.qechannelopener | AttributeError("'NoneType' object has no attribute '__contains__'")
2023-04-06 14:30:36 +00:00
Sander van Grieken
2dd9b0796a
qml: right-align balance labels
2023-04-06 16:17:38 +02:00
Sander van Grieken
6cd1f553e4
qml: BalanceSummary remove height hint for fiat amount
2023-04-06 16:15:57 +02:00
Sander van Grieken
2e15899fda
followup prev
2023-04-06 16:13:37 +02:00
Sander van Grieken
f0d7983a46
qml: piechart from wallet.get_balances_for_piechart
2023-04-06 16:05:41 +02:00
Sander van Grieken
a45d2ce831
qml: highlight selected invoice, styling Invoices buttons
2023-04-06 15:21:16 +02:00
Sander van Grieken
42cb3a1377
qml: use same main-server icon as in desktop client
2023-04-06 10:36:09 +02:00
Sander van Grieken
5d350184a4
qml: add busy property and guards around swaphelper
2023-04-06 10:11:31 +02:00
Sander van Grieken
e02ca6b2d8
qml: add logging of instance around SwapDialog create/destroy and swap trigger
2023-04-06 09:26:52 +02:00
Sander van Grieken
bcbcf18c4d
qml: arrows consistency.
...
replace with unicode arrows once we can assure these glyphs are included on device
2023-04-06 09:16:56 +02:00
ThomasV
b9c81b0fcb
qml rbf dialogs: use 'new fee', 'new fee rate' instead of 'mining fee'
2023-04-05 15:08:01 +02:00
SomberNight
8ea63f9bde
qml network overview: show server height, if lagging
...
to see how many blocks it is behind
2023-04-05 11:21:31 +00:00
Sander van Grieken
dd1a83e1c0
qml: fixes
2023-04-05 13:18:50 +02:00