Commit 28121b6
site-setup: hide the Back button on the entry steps instead of exiting home
Following the removal of the goals step's inbound links, the design picker
and import capture steps had their Back buttons repointed to exit to the
site home. A Back button that jumps out to /home is more confusing than no
Back button, and both are entry steps with nothing before them.
Omit goBack for those steps so the shared step chrome hides the Back button.
The design picker's back handler now mirrors that: it renders a back
affordance only when the flow supplies one, keeping the shared design picker
free of flow-specific knowledge.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent cc542cb commit 28121b6
2 files changed
Lines changed: 19 additions & 13 deletions
File tree
- client/landing/stepper/declarative-flow
- flows/site-setup-flow
- internals/steps-repository/design-setup
Lines changed: 12 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | 394 | | |
398 | 395 | | |
399 | 396 | | |
| |||
453 | 450 | | |
454 | 451 | | |
455 | 452 | | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | 453 | | |
460 | 454 | | |
461 | 455 | | |
| |||
485 | 479 | | |
486 | 480 | | |
487 | 481 | | |
488 | | - | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
489 | 494 | | |
490 | 495 | | |
491 | 496 | | |
| |||
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
435 | 436 | | |
436 | 437 | | |
437 | 438 | | |
| |||
0 commit comments