Skip to content

feat(portal): route canvas header nav - #248

Merged
07prajwal2000 merged 1 commit into
Fluxify-rest:mainfrom
07prajwal2000:feat/route-canvas-header-nav
Aug 14, 2026
Merged

feat(portal): route canvas header nav#248
07prajwal2000 merged 1 commit into
Fluxify-rest:mainfrom
07prajwal2000:feat/route-canvas-header-nav

Conversation

@07prajwal2000

Copy link
Copy Markdown
Collaborator

What

  • Canvas header now carries navigation instead of dev-era metadata:
    • back link to the project's route list
    • new RouteSwitcher — pagination-style stepper (prev / next) showing method + path of the open route, with a dropdown to jump straight to any sibling route and a n / total counter
    • dropped the read-only toggle and the blocks/edges/unsaved counters; the Save button's disabled state already communicates pending changes
  • CanvasWorkbench gains a headerLeft slot so the custom-block canvas keeps its plain title.
  • MethodSwitch moved off hardcoded hex onto theme tokens — renders correctly in light and dark.

Notes

  • The switcher requests perPage: 50 (the server's max); when more routes exist the counter reads 50+ 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.
  • Skipped: search/filter inside the dropdown — add it when projects routinely exceed one page.

🤖 Generated with Claude Code

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>
@07prajwal2000
07prajwal2000 added this pull request to the merge queue Aug 14, 2026
Merged via the queue into Fluxify-rest:main with commit a3ece14 Aug 14, 2026
12 checks passed
@07prajwal2000
07prajwal2000 deleted the feat/route-canvas-header-nav branch August 14, 2026 15:45
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