86 Commits

Author SHA1 Message Date
pythcoiner
f075b3de74 gui(installer): 37dab1bff29333e6f73616238d5e608975002ce7 make only the warning displayed when a device does not support tapminiscript, this commit add also the 'selected' icon 2024-11-04 18:37:34 +01:00
Michael Mallan
9a3bc87a75
gui(installer): update template SVGs 2024-11-04 16:53:57 +00:00
edouardparis
789c2aebfb Add new template: multisig security wallet 2024-10-30 14:00:03 +01:00
edouardparis
bd03cc9cff Add inheritance and custom templates 2024-10-29 14:52:09 +01:00
edouardparis
5889e60dc2 Add descriptor template description step 2024-10-29 11:33:48 +01:00
edouardparis
67c9262a30
Merge #1370: [GUI] Indicate wallet is syncing after completing installer
6f4eb79a5a45751a1c919565ea9c88f59fbda0ab gui: refresh cache more often while height is 0 (Michael Mallan)
a51110269c96e7a9d7c4143e0bd6f8cf27a703a3 gui(home): indicate that wallet is syncing (Michael Mallan)
b452966653da1f2d857dd5901972171aa9d1250c gui(home): track blockheight from cache (Michael Mallan)
1d1e735ae975bb73af5389090e1eee68c727c7ea ui: add loading spinner that types text (Michael Mallan)
3c46a7337c57ef646626d052a0ab23a7fa0ecb17 ui: add carousel loading spinner (Michael Mallan)
e4c1ab106d74ad193aa1ba2f5746ce598c4801e5 ui: render amount with chosen colors (Michael Mallan)
013feb3909ebed0a8850a51a7d61383f327b5d4d ui: refactor amount function (Michael Mallan)

Pull request description:

  This is to resolve #1361.

  The home page considers the wallet to be syncing if its height is 0. In this case, the balance will slowly blink and a "Syncing..." text will appear just below.

  The home page will check the wallet's height upon each cache refresh, and will reload the home page once the syncing has completed so that the updated balance is displayed without the user needing to do anything.

  Both the blinking balance and "Syncing..." text use a new `Carousel` widget that cycles through different child widgets at a specified rate.

  EDIT: I've added an extra commit to address #1363 as that is also related to the wallet height and cache refresh.

ACKs for top commit:
  edouardparis:
    ACK 6f4eb79a5a45751a1c919565ea9c88f59fbda0ab

Tree-SHA512: 04214ccb1cf998ae6f7589f2c37335416a6d39b668269c4e07e30c8713e1a0e9e46257c60cea7b19ee6d6e35cbdccaf1122d25a66e6e7e905de51fce185f9180
2024-10-18 14:46:14 +02:00
edouardparis
0c2f0de951 Add light background to active buttons 2024-10-14 12:22:10 +02:00
edouardparis
5c9171d090 remove unused picklist theme 2024-10-14 12:02:13 +02:00
edouardparis
08854c4940 change secondary button ui
The secondary button is light grey border and transparent
background that has border and text green on hover.
It brings consistency with item list selection that
has green border on hover.
2024-10-14 11:36:38 +02:00
Michael Mallan
1d1e735ae9
ui: add loading spinner that types text 2024-10-08 10:46:07 +01:00
Michael Mallan
3c46a7337c
ui: add carousel loading spinner 2024-10-08 10:46:05 +01:00
Michael Mallan
e4c1ab106d
ui: render amount with chosen colors 2024-10-07 15:31:14 +01:00
Michael Mallan
013feb3909
ui: refactor amount function
The `amount` function can call `amount_with_size` rather than
repeating the underlying call to `render_amount`.
2024-10-07 15:28:04 +01:00
edouardparis
7124e09b75 Check coldcard version and request user to upgrade
Close #1343
2024-09-17 11:56:51 +02:00
edouardparis
92ee94edbc Add login page to connect to remote backend 2024-08-20 17:40:51 +02:00
Aaron Carlucci
e79674972d gui: remove extra spacing for amounts and default amounts which don't contain a non-zero character to 0.00000000 2024-07-31 11:01:04 +02:00
Aaron Carlucci
59035060e9 gui: refactor amount formatting 2024-07-29 18:06:47 +02:00
Aaron Carlucci
c6b8133286 gui: add space separator to amount integer 2024-07-11 11:35:34 +02:00
pythcoiner
a8e256eb6b clippyfy 2024-06-25 03:01:29 +02:00
edouardparis
dddd62b31e
Merge #1113: Remove ui example
64370af843a6e7442b1c1813fc22c34be68a43d8 remove ui example (pythcoiner)

Pull request description:

  closes #1072

ACKs for top commit:
  jp1ac4:
    ACK 64370af843.

Tree-SHA512: 6efa8d95a16060db5efcfcdc466dfaa41dab583f4faeb5ce7a3f3fd072da11139cbbb9447a6b78813d65f6a48c5b400a0bca1f8cdb4993ad8af560340101bba0
2024-06-10 16:23:59 +02:00
pythcoiner
64370af843 remove ui example 2024-06-10 02:56:46 +02:00
edouardparis
a9cfe45c0a fix ui: wrong usage of widget state
In a previous PR #1096, we made usage
of the widget state instead of the component state to
set the collapsed value when the widget is created.
But the widget is reset at each refresh of the interface,
instead the component state does not change.

This commit makes the distinction between the two by
having the widget state as an initial state and the component
one as a capture of the user clicks.
2024-06-06 13:36:03 +02:00
edouardparis
dee083c6d1 Add blue banner for testing network 2024-05-30 10:30:24 +02:00
pythcoiner
d770e62e19 Collapse advanced settings menu and grey-out Next button in installer if mainnet wallet already exists 2024-05-27 15:39:27 +02:00
edouardparis
6531cc293d fix local date time and bump chrono
close #1057
2024-05-24 12:03:04 +02:00
edouardparis
6b0c93c5c3 Add jade hardware wallet 2024-05-06 14:50:45 +02:00
edouardparis
9cd36a76d0 gui: enable advanced text shaping
enable text shaping and font fallback,
It allows emojis
2024-05-03 14:48:24 +02:00
edouardparis
acea67bc35 Remove transaparency from PickList for tiny-skia 2024-05-03 12:27:12 +02:00
edouardparis
4920291d04 fix ui button and badge width 2024-05-03 12:27:12 +02:00
edouardparis
de37111637 Change text size 2024-05-03 12:27:12 +02:00
edouardparis
fdcc302367 gui: iced-0.12 2024-05-03 12:27:12 +02:00
edouard
64a626d7e8 gui: bump iced 0.10 2024-05-02 14:46:31 +02:00
edouardparis
d722ca1e4d Use text size constant 2024-04-02 17:04:03 +02:00
Antoine Poinsot
4f78d3b3d0
Merge #986: Gui taproot
b7f35c03300710c71f5e8a4af471260f0a35ddc0 Add installer dropdown for advanced settings (edouardparis)
59a4b181c1e1be64ed8122edd95a7378ebef39af fix: merge tap_script_sigs from signed psbt (edouardparis)
02a52b98bcdbcf62d42c748b154beaee76d0f26a add ledger version support for tapminiscript (edouardparis)
2debb32181f2365fb4e30d9d7e28a4cb7c86cd65 Add taproot support to installer descriptor editor step (edouardparis)
8bc0cac00a4894c316285223924e91a85f1c6088 gui: async-hwi:0.0.16 (edouardparis)
4a4c78d5f7ed43aae1199481fb060e77d1d88c80 bump liana:master (edouardparis)

Pull request description:

  based on #985

ACKs for top commit:
  darosior:
    tACK b7f35c03300710c71f5e8a4af471260f0a35ddc0 -- i've lightly tested this a couple times. It's good enough to get in and get tested along with the other changes.

Tree-SHA512: 4481be4797cf6fa901de9fec989837381c7817d18dd2c9a45ff1802a15982d1251696e577fb23da2d4ca9f0ed27044dade28f0e7b56703594dae4b3a5065306b
2024-03-20 19:19:58 +01:00
edouardparis
b7f35c0330 Add installer dropdown for advanced settings 2024-03-20 17:33:39 +01:00
edouardparis
2debb32181 Add taproot support to installer descriptor editor step 2024-03-20 17:33:39 +01:00
pythcoiner
9415dc9390 new_amount_btc 2024-03-18 21:23:56 +01:00
edouardparis
e05e421368 refac ui: expose badge_pill width 2024-03-13 15:36:37 +01:00
pythcoiner
66f392c754 fixed size for badges 2024-02-24 20:09:46 +01:00
edouardparis
3196a8025e gui: bump liana:master and async-hwi:master 2024-01-22 15:49:56 +01:00
edouardparis
7d97f466ef ui: add processing hw notification to components 2024-01-15 11:58:51 +01:00
edouardparis
a539cfe157 Add ui component toast from iced repo examples 2024-01-12 15:56:46 +01:00
jp1ac4
838550b917
gui: change radio border color 2023-12-28 17:22:40 +00:00
Antoine Poinsot
2b5fe01cf0
gui: make the trash button prettier
After feedback from Kevin.
2023-12-13 14:12:07 +01:00
edouardparis
3372e2f1e0 gui: grey out hws with addr verif unimplemented 2023-12-07 14:39:45 +01:00
edouardparis
0ef49ed3f7 gui: grey out unrelated hws 2023-12-06 16:44:25 +01:00
edouard
4be74ad496 refac hw module and add bitbox support 2023-10-24 17:23:57 +02:00
edouard
aeff735ac3 fix unconfirmed payments layouts with labels 2023-10-18 17:37:12 +02:00
edouard
9db4541952 Add labels support to gui 2023-10-18 17:37:12 +02:00
jp1ac4
9895b493f1
gui: trim text input strings
This is applied to all forms except those concerning fingerprint labels
and the new GUI labels feature.
2023-10-06 01:48:41 +01:00