ThomasV
8e3a3cefcf
qt: do not mutate already saved invoice after editing amount.
...
Also show empty an string for invoices that do not have an amount,
similar to the requests list.
3 years ago
ThomasV
479f952c9d
follow-up ba2faa8. fixes #8294
3 years ago
ThomasV
ebdebd18b4
qml: fix type hints in qeinvoicelistmodel
3 years ago
3rd Iteration
83ee260ab7
Add Device IDs for DIY Jade on M5StickC-Plus ( #8291 )
3 years ago
ThomasV
157954d4ff
qml: do not block access to BalanceSummary if we are not connected. Display warning instead
3 years ago
Sander van Grieken
8bb2464acd
qml: add haptic feedback for android. Also preload most used classes to reduce
...
lag on first use.
3 years ago
Sander van Grieken
e362ac52fa
qml: styling
3 years ago
Sander van Grieken
01c31edae2
qml: force same auto-capitalizing behavior on PasswordField regardless of echoMode
3 years ago
Sander van Grieken
ba2faa8c9f
qml: avoid adding duplicate request/invoice to listmodel
3 years ago
Sander van Grieken
86711a6a99
qml: icon
3 years ago
Sander van Grieken
0ce3559d62
qml: trustedcoin icon in 2fas wizard disclaimer
3 years ago
Sander van Grieken
ffac79c324
qml: follupup prev
3 years ago
Sander van Grieken
4c87773174
qml: move user_knowns_press_and_hold to config
3 years ago
ThomasV
198ca10cd0
qml: add InfoTextArea about PressAndHold
3 years ago
ThomasV
03fbf6c3d8
qml: show lightning can send/receive amounts in balance details,
...
rather than in requestDetaildDialog.
Also remove junk code copy-pasted from WalletDetails.
3 years ago
ThomasV
545ee24f46
Qt: move new_channel_dialog to main_window and test available amount beforehand
3 years ago
ThomasV
da802d20ad
qml: make zero balance visible in balance details. Disable open channel button if there is no confirmed balance
3 years ago
ThomasV
84cb210e7e
qml TxDetails: do not show rbf buttons if the tx is local
3 years ago
ThomasV
9eb59fc360
follow-up 56e685f: amount_sat may be None or max
3 years ago
ThomasV
d0947bc0a6
follow-up 48689ecc89
3 years ago
ThomasV
48689ecc89
qml tx details and rbf dialogs: use a single InfoTextArea, to the
...
top of each dialog.
Do not display 'cannot bump fee' as the first thing we see when we
enter the bump fee dialog; suggest to move the slider instead.
3 years ago
ThomasV
ba82813c06
qml InvoiceDialog: remove delete button, it only makes sense if you visit the list
3 years ago
ThomasV
02f093c2d2
qml SwapDialog: move userinfo to the top, make it constant, add padding and labels below the slider
3 years ago
ThomasV
a753f34c09
Qt: rename utxo menu action to 'privacy analysis'
3 years ago
ThomasV
6d876da1c4
qml InvoiceDialog: update userinfo messages
3 years ago
ThomasV
d6cbaaa2e9
qml InvoiceDialog: show invoice type in the title, fallback address in the details
3 years ago
ThomasV
ad18298878
qml: Give user feedback after bumping the fee.
...
This is better than nothing, but not ideal. This window should
have a general purpose 'userinfo' field, like InvoiceDialog,
that would also display 'Broadcasting...' while the tx is being
broadcast.
Note that in order to bump the fee again, the user will have to
leave this window and open it again.
3 years ago
ThomasV
f396d15146
qml: (clarity) use separate slots for sign and sign_and_broadcast.
3 years ago
ThomasV
54bb42f82c
adb: take locks in get_balance. fixes #8200
3 years ago
ThomasV
fb47346ed3
follow-up 2cbb16ae4b. fixes #8290
3 years ago
SomberNight
fc6cbb39ea
qml: QEConfig.formatMilliSats to use config.format_amount
3 years ago
ThomasV
986955a6e8
qml: allow user to delete invoices and requests from the list screen
...
also, delete expired requests before loading list
3 years ago
ThomasV
d4aeeaf541
follow-up c98b9e8d7b
...
(unintended deletion)
3 years ago
SomberNight
0e5464ca13
android build: enable asserts, and add sanity-check for it
...
Note that 0f541be6f1 added a warning log if asserts are disabled.
It is intentional that these two things are in separate files:
We always want to log that warning, even if someone is using electrum as a library.
However, in that latter case, I think it's fine not to sys.exit(), but leave the decision up to the library user.
Similar thinking when running from source: let's log the warning but don't sys.exit().
3 years ago
ThomasV
847c8d4941
balance details: use onClicked event. Early return if balance is not available
3 years ago
ThomasV
c98b9e8d7b
qml: dashboard
...
Balance details are shown if the user presses and holds the
balance area; the idea is that this should be less chaotic
than if the popup is triggerred by a simple click. However,
we might as well try with a simple click, because we already
do it with transaction details; I am not sure what is the best
option, we should try both.
This also makes 'new channel' and 'swap' buttons available from
theBalance details, so that users do not need to visit the
channels list.
3 years ago
Sander van Grieken
478937b8d2
make flake8 not not happy
3 years ago
Sander van Grieken
2bdc303662
qml: keep lnurlData even after bolt11 has been retrieved, add isLnurlPay property and save bolt11 before triggering pay
3 years ago
Sander van Grieken
ec2f903573
qml: force Pin dialog above other dialogs
3 years ago
Sander van Grieken
244ead2624
qml: auto-pay if entering InvoiceDialog from a lnurl-pay dialog
3 years ago
Sander van Grieken
cf2ba2a5bd
qml: replace assert by exception
3 years ago
SomberNight
0f541be6f1
log a warning if asserts are disabled
...
Maybe we should refuse to start, if launched with the main script.
But note that __debug__ is False on Android atm, as python is launched with -OO.
3 years ago
ThomasV
56e685feaa
invoices: Use the same base method to export invoices and requests.
...
This fixes an inconsistency where the 'expiration' field was
relative for invoices, and absolute timestamp for requests.
This in turn fixes QML the timer refreshing the request list.
In order to prevent any API using that field from being silently
broken, the 'expiration' field is renamed as 'expiry'.
3 years ago
ThomasV
2cda5a1a7b
Merge pull request #8287 from SomberNight/202303_qt_netdlg_icon_selected
...
qt network dialog: use icon for selected server, instead of "*"
3 years ago
Sander van Grieken
168efa6cb4
qml: handle scenario for non-lightning wallet scanning lightning invoice with fallback address
3 years ago
Sander van Grieken
b1b71002e6
qml: followup b8aa87ded8
3 years ago
SomberNight
771ffa371c
qml: mempool histogram color bar: show tooltips
...
to teach meanings of colours and positions in the bar
3 years ago
SomberNight
f7e7b4c9db
qml: mempool histogram color bar: flip sign in feerate label
...
I think this is more intuitive as a "greater than" relation sign
than to use a signal that the label is for the leftmost point in the coloured bar.
As in, "feerates not displayed towards that direction are even higher than this value".
3 years ago
Sander van Grieken
b8aa87ded8
qml: handle phase-2 lnurl errors from within WalletMainView, add sanity check on
...
the bolt11 invoice we get from the service
3 years ago
Sander van Grieken
e476e60247
qml: add note regarding validity of qetxdetails instance and reset tx/txid members
3 years ago