Skip to content

Add the ability to minimize the content of a site #1138

@sbegaudeau

Description

@sbegaudeau

We need the ability to minimize the content of a <Site /> in order to have more space for the representation area. For that, we want to stop using the <Accordion /> component from MaterialUI and instead use a vertical bar which will display the icons of the various views to display. When the user will click on one of those icons, the selected view should be displayed.

On a <Site /> located on the right, the vertical bar should be located on the right and on the left for a <Site /> located on the left. Each view should thus come with an icon (from MaterialUI) in order to identify the view in the vertical bar.

This change should not involve any change on the backend. The only difference in behavior will come from the fact that the views which are not displayed will be unmounted and as such they won't subscribe to the relevant subscription. This will help lower the CPU and Memory footprint of the <Workbench />.

An ADR will be required in order to describe at least the change in API for the contribution of new views. Unit tests should also be provided in order to validate the new behavior of the <Site />.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions