-
Notifications
You must be signed in to change notification settings - Fork 50
Only show Onboarding if settings file is missing #247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Concept ACK!
46b1904
to
27c38a9
Compare
FWIW, the relevant Qt widget GUI logic is implemented in Line 203 in d1c51ac
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 27c38a9
A follow-up can allow QSettings to override the default data dir, QSettings needs to be wired up first.
… is missing 81b9ce0 qml: only show Onboarding if settings/conf file is missing (johnny9) Pull request description: Commit adds a context property that is used to determine if Onboarding flow is needed. If the user supplies a data directory or their settings.json file is missing, the property "needOnboarding" will be set to true. [](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/win64/insecure_win_gui.zip?branch=pull/<PR>) [](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos/insecure_mac_gui.zip?branch=pull/<PR>) [](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos_arm64/insecure_mac_arm64_gui.zip?branch=pull/<PR>) [](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/insecure_android_apk.zip?branch=pull/<PR>) ACKs for top commit: jarolrod: ACK 81b9ce0 Tree-SHA512: 80cd9e2cf07a4e107918353e0f98880fdfacc78e7348cc6ab1006b58858f0ca18aafc9315344e991da073ee42a9b1459f4d9c60da1b646516aa6370ef735cf18
Commit adds a context property that is used to determine if Onboarding flow is needed. If the user supplies a data directory or their settings.json file is missing, the property "needOnboarding" will be set to true.