Problem
On document layout the sidebar could have a long extension of content that is well separated by nature.
Proposed solution
Add sections to collapsible sidebar
Behaviour
- Clicking an anchor, the element should scroll to beginning of that section.
- Clicking on an active anchor should collapse the element
- When collapsed: clicking an anchor will extend the element and go into the clicked section
Default sections
- metadata/information
- Icon (attached)
- Content: the top main information, and metadata layout
- activity
- Icon (attached)
- Content: history and comments (if doc type is commentable)