avisi-cloud / structurizr-site-generatr

Static site generator for architecture models created with Structurizr DSL
https://avisi-cloud.github.io/structurizr-site-generatr/
Apache License 2.0
224 stars 34 forks source link

Introduce container tabs on component view #427

Closed jp7677 closed 5 months ago

jp7677 commented 8 months ago

It would be nice to group all component diagrams shown on the component view page by containers. See https://avisi-cloud.github.io/structurizr-site-generatr/main/internet-banking-system/component/ When having multiple component diagrams belonging to different containers, drilling down from container diagrams will always bring the first component view in the picture and scrolling down is often needed to reach the actual wanted component diagram.

Linking directly to a component diagram using html achor tags does work, but offered a pretty bad UX when playing with it. Using tabs like on the decisions and documentation view is the way forward (https://avisi-cloud.github.io/structurizr-site-generatr/main/internet-banking-system/decisions/api-application/). We don't need a "System" tab though on the components view page.

jp7677 commented 5 months ago

Fixed with https://github.com/avisi-cloud/structurizr-site-generatr/pull/497