2007 Commits

Author SHA1 Message Date
edouardparis
14f2a318f9
Merge #1428: gui(installer): align title & descrpition in path cards
f6c953fb1dcf16b303d8382160dbbffbde060b2d gui(installer): align title & descrpition in path cards (pythcoiner)

Pull request description:

  fixes #1427
  ![image](https://github.com/user-attachments/assets/4bf68994-6bb7-4929-9a98-8cda7a4039fd)

ACKs for top commit:
  jp1ac4:
    tACK f6c953fb1dcf16b303d8382160dbbffbde060b2d.

Tree-SHA512: f377a509156363f611a48a00dbd219b193d5542f5d2862c405c492bddc139d96c2b5b35c268f71ee02cc20b2b88c838e591cbb7f73ebfc1f740952f520f366f6
2024-11-04 19:31:17 +01:00
pythcoiner
f6c953fb1d gui(installer): align title & descrpition in path cards 2024-11-04 18:21:24 +01:00
edouardparis
30024e576e
Merge #1422: gui(installer): apply wording changes to installer templates
9a3bc87a755d8290f2b89847431a0fe2eb889370 gui(installer): update template SVGs (Michael Mallan)
e0434013d36376670fd16db1cc9ef9488f9fea1e gui(installer): update general templates wording (Michael Mallan)
ca276bf563990cfd795f52a66e8021c23bde7279 gui(installer): remove prompts for spending paths (Michael Mallan)
3764c972f2431545a23434bd01003de8678638a2 gui(installer): change button text to Next (Michael Mallan)
4d05e6127e68b5b6000a1f2697ae47bc71bd47c4 gui(installer): remove templates introductory text (Michael Mallan)
8183370f561ee4ad4de6ae733c2eb1f8107b521c gui(installer): update template names & descriptions (Michael Mallan)
97c9affd9cb400fee516dd2d566ce85af96abb6b gui(launcher): refer explicitly to liana wallet (Michael Mallan)

Pull request description:

  This is to resolve #1418.

ACKs for top commit:
  edouardparis:
    ACK 9a3bc87a755d8290f2b89847431a0fe2eb889370

Tree-SHA512: 0f90d405c84f6172f12b309f5f06dc5a09ac18071cbf8d81debdb4dde2740d7120612f1ebe918e87287acc6b58a92bbbcc9c547c9a8e8d86006884a9fa5f1c6c
2024-11-04 18:12:23 +01:00
edouardparis
bd3422ca35
Merge #1412: gui(installer): make edit key modal scrollable
47a5d3218503294065acebaee1add5b7d52d3a81 gui(installer): make edit key modal scrollable (Michael Mallan)

Pull request description:

  This is to fix #1402 following the suggestion in https://github.com/wizardsardine/liana/issues/1402#issuecomment-2448730840.

ACKs for top commit:
  pythcoiner:
    tACK [47a5d32](47a5d32185)
  edouardparis:
    ACK 47a5d3218503294065acebaee1add5b7d52d3a81

Tree-SHA512: 4bf84e041e4e2ae6cbb7645a75290912d975c7c7312e7779b95f855753dc8000ff6f377b13c85ed69cd68be721fde2998c6c1f3034b92b0dab03a07edc82af68
2024-11-04 18:08:16 +01:00
Michael Mallan
9a3bc87a75
gui(installer): update template SVGs 2024-11-04 16:53:57 +00:00
Michael Mallan
e0434013d3
gui(installer): update general templates wording 2024-11-04 16:53:55 +00:00
Michael Mallan
ca276bf563
gui(installer): remove prompts for spending paths 2024-11-04 16:53:53 +00:00
Michael Mallan
3764c972f2
gui(installer): change button text to Next 2024-11-04 16:53:49 +00:00
Michael Mallan
4d05e6127e
gui(installer): remove templates introductory text 2024-11-04 16:50:00 +00:00
Michael Mallan
8183370f56
gui(installer): update template names & descriptions 2024-11-04 16:49:58 +00:00
Michael Mallan
97c9affd9c
gui(launcher): refer explicitly to liana wallet 2024-11-04 16:49:56 +00:00
edouardparis
103651ec7f
Merge #1430: gui(installer): better warn. if a signer is not compatible w/ tapminiscript
37dab1bff29333e6f73616238d5e608975002ce7 gui(installer): better warning if a signing device is not compatible w/ tapminiscript (pythcoiner)

Pull request description:

  - replace this warning:
  ![image](https://github.com/user-attachments/assets/113f9608-a695-4389-8c53-f0da40fcb04f)
  by this one:
  ![image](https://github.com/user-attachments/assets/da666783-88ef-466c-a16a-5619c122d687)

  - before if a non tap miniscript compatible device was selected, the selected icon was displayed, now the warning icon have priority:
  ![image](https://github.com/user-attachments/assets/54b0e44e-c169-4aa0-b45d-7609b735cee2)

ACKs for top commit:
  edouardparis:
    utACK 37dab1bff29333e6f73616238d5e608975002ce7

Tree-SHA512: 5b23cf097618ea19adde4477319c431308946a46d9c92d898da62c16b3a27977cb5ac7b27e802ac4ef85c94ebc610c4621a26ceace78f94fb0e26558b9f389ca
2024-11-04 17:46:24 +01:00
edouardparis
c4370f8d41
Merge #1415: gui(installer): add space at bottom of pages
a105c495005ba715883a6e9a53fbdde93e7741ae gui(installer): add space at bottom of pages (Michael Mallan)

Pull request description:

  This is to fix #1410, including for the mnemonic and descriptor backup steps.

  The space height in all cases will be 70.0 when combined with the existing vertical spacing between elements.

ACKs for top commit:
  pythcoiner:
    ACK tested [a105c49](a105c49500)
  edouardparis:
    ACK a105c495005ba715883a6e9a53fbdde93e7741ae

Tree-SHA512: 5e9f27b80490e1eea0690750a52c650c7ea607c9c42a25cb0e96dab779d691e057a2629c00c772b0c5101d4054108eb8f33ea984b837026bb858824221aca71f
2024-11-04 17:37:07 +01:00
pythcoiner
37dab1bff2 gui(installer): better warning if a signing device is not compatible w/ tapminiscript 2024-11-04 16:54:55 +01:00
edouardparis
b6e50e5b2c
Merge #1421: Refresh cache more often in GUI while wallet or blockchain is syncing
918909db235ff8a0886a9f74d7ac3b1caec83324 gui: include last poll for cache refresh interval (Michael Mallan)
c915970c7b00adbd27c0d8a20116d1bda57a8d2c gui(home): pass sync status directly (Michael Mallan)
92a4a4f8dcaa75bc7181767b1958e39c94e8ad3f gui(cache): store last poll at startup (Michael Mallan)
acf14c6d734fc238dc1f44a4b5bab1f3f6411c9b gui: refresh cache more often while syncing (Michael Mallan)
e419784e9f2da76e8e86c03c8773f0dcb2a883da gui: move sync status function to wallet module (Michael Mallan)

Pull request description:

  This is to resolve #1414.

  In the end, I felt it was simple enough to include commits that cover both parts of #1414 (the short-term change and the follow-up).

  I start with the short-term change (setting the refresh interval ignoring the last poll logic) and then follow with commits that cover all syncing statuses.

  I don't use as high a refresh frequency for a remote backend as for a local backend, but these values can be easily changed if required.

ACKs for top commit:
  pythcoiner:
    tACK [918909d](918909db23)

Tree-SHA512: 6b47f315b0d50b2898435247b288562413e0f0abf520747edc67166c66153f7432e65ae5b3337bba67c71ade7181110e5dbfbc58df3b8510bfb5d9eb29b2bb02
2024-11-04 16:11:32 +01:00
edouardparis
3549a712d5
Merge #1400: gui: add support for tapminiscript on bitbox02
01f6d2b76985a92ec19ccd37a8e4005219b94563 gui: add support for tapminiscript on bitbox02 (pythcoiner)

Pull request description:

  This PR is build on top of #1357, with few adds:
  - get the version from bitbox device
  - check the version for taproot support
  - copy `tap_script_signs` & `tap_key_sig` if present in the pruned psbt after signature

  Tested spending by internal key & taptree w/ differents setups

  ~~Note: this PR use `bitbox-tapminiscript` branch of `async-hwi`~~

ACKs for top commit:
  edouardparis:
    ACK 01f6d2b76985a92ec19ccd37a8e4005219b94563

Tree-SHA512: aa66a0ebe8553fd13dd5e279adaf1360cdce0d4ccb09f49181f20bc5e4c3c653c0ab056c35ac5cf6ccb3eeb696dcfd94463e6235d1cdb2063ecb503695ad4b99
2024-11-04 14:25:01 +01:00
pythcoiner
01f6d2b769 gui: add support for tapminiscript on bitbox02 2024-11-04 12:17:48 +01:00
edouardparis
d87da1eeaf
Merge #1419: gui(edit key modal): increase size of the closing icon
f4596ab4b0974d0b3986c0431337b8a304333278 gui(edit key modal): increase size of the closing icon (pythcoiner)

Pull request description:

  Fixes #1409
  ![image](https://github.com/user-attachments/assets/dda46bf0-6ada-4dd7-a88a-973a4b989765)

ACKs for top commit:
  jp1ac4:
    Tested ACK f4596ab4b0.

Tree-SHA512: ac0ace1ca0c6463d05daf4fb9fb770e9a6be639633dbd3bfd019c9c2de193b4141d3fbb32d0c9f71b97694339aa6b5e4a06c2e538f8c0394e60ad71ff9edde8c
2024-11-04 12:17:29 +01:00
edouardparis
472b070002
Merge #1413: bump gui msrv to 1.71.1
456fce35a58564b4a3195eb17e906965f42a9d5a bump gui msrv to 1.71.1 (edouardparis)

Pull request description:

  This PR updates our build system to use rust 1.71.1, required by the last version of async-hwi

ACKs for top commit:
  edouardparis:
    Self-ACK 456fce35a58564b4a3195eb17e906965f42a9d5a

Tree-SHA512: 2b5431d4ffc92d6f7dc03fd0524ea1f534489025c3e120f6be5f08af2c2c973908f03f1dabacfd74e9b3820d4e9d5cec0a4d6184c641c1b9096646a4508ea3ca
2024-11-04 11:49:45 +01:00
edouardparis
456fce35a5 bump gui msrv to 1.71.1 2024-11-04 11:30:05 +01:00
edouardparis
a061d8f3e2
Merge #1417: gui(installer): re-add next button when starting managed bitcoind
322597f474a7b726540f28e383fb19c76e161d2b gui(installer): re-add next button (Michael Mallan)

Pull request description:

  This Next button was accidentally removed in commit bd03cc9cfffb7c5c45dd0dd60d54db807d4e02a2.

ACKs for top commit:
  pythcoiner:
    tACK 322597f

Tree-SHA512: 35e17d52b3ba9145078e7a70bc732792a21e6a903e49c16b5d3fa79cc9b4a6e69111029476b338f592402bfcfac12e2b9ff77fe57eaddb9a62f5a52870893698
2024-11-04 09:58:34 +01:00
pythcoiner
f4596ab4b0 gui(edit key modal): increase size of the closing icon 2024-11-01 16:14:37 +01:00
Michael Mallan
918909db23
gui: include last poll for cache refresh interval 2024-11-01 12:31:42 +00:00
Michael Mallan
c915970c7b
gui(home): pass sync status directly 2024-11-01 12:31:40 +00:00
Michael Mallan
92a4a4f8dc
gui(cache): store last poll at startup 2024-11-01 12:31:37 +00:00
Michael Mallan
acf14c6d73
gui: refresh cache more often while syncing
Refresh the cache more often while the wallet has a syncing
status of some kind in order to detect sooner that this has
finished.

This does not cover syncing scenarios that require the first poll
to be detected since we don't currently store the required info
(the last poll at startup). This should be covered in a follow-up.
2024-11-01 12:31:36 +00:00
Michael Mallan
e419784e9f
gui: move sync status function to wallet module
This will make it easier to reuse elsewhere.
2024-11-01 12:31:33 +00:00
Michael Mallan
322597f474
gui(installer): re-add next button
This Next button was accidentally removed in commit
bd03cc9cfffb7c5c45dd0dd60d54db807d4e02a2.

This re-adds the button with some code refactoring.
2024-11-01 10:20:48 +00:00
Michael Mallan
a105c49500
gui(installer): add space at bottom of pages
The space height in all cases will be 70.0 when combined with the
existing vertical spacing between elements.
2024-10-31 12:29:48 +00:00
Michael Mallan
47a5d32185
gui(installer): make edit key modal scrollable
This avoids problems with the "Apply" button when there are
many keys to choose from.
2024-10-31 11:09:33 +00:00
edouardparis
cbc46e9e26
Merge #1403: Disable edit of defined key in multisig template recovery path
59c73001a4c9eaa835f2a9345d995f263653ab48 Disable edit of defined key in multisig template recovery path (edouardparis)

Pull request description:

  The primary keys shouldn't be editable from the recovery path in the Multisig Savings template but only from the primary path. It could bring to weird behaviors and corner cases.

ACKs for top commit:
  jp1ac4:
    Tested ACK 59c73001a4c9eaa835f2a9345d995f263653ab48.

Tree-SHA512: 0fa72bfeac7a32fc188f041c395f46ce2e3de72d7f750343641bff68b92d885d3510f3cd4600cc09856a5192a493fe7b3afca70a7ca78c0aeeb9ee0f3411fda5
2024-10-30 17:06:03 +01:00
edouardparis
59c73001a4 Disable edit of defined key in multisig template recovery path
The primary keys shouldn't be editable from the recovery path in the
Multisig Savings template but only from the primary path. It could bring
to weird behaviors and corner cases.
2024-10-30 16:26:39 +01:00
edouardparis
799ec102a8
Merge #1396: gui: upgrade managed bitcoind version to 28.0
1bc6248063c908219d4f1e343ca487c4f64d7843 gui: upgrade managed bitcoind version to 28.0 (Michael Mallan)

Pull request description:

  This is to resolve #1372.

  Hashes were taken from https://bitcoincore.org/bin/bitcoin-core-28.0/SHA256SUMS.

  File names we use can be found here:
  2d5991cb0c/gui/src/node/bitcoind.rs (L42-L60)

ACKs for top commit:
  edouardparis:
    utACK 1bc6248063c908219d4f1e343ca487c4f64d7843

Tree-SHA512: c6c5976c357164dc2f6e31f5af7981c41ef63197bfb1aac1f54ddb30dff423796fe23957e5a2c6014fcdabb64b91057a97b22d3c9e7ea33bcfa5ce47c912846a
2024-10-30 15:29:40 +01:00
edouardparis
2d5991cb0c
Merge #1399: Template multisig security
36af35fae3f21995fcbe0c4c1a5f685a2318d0a0 refac: remove select button at the choose template step (edouardparis)
2eddbbd7000ccb8e392a3da4fd854651bf604a80 change wording in inheritance template (edouardparis)
789c2aebfb3731b43b9d1750d5586db1456c14fc Add new template: multisig security wallet (edouardparis)

Pull request description:

  ![20241029_18h22m22s_grim](https://github.com/user-attachments/assets/e87daab2-82bc-496e-bfc1-98feb9c03731)
  ![20241029_18h22m31s_grim](https://github.com/user-attachments/assets/d2e54c4d-c76b-48b2-95ae-f9482af0284d)

ACKs for top commit:
  edouardparis:
    Self-ACK 36af35fae3f21995fcbe0c4c1a5f685a2318d0a0

Tree-SHA512: 4e6617adb2eb7f0932aca8260f6fad120dcdb2aafc2c0880036bddc31874b1ba4280dbb27eb495d601a10948fb3aaf40ca4c5fd8922fc8660fc269a4c80a5cff
2024-10-30 14:39:50 +01:00
edouardparis
36af35fae3 refac: remove select button at the choose template step 2024-10-30 14:00:03 +01:00
edouardparis
2eddbbd700 change wording in inheritance template 2024-10-30 14:00:03 +01:00
edouardparis
789c2aebfb Add new template: multisig security wallet 2024-10-30 14:00:03 +01:00
edouardparis
931b625e31
Merge #1366: Add templates to installer descriptor editor
bd03cc9cfffb7c5c45dd0dd60d54db807d4e02a2 Add inheritance and custom templates (edouardparis)
5889e60dc2a3b8894195caca5c9e00f954197523 Add descriptor template description step (edouardparis)
fab3303147ad1933f9b434502b8cc5465b451dc5 installer step: ChooseDescriptorTemplate (edouardparis)
d0ec811bef457bfcb266e6d39c7aaec07e34c8e0 installer: refac setup as a list of paths (edouardparis)
5fabd987e8ade7fae38f47d34b986c3ea13718c8 move installer view module in a directory (edouardparis)
0b1932c9fac6afc63021f57ae47ee3b42125efae keep key hot signer origin (edouardparis)
e6f85227ca9020b8390ee5a3e9e07438714bb4d5 installer descriptor editor: add key module (edouardparis)
d73894dfa0143f8bdb7fcb884b9c8c6d2154382b installer: module editor (edouardparis)

Pull request description:

  WIP for #1147

ACKs for top commit:
  edouardparis:
    Self-ACK bd03cc9cfffb7c5c45dd0dd60d54db807d4e02a2

Tree-SHA512: ddf80c250cb2d4d146167c84dfbf870f3e97589bc8a634e1b276b81a68a77721d15224a71bca1271dcccc299f9f33c893bdafc6affe40d7aaba980e902f0ded7
2024-10-29 15:11:53 +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
fab3303147 installer step: ChooseDescriptorTemplate 2024-10-29 11:33:48 +01:00
edouardparis
d0ec811bef installer: refac setup as a list of paths 2024-10-29 11:33:48 +01:00
edouardparis
5fabd987e8 move installer view module in a directory 2024-10-29 11:33:48 +01:00
edouardparis
0b1932c9fa keep key hot signer origin 2024-10-29 11:33:48 +01:00
edouardparis
e6f85227ca installer descriptor editor: add key module 2024-10-29 11:33:48 +01:00
edouardparis
d73894dfa0 installer: module editor 2024-10-29 11:33:48 +01:00
edouardparis
131be90641
Merge #1386: [GUI] Skip loading screen for existing wallets
0a674d591affd6190d5b4979718fb09d3d8f79f3 gui: load app directly if wallet was previously synced (Michael Mallan)
1408f66963cf6ae5f2fe2ac29d2cd91f747477bc gui(home): indicate if blockchain is syncing (Michael Mallan)
62788d105c2fcdb1e6c400ca6f5f19138378ae0b gui(cache): include sync progress (Michael Mallan)
f3a136c30be0e443cebae85785f70999dfaf8485 gui(home): refactor sync status logic (Michael Mallan)

Pull request description:

  This is to resolve #1384 by skipping the loading screen for an existing wallet even if the blockchain is still syncing.

  This change will only make a difference for local backends given that ~~the blockchain for a Liana Connect wallet is always considered to be synced and so the loading screen was already loading the application directly~~ Liana Connect doesn't use the loading screen.

  It builds on #1377, to additionally check the blockchain sync progress, and show a message with the sync progress as a percentage in case the blockchain is not fully synced. ~~using the logic added there to indicate on the home page that syncing is in progress if the poller has not yet run. Polling does not start until the blockchain has fully synced and so the same logic can be applied here.~~

  ~~For now, no distinction is made on the home page between the wallet syncing and the blockchain syncing, but this may change in future.~~

ACKs for top commit:
  edouardparis:
    ACK 0a674d591affd6190d5b4979718fb09d3d8f79f3

Tree-SHA512: 802e31b7f4be7ed9687e32a5921f19e4560f5f4b4f975fff452be2907954fc9c4c577add713bc999f6d8efa4c6502825361553c9cd5bcdb3be0d5f800f0aa213
2024-10-28 18:39:40 +01:00
Michael Mallan
0a674d591a
gui: load app directly if wallet was previously synced 2024-10-28 12:57:54 +00:00
Michael Mallan
1408f66963
gui(home): indicate if blockchain is syncing 2024-10-28 12:57:52 +00:00
Michael Mallan
62788d105c
gui(cache): include sync progress 2024-10-28 12:57:50 +00:00