Is there an existing issue for this?
How to reproduce the issue
- Navigate to database catalog
- clicks on add database button and upload a database
- click on query tab
- Collapse all tables using either the caret or the "Collapse All" button.
- Observe that the button changes to "Expand All".
- Manually expand the SCHOOLS table by clicking its caret.
- Observe that the button still reads "Collapse All" instead of updating to reflect the new state.
Expected Result
When all tables are collapsed, the button should display "Expand All".
When all (or any) tables are expanded, the button should display "Collapse All".
The button label should always reflect the true state of the sidebar, regardless of whether it's changed via the button or manual (individual) table actions.
Actual Results
The button text can become out of sync with the expand/collapse state if actions are performed manually rather than through the button.
This could lead to confusion about what action the button will perform.
Additional Context
Requirements or Tasks
No response
Have you reproduced the issue with at least the latest released version?
I have checked my terminal/console and have included relevant text here?
Is there an existing issue for this?
How to reproduce the issue
Expected Result
When all tables are collapsed, the button should display "Expand All".
When all (or any) tables are expanded, the button should display "Collapse All".
The button label should always reflect the true state of the sidebar, regardless of whether it's changed via the button or manual (individual) table actions.
Actual Results
The button text can become out of sync with the expand/collapse state if actions are performed manually rather than through the button.
This could lead to confusion about what action the button will perform.
Additional Context
Requirements or Tasks
No response
Have you reproduced the issue with at least the latest released version?
I have checked my terminal/console and have included relevant text here?