Skip to content

fix: Back to home href on dashboard error pages in preview mode#9268

Open
royendo wants to merge 1 commit intomainfrom
royendo/fix-back-to-home-preview-to-developer
Open

fix: Back to home href on dashboard error pages in preview mode#9268
royendo wants to merge 1 commit intomainfrom
royendo/fix-back-to-home-preview-to-developer

Conversation

@royendo
Copy link
Copy Markdown
Contributor

@royendo royendo commented Apr 20, 2026

  • The Back to home button on ErrorPage instances in the web-local explore and canvas pages defaulted to /, which is the developer-mode home. In preview mode the home is /dashboards, so users landed in developer mode after errors like Error building dashboard.
  • Derive the href from previewModeStore on both pages, matching the pattern already used in +error.svelte.

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

Developed in collaboration with Claude Code

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@royendo royendo requested a review from AdityaHegde April 20, 2026 21:04
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.

1 participant