Skip to content

Refactor NewSessionButton into generic NewItemButton and standardize button styling across dataset visualization#316

Merged
cristian-tamblay merged 1 commit into
developfrom
style/new-item-height
Oct 2, 2025
Merged

Refactor NewSessionButton into generic NewItemButton and standardize button styling across dataset visualization#316
cristian-tamblay merged 1 commit into
developfrom
style/new-item-height

Conversation

@Irozuku
Copy link
Copy Markdown
Collaborator

@Irozuku Irozuku commented Sep 30, 2025

This pull request refactors the "New Session" button by replacing the old NewSessionButton component with a more generic and reusable NewItemButton component. It also improves button styling consistency across the app, specifically in the dataset visualization area, by standardizing button heights and styles.

Component refactoring and reuse:

image
  • Replaced the NewSessionButton component in SessionBar.jsx with the new generic NewItemButton component, improving code reuse and maintainability. (DashAI/front/src/components/generative/SessionBar.jsx, [1] [2]
image

UI consistency improvements:

  • Set the height of buttons in the dataset visualization header to 35px for a more consistent look. (DashAI/front/src/components/notebooks/dataset/DatasetVisualization.jsx, DashAI/front/src/components/notebooks/dataset/DatasetVisualization.jsxL203-R203)
  • Ensured all action buttons in the dataset visualization area have consistent height and styling, including "New Experiment" and "New Notebook" buttons. (DashAI/front/src/components/notebooks/dataset/DatasetVisualization.jsx, [1] [2]
image

@cristian-tamblay cristian-tamblay merged commit edbe21f into develop Oct 2, 2025
5 checks passed
@cristian-tamblay cristian-tamblay deleted the style/new-item-height branch October 2, 2025 14:54
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