feat(portal): route canvas header nav - #248
Merged
07prajwal2000 merged 1 commit intoAug 14, 2026
Merged
Conversation
Canvas header now carries navigation instead of dev-era metadata: a back link to the project's route list and a pagination-style RouteSwitcher that steps through sibling routes or jumps to one via a dropdown. Dropped the read-only toggle and the blocks/edges/unsaved counters — the Save button already says whether anything is pending. MethodSwitch moves off hardcoded hex onto the theme tokens so it renders in both light and dark. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
RouteSwitcher— pagination-style stepper (prev / next) showingmethod + pathof the open route, with a dropdown to jump straight to any sibling route and an / totalcounterCanvasWorkbenchgains aheaderLeftslot so the custom-block canvas keeps its plain title.MethodSwitchmoved off hardcoded hex onto theme tokens — renders correctly in light and dark.Notes
perPage: 50(the server's max); when more routes exist the counter reads50+and the routes list screen is the way to reach the rest. The open route is fetched by id separately so it stays selectable even if it sits past page 1.🤖 Generated with Claude Code