feat: Add Navigation to Editor#168
Open
KapilSachdev wants to merge 5 commits into
Open
Conversation
…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.
ffbdf7c to
06826ab
Compare
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.
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.