Skip to content

Refactor app navigation with route based workflows and stepper support#582

Merged
cristian-tamblay merged 10 commits into
developfrom
feat/route-front
Apr 29, 2026
Merged

Refactor app navigation with route based workflows and stepper support#582
cristian-tamblay merged 10 commits into
developfrom
feat/route-front

Conversation

@Irozuku
Copy link
Copy Markdown
Collaborator

@Irozuku Irozuku commented Apr 27, 2026

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]:

  • Backend change
  • Frontend change
  • CI / Workflow change
  • Build / Packaging change
  • Bug fix
  • Documentation

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)

  • Verify direct navigation to datasets, notebooks, models, and generative sessions via URL.
  • Confirm browser back/forward navigation works correctly across all modules.
  • Validate that steppers allow backward navigation during dataset uploads and session creation workflows.
  • Ensure session and dataset creation/deletion redirects to the appropriate routes.
  • Confirm breadcrumbs accurately reflect the current route and support navigation to parent views.

@Irozuku Irozuku added the front Frontend work label Apr 27, 2026
@Irozuku Irozuku marked this pull request as draft April 27, 2026 19:14
@Irozuku Irozuku marked this pull request as ready for review April 27, 2026 19:48
@Irozuku Irozuku marked this pull request as draft April 27, 2026 19:48
@Irozuku Irozuku marked this pull request as ready for review April 27, 2026 20:06
@cristian-tamblay cristian-tamblay merged commit c8f3b32 into develop Apr 29, 2026
19 checks passed
@cristian-tamblay cristian-tamblay deleted the feat/route-front branch April 29, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

front Frontend work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants