Skip to content

add collapsible table feature in SessionVisualization component#562

Merged
cristian-tamblay merged 1 commit into
developfrom
feat/hide-table-models
Apr 24, 2026
Merged

add collapsible table feature in SessionVisualization component#562
cristian-tamblay merged 1 commit into
developfrom
feat/hide-table-models

Conversation

@Felipedino
Copy link
Copy Markdown
Collaborator

This pull request enhances the usability of the SessionVisualization component by adding a collapsible feature to the model comparison table panel. Users can now collapse or expand the table section for a cleaner interface, especially when working with limited screen space. The implementation leverages Material UI's Collapse, IconButton, and Tooltip components, and includes UI/UX improvements to ensure smooth interaction.

Collapsible Table Panel Feature:

  • Added a tableCollapsed state and implemented a collapsible model comparison table panel using Material UI's Collapse component, allowing users to hide or show the table as needed. [1] [2]
  • Integrated ExpandMore and ExpandLess icons, along with an IconButton and Tooltip, to provide an intuitive toggle control for collapsing and expanding the table panel. [1] [2]
  • Adjusted the layout and styling of the Paper container and its children to support the new collapsible behavior and maintain a responsive, flexible design. [1] [2]
  • Ensured that the resize handle and related UI elements are only visible when the table is expanded, preventing unnecessary UI clutter when collapsed. [1] [2]

Copilot AI review requested due to automatic review settings April 20, 2026 22:49
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a collapsible/expandable control to the SessionVisualization “model comparison” top panel to reduce UI clutter and better use vertical space.

Changes:

  • Introduced tableCollapsed state and wrapped the panel content in MUI Collapse.
  • Added an expand/collapse toggle using IconButton + Tooltip and ExpandMore/ExpandLess icons.
  • Updated layout so the panel header stays fixed and the resize handle only appears when expanded.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread DashAI/front/src/components/models/SessionVisualization.jsx
@cristian-tamblay cristian-tamblay merged commit ecf8f1b into develop Apr 24, 2026
23 checks passed
@cristian-tamblay cristian-tamblay deleted the feat/hide-table-models branch April 24, 2026 16:12
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.

3 participants