mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 08:12:38 +00:00
Introduce Wizard control #106
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!106
Loading…
Reference in a new issue
No description provided.
Delete branch "onboarding-wizard"
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?
Introduces the wizard control which will hold all of the onboarding views. A convenient demo can be found here: onboarding-wizard-demo
The demo shows the following views:

updated from 35fad87 -> 3ea53bd
changes:
onFinishedChangedto see if we should push the node component#103 has been merged, please rebase.
updated from 3ea53bd ->
b93bb21Changes:
This is great. Do you want feedback on this at the moment?
updated from
b93bb21-> caf2ba2Changes:
4459728e3054e214628c52d26fdfc92b66a942fc
This is too abstract.
4459728e3054e214628c52d26fdfc92b66a942fc
Math.round()?2d84aa6f0d73211e4274399cc27b81c74b75dd5a
add translation. The arrow should be an icon?
nit, sounds confusing since
rootis the "Wizard". I'd rename it toswipeView.2d84aa6f0d73211e4274399cc27b81c74b75dd5a
nit, bad indentation.
FWIW I don't recommend this approach of loading. It sounds very simple but has some drawbacks:
Instead, I suggest using loader
sourceComponentproperty.However, I think we can avoid the
Loader, like this:Then to implement some wizard:
Feel free to discuss or ask for help in slack.
2d84aa6f0d73211e4274399cc27b81c74b75dd5a
Can be removed.
2d84aa6f0d73211e4274399cc27b81c74b75dd5a
Lets avoid anchors and fixed sizes. In this case I suggest:
updated from caf2ba2 to 50b9573
changes:
will leave this as a follow-up for now because, with this suggestion, the file in which we implement all the views will be huge. We probably need a template for each page of the onboarding views in order to keep it tight
will keep for a follow-up until I plot out all the necessary types of buttons, and determine if this should be a custom component or not
This PR needs to be rebased.
Updated from 50b9573 to
dffb73e, also updated the onboarding-wizard-demo for convenient testingChanges:
Amazing work, @jarolrod!
I shall be posting my review soon.
For now, I would like to bring attention to the problem I noticed, which needs to be addressed.
I experimented with different window sizes, and I noticed that the text from the onboarding 03a page is overflowing onto the 03b page for windows with small vertical height.
onboarding 03b page

I thought its best to bring it to the attention before moving forward with reviewing.
@shaavan that's just the demo, the window sizes aren't complete on the rudimentary demo and those pages aren't perfect. Just meant to show that the wizard control works and works for all the use cases required, like subpages.
Got it! I reckoned that this might be the case, as the pages are in the prototype phase. But I still thought to bring it to the notice, just in case this was an unintended issue.
ACK
dffb73e682