Maintain Panel Visibility State Between Page Reloads
What does this MR do and why?
Fixes a regression where the AI panel visibility state is not being maintained between page reloads
The AI side panel should maintain its state based on the last user interaction with the chat toggle.
- When the chat panel is open, a page reload keeps the panel open
- When the chat panel is closed, a page reload keeps the panel closed
References
Related: #583714
Screenshots or screen recordings
| Before | After |
|---|---|
| Screen_Recording_2025-12-11_at_5.47.59_pm | Screen_Recording_2025-12-11_at_5.41.11_pm |
How to set up and validate locally
- Make sure the AI side panel is closed (The toggle for it is on the upper right hand side of the page, just below your avatar)
- Reload your browser and the side panel should be closed
- Toggle the AI side panel open
- Reload your browser and the side panel should be open
- Try clicking on different tabs with the AI panel open. Ensure when the page is reloaded you are still in the sane tab
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Julie Huang