Skip to content

feat(wizard): allow relaunching the first-run wizard once completed - #416

Merged
gnacho merged 1 commit into
mainfrom
feat/415-wizard-relaunch
Sep 27, 2026
Merged

gnacho merged 1 commit into
mainfrom
feat/415-wizard-relaunch

Conversation

@gnacho

@gnacho gnacho commented Sep 27, 2026

Copy link
Copy Markdown
Owner

Adds a supported way to relaunch the first-run wizard after completion (#415).

  • Backend: POST /api/wizard/reset sets netgrip.wizard.completed=0 and returns the wizard state. Section-ensure logic is shared with complete; no snapshot, nothing else touched.
  • Frontend: "Setup wizard" card in System > Maintenance with a ConfirmDialog. After reset the panel reloads into the wizard; steps read live probes, so a configured router shows its current state.
  • Demo reuses the ?wizard=1 preview path. i18n ES/EN.

Verified on a mipsle test router (OpenWrt 25.12.5): reset flips completed true to false in both the API and UCI, the panel serves the new bundle, and a Playwright smoke shows the card and button with no page errors. Completing or skipping the wizard sets the flag back to 1.

Closes #415

@gnacho
gnacho merged commit da66938 into main Sep 27, 2026
1 check passed
@gnacho
gnacho deleted the feat/415-wizard-relaunch branch September 27, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No way to relaunch the first-run wizard once completed

1 participant