Refactor app navigation with route based workflows and stepper support#582
Merged
Conversation
cristian-tamblay
approved these changes
Apr 29, 2026
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.
Summary
Refactored the Datasets, Models, and Generative modules to use URL-based routing instead of local component state for navigation and workflow management. This enables deep-linking, improves browser navigation, simplifies component logic, and provides a more consistent user experience. Additionally, stepper navigation was added to multi-step workflows, allowing users to move backward during dataset uploads and session creation flows.
Type of Change
Check all that apply like this [x]:
Changes (by file)
src/App.jsx: Added granular route definitions for datasets, notebooks, models, and generative sessions, enabling direct navigation to specific resources and actions.src/pages/Datasets/*: Refactored dataset and notebook workflows to use route-based navigation and added stepper navigation for dataset upload flows.src/pages/Models/ModelCenterContent.jsx: Migrated model navigation and session workflows from local state to URL-based routing.src/pages/Models/CreateSessionSteps.jsx: Derived the active step from the current route and integrated stepper navigation for session creation.src/pages/Generative/SelectTaskMenu.jsx: Replaced local step management with route-driven navigation.src/pages/Generative/SelectModelMenu.jsx: Updated model selection to navigate using routes.src/pages/Generative/SessionBar.jsx: Refactored session creation and deletion flows to use route navigation.src/pages/Generative/CreateSessionSteps.jsx: Added stepper navigation to support backward navigation during generative session creation.src/components/GenerativeBreadcrumbs.jsx: Added contextual breadcrumbs for the Generative module.src/components/ModelsBreadcrumbs.jsx: Added contextual breadcrumbs for the Models module.Testing (optional)