zakodium-oss / react-science

React components and tools to build scientific applications.
https://react-science.pages.dev
MIT License
3 stars 6 forks source link

Implement the "Activity toolbar" layout in a story #767

Closed stropitek closed 1 month ago

stropitek commented 1 month ago

Continuation of https://github.com/zakodium-oss/react-science/issues/243, but the idea here is not to create a component but an example of implementation with a story.

The story should have the following structured layout: activity_toolbar_mockup

Split pane behaviour:

Accordions:

@wadjih-bencheikh18 please report here or in the PR any shortcomings of the current APIs of react-science for achieving this layout, and let's try to fix them along the way.

wadjih-bencheikh18 commented 1 month ago

In majority of apps, they dont use these sides icon to add accordions (each icon is an accordion) because technically the height can support more closed accordions then icons before the need of scroll.

But this kind of side icons is used to group accordions

Icon1 -> open a group of accordions Icon2 -> open diffrent group of accordions ...

Example: Vs code