Commit 5991f6d
committed
fix(onboarding): restore page refresh on "Go to Dashboard" completion
- The onboarding refactor in afe1ae6 (#1949) introduced session-aware
close behavior that distinguishes "manual" vs "automatic" onboarding
- For manual sessions, closeModal() short-circuited with history.go()
and the NEXT_STEPS onComplete passed `reload: !isManualSession.value`,
meaning manual sessions never triggered a page refresh
- This broke the "Go to Dashboard" flow: clicking it should always
refresh so the dashboard loads with the newly configured state
- Fix: always pass `reload: true` for NEXT_STEPS completion, and
prioritize the reload path in closeModal() so it executes before
the history navigation short-circuit1 parent afe1ae6 commit 5991f6d
1 file changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
307 | 315 | | |
308 | 316 | | |
309 | 317 | | |
| |||
312 | 320 | | |
313 | 321 | | |
314 | 322 | | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | 323 | | |
320 | 324 | | |
321 | 325 | | |
| |||
607 | 611 | | |
608 | 612 | | |
609 | 613 | | |
610 | | - | |
| 614 | + | |
611 | 615 | | |
612 | 616 | | |
613 | 617 | | |
| |||
0 commit comments