mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 08:18:39 +00:00
UI Only AU Snapshot Loading Flow #421
No reviewers
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml!421
Loading…
Reference in a new issue
No description provided.
Delete branch "qml-au-display"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Introducing the UI flow to be able to import a AssumeUTXO (AU) snapshot into the Bitcoin Core App.
The user will be able to load an AU snapshot from the "Connection Settings" page as designed here also AU figma
*This is a UI only commit no actual functionality has been coded. Wiring to actually import a AU snapshot will happen in a future PR
Ubuntu 22.04 Screenshots
Concept ack
Doesn't it make more sense to (also) have this part of the onboarding workflow?nvm, I think we shouldn't do this (maybe later)Connectionmenu would not be something where I would be looking at to find this feature. Maybe it needs anAdvancedsection?as you said correctly in the import snapshot dialog, it doesn't speed up the download itself.
So this might be misleading.
I think it's better to rephrase it, something like this might be more appropriate
Start using right away and do initial synchronization in the backgroundor maybe something short likeDo initial synchronization in the backgroundnit
and at other files you created it has 2023 instead of 2024
Great to see this come to PR stage... how long is the loading process expected take to take on an avg computer? like in the range of seconds or minutes or hours?
We should probably discuss the designs in one of the design community calls.
thanks for catching that... updated it
Great catch updated the headers with the latest push ed27a5a
With ed27a5a addressed comments and added loading snapshot simulation for better testing and feedback
That depends on the user's device and the snapshot (signet, testnet, and mainnet) they are importing. Averages are difficult to calculate since every device is different...
Once we test the functionality (which this PR does not address, being UI only) it will become clearer how long the import process takes.
That's a great idea! Will be joining future calls so we can discuss design and UX matters.
meanwhile please take the time to test it on your device using one the builds here
minor tweak with 5c61613 changed the "Import Snapshot" description to "Instant use with background sync"
Concept ACK
Please also add the figma link of the designers team definitions in the description, I'll add these comments also there.
cc @fjahr, @Sjors, @GBKS
With
github.com/bitcoin-core/gui-qml@a1193fcb16Changed "Import" to "Load" based on @pablomartin4btc suggestionAlso updated the description to include figma link and a screenshot of the "Progress Bar" page
Yeah maybe a button can be added so that the user has the option to delete the snapshot file. This will be especially relevant for mobile (android) users looking to save storage space on their device.
Great point, maybe the option can be greyed out with a check mark to indicate the snapshot has been fully validated and the node is synced.
Thoughts @yashrajd @GBKS?
update f016406 rebase over main
Thanks for working on this. I just tested locally, and there are a lot of visual details that need tweaking (icon needs to be bigger, title text bold, vertical spacing too tight, line-height too tight, etc). Do you want me to list those out? It's pretty easy to spot them comparing the application to the designs.
A larger thing is the page transitions. The idea here is that the snapshot flow is just "one page deep". So instead of this:
It's just this:
So you stay in the same screen, but the state of the screen changes and therefore the info you see, with fade out/in transitions. You can see this in the web prototype.
Regarding the point about indicating that the snapshot was validated completely. My assumption was that at that point (snapshot is validated and the user has seen the screen that states so) we replace the "Load snapshot" functionality with the "Create snapshot" functionality. Does that work?
Also, would it be possible to fix the actions? They are currently not building all the artifacts correctly. Thanks.
from @jarolrod in discord PM: "the ci error is unrelated to code and just needs to be rerun"
No worries, I'll make the tweaks and see if they are addressed...
ACK f016406c8c239c4495043318de20a24283593371
Regarding the commits, the first commit adds the files that don't exist yet, I'd move the first commit to the end, becoming the 4th.
The 2nd commit imports the controls that are being updated in the 3rd, so I'd swap these 2 commits.
That's all, I'll review the code when I play around with the testing.
Thanks for taking a look... I'm about to update the commits incorporating Christoph's comments... So please wait before testing?
with e5bbabd squashed the commits into one, addressed spacing issues, and got rid off pages using Stack layout in SnapshotSettings.qml
Ok, it was not necessary as per my review, the separation made sense, just the order, but up to you.
I think for the lint failure you'll need to exclude the
QMLresources as it's done forQTinget_pathspecs_exclude_whitespace(test/lint/test_runner/src/main.rs):"src/qt/res/src/*.svg",Thanks, decided to adhere to the CONTIBUTING guidelines more thoroughly ;)
For the lint it turns out a couple of svg files had trailing whitespaces, 3ca75a4 addresses that
Closing this PR since most of the work has moved to #424 and #446