Skip to content

feat: Add Navigation to Editor#168

Open
KapilSachdev wants to merge 5 commits into
apache:gh-pagesfrom
KapilSachdev:feat/editor-navigation
Open

feat: Add Navigation to Editor#168
KapilSachdev wants to merge 5 commits into
apache:gh-pagesfrom
KapilSachdev:feat/editor-navigation

Conversation

@KapilSachdev

@KapilSachdev KapilSachdev commented Jun 16, 2026

Copy link
Copy Markdown
  • Introduced Navigation to editor for ease of traversal between examples.
  • Refactored Explore component to reutilize utility in Navigation component.
  • Added exampleCatalogUtils for shared logic between Explore and Navigation.
  • Modified ExampleCard to be flexible with new navigation structure.

Why?

The Issue: Constant back-and-forth page bouncing for viewing.
Existing Scenario: Currently, users have to navigate back and forth between two separate pages, the example gallery list and the code editor workspace, just to view or switch charts.
Proposed Solution: Embedded examples list into the editor view as a collapsible sidebar navigation panel. This enables instant example swapping using native event loops and browser URL parsing, eliminating roundtrips.

Before After
image image
image image image

…omponents

- Introduced Navigation to editor for ease of traversal between examples.
- Refactored Explore component to reutilize utility in Navigation component.
- Added exampleCatalogUtils for shared logic between Explore and Navigation.
- Modified ExampleCard to be flexible with new navigation structure.
- Sync the URL and load the selected example when an example is clicked in the navigation.
@KapilSachdev KapilSachdev force-pushed the feat/editor-navigation branch from ffbdf7c to 06826ab Compare June 17, 2026 13:48
@KapilSachdev KapilSachdev marked this pull request as ready for review June 19, 2026 12:05
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