Skip to content

v0.12.0

Choose a tag to compare

@nabsha nabsha released this 01 Aug 23:25
56348fb

LikeC4 sidebar folders

yarramate/likec4-project/v1 view entries take an optional folder (#135, ADR 0067):

views:
  - id: index
    projection: projections/starter-landscape.yaml
    folder: "1 · Orientation"
  • Emitted as a LikeC4 title path — title 'Folder / Title' — which LikeC4 ≥1.59 renders as a native sidebar folder tree. Zero new DSL constructs; on older LikeC4 the path is simply a longer title.
  • Nest folders with / inside the value. Views without a presentation title synthesize the leaf from the view id, so a folder assignment is never dropped.
  • LikeC4 orders sibling folders by name — encode a deliberate reading order in the names ("1 · Orientation", "2 · Agent contract"). Views inside one folder keep the views-list order.
  • The synthetic review-changes view (--changed overlay) stays at the root.
  • Applies to export-project in both yarramate export likec4 and yarramate-likec4; the schema rejects empty path segments.

The repository's own 21-view project now ships filed as five ordered stories: Orientation → Agent contract → Engine internals → ArchiMate viewpoints → Evolution.

Full changelog: v0.11.0...v0.12.0