KaotoIO / kaoto

The UI of the Kaoto project
https://kaoto.io
Apache License 2.0
29 stars 23 forks source link

Keep the root containers collapsed when switching between tabs #860

Open tplevko opened 6 months ago

tplevko commented 6 months ago

Please describe the feature that you want to propose

The root containers, which were collapsed by the user should keep being collapsed, when switching between tabs in UI.

https://github.com/KaotoIO/kaoto-next/assets/4180208/2161e7a8-be2a-48a6-adc4-ad1793e0db1a

Note

Once this is done, we can reenable this test: https://github.com/KaotoIO/kaoto-next/blob/a13cb4c3dbaca25e2a4f7a5abce695df3d84edb5/packages/ui-tests/cypress/e2e/designer/rootContainersConf.cy.ts#L31

tplevko commented 6 months ago

Same issue when displaying/hiding routes:

https://github.com/KaotoIO/kaoto-next/assets/4180208/c8405745-6eaa-4ca0-9a8d-1dc55e1f9df1