feat: implement dataset storyboard interactive modal and dynamic rout…#104
Open
anuja-kotnala wants to merge 1 commit into
Open
feat: implement dataset storyboard interactive modal and dynamic rout…#104anuja-kotnala wants to merge 1 commit into
anuja-kotnala wants to merge 1 commit into
Conversation
|
@anuja-kotnala is attempting to deploy a commit to the HerStack's projects Team on Vercel. A member of the Team first needs to authorize it. |
Author
|
@escher-m Kindly have a look. |
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 does this PR do?
This PR completes the interactive modular storyboard for the "What is a Dataset?" concept card.
To connect the new storyboard overlay without polluting the core codebase, hardcoding component IDs, or forcing changes to the global
src/App.jsxrouter file, I introduced a lightweight configuration pattern via a centralized file mapping. This creates a scalable blueprint that future open-source contributors can easily use to link their own storyboards without merge conflicts.Changes Matrix
src/data/storyboardMapping.js: Created a central dictionary mapping concept IDs directly to their respective React layout components.src/data/datasetStory.js: Isolated the raw narrative text arrays for the 9 progressive explanation scenes.src/data/datasetStoryboard.jsx: Implemented the self-contained interactive modal layout view, timeline progress indicator, and navigation action hooks.src/data/datasetVisualCues.jsx: Developed the custom frame-by-frame inline workspace CSS/HTML visual layout blocks.src/pages/Concepts.jsx: Refactored the core library view to automatically check the component mapping file, dynamically making cards clickable and opening the storyboard modal if configured.Type of change
Checklist
npm run dev)Screenshots (if UI change)
Related issue
Closes #74