feat(onboarding): friendlier wizard bootstrap + Done screen starts the daemon
First-run bootstrap polish: - Failed card wraps the (often long) error instead of clipping it, and offers a "Try mirror" button; Retry now keeps whichever source (main/mirror) was used. - Bootstrap offer shows an honest size/time hint and relabels "Mirror" → "Use mirror" with a clearer tooltip. - Daemon status dot/label is keyed off the EmbeddedDaemon::State enum instead of matching the English substring "Stopping" (which broke in every other language), and the faint ~55%-alpha label is raised to ~86%. - Bootstrap Done screen: for the embedded daemon it now offers "Start Daemon" (and says the node will start) instead of telling the user to start it by hand. Also carries the new string-table keys for these (and the shielded-card tooltip used by the next commit). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1927,6 +1927,7 @@ private:
|
||||
// First-run wizard state
|
||||
WizardPhase wizard_phase_ = WizardPhase::None;
|
||||
std::unique_ptr<util::Bootstrap> bootstrap_;
|
||||
std::string wizard_bootstrap_url_; // source the wizard last started ("" = default); Retry keeps it
|
||||
bool bootstrap_downloading_ = false; // true while settings bootstrap dialog is active
|
||||
std::string wizard_pending_passphrase_; // held until daemon connects
|
||||
std::string wizard_saved_passphrase_; // held until PinSetup completes/skipped
|
||||
|
||||
Reference in New Issue
Block a user