Skip to content

Replace sidebar action buttons with hub buttons across modules#687

Merged
cristian-tamblay merged 5 commits into
developfrom
feat/hub-buttons
Jun 5, 2026
Merged

Replace sidebar action buttons with hub buttons across modules#687
cristian-tamblay merged 5 commits into
developfrom
feat/hub-buttons

Conversation

@Creylay
Copy link
Copy Markdown
Collaborator

@Creylay Creylay commented Jun 5, 2026

Summary

Replaced the "New Dataset/Notebook", "New Session", and "Create a session" buttons in the Datasets, Models, and Generative sidebars with hub-style buttons ("Dataset Hub", "Models Hub", "Generative Hub"). The buttons now use the ViewModule icon to signal navigation to a central resource hub. Also improved NewItemButton to support custom icons and prevent text overflow with ellipsis truncation.


Type of Change

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

Changes (by file)

  • components/threeSectionLayout/NewItemButton.jsx: added EndIcon prop for custom icons (defaults to AddIcon); added ellipsis truncation for long labels button with "Dataset Hub" using ViewModuleIcon
  • components/models/ModelsLeftBar.jsx: replaced "New Session" button with "Models Hub" using ViewModuleIcon
  • components/generative/SessionBar.jsx: replaced "Create a session" button with "Generative Hub" using ViewModuleIcon
  • locales/{en,es,pt,de}/datasets.json: added datasetHub translation key
  • locales/{en,es,pt,de}/models.json: added modelsHub translation key
  • locales/{en,es,pt,de}/generative.json: added generativeHub translation key

@cristian-tamblay cristian-tamblay merged commit b2ad9a5 into develop Jun 5, 2026
19 checks passed
@cristian-tamblay cristian-tamblay deleted the feat/hub-buttons branch June 5, 2026 18:40
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.

2 participants