Skip to content

Reset right bar content on dataset and notebook selection#462

Open
Irozuku wants to merge 1 commit intodevelopfrom
fix/dataloader-right-config
Open

Reset right bar content on dataset and notebook selection#462
Irozuku wants to merge 1 commit intodevelopfrom
fix/dataloader-right-config

Conversation

@Irozuku
Copy link
Collaborator

@Irozuku Irozuku commented Feb 26, 2026

Summary

This pull request improves UI state management in the DatasetNotebookLeftBar component. When a user selects a different dataset or notebook, the right sidebar content is now cleared to prevent stale or irrelevant information from being displayed.


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)

Briefly list the important modified files and what was done.

  • DashAI/front/src/components/notebooks/DatasetNotebookLeftBar.jsx:
    • Added calls to setRightBarContent(null) in dataset and notebook selection handlers to clear the right sidebar when a new item is selected.
    • Included setRightBarContent from the useDatasetsAndNotebooks hook to enable updating the sidebar state.

Testing (optional)

  • Select different datasets and notebooks and verify that the right sidebar content is cleared when dataloader configuration was being displayed.
  • Confirm no unintended side effects in other sidebar interactions.

@Irozuku Irozuku added bug Something isn't working front Frontend work labels Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working front Frontend work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant