Changes in 0a4c126

0a4c126 Draw footnote numbers on groups, parallels and markers as one shared run (#287)

main workflow run

vs 58bd13c Resolve icon: symbols from config:merge includes (#285)

1 renderer drift1 source edit2 new56 unchanged1 volatile

Full gallery

inline-date-corners Tests renderer drift

tests/inline-date-corners.nowline
nowline v1

// Fixture exercising the inline-date pin glyph (`after:DATE` /
// `before:DATE`) on every entity type that supports it: items in
// every decoration-row state, styled groups (chiclet row), and
// unstyled groups, bracketed parallels, and bare parallels (header
// band above the box). Each scenario lives in its own swimlane so the
// glyphs are easy to compare visually. A container's first child bar
// starts flush with the container's top corners, so no container
// glyph may sit there: it would be painted over.
//
// See specs/dsl.md "Inline date pins" and specs/rendering.md
// "Inline-date glyph" for the full contract.

config

style enterprise
  bg: blue
  text: white

style bracketed
  bracket: solid
  fg: orange

roadmap r "Inline-date pin corners" start:2026-01-05 length:14w

swimlane plain-lane "Plain item — both corners"

  // Bare item, no decorations: glyphs sit at the leftmost / rightmost
  // top-decoration slots.
  item plain-bar "Plain bar" duration:4w after:2026-01-26 before:2026-04-13

swimlane with-link "Item — with link icon"

  // Top-LEFT after-glyph walks RIGHT past the 14 px link icon column.
  item linked "With link" duration:3w \
    link:https://github.com/example/repo \
    after:2026-02-02 before:2026-03-30

swimlane with-decorations "Item — link + dot + footnotes"

  // Both corners simultaneously occupied: link icon on the left
  // pushes the after-glyph right; status dot + footnote indicators
  // on the right pull the before-glyph left of the badge cluster.
  item busy "Busy bar" duration:4w \
    status:in-progress \
    link:https://linear.app/x \
    after:2026-02-09 before:2026-04-20

footnote f1 "Footnote attached to busy" on:busy

swimlane mixed-list "Item — mixed list"

  // Mixed `after:` list (id + date). Resolves to the LATEST of the
  // two; only one calendar glyph appears on the left.
  item upstream "Upstream" duration:2w
  item downstream "Downstream" duration:3w after:[upstream, 2026-03-09]

swimlane styled-group "Styled group — visible box corners"

  // Filled-style groups paint a chiclet in the upper-left; both
  // glyphs join the chiclet's row, the after-glyph just past the
  // chiclet's right edge (see specs/rendering.md). The before-glyph
  // anchors flush right inside the visible box.
  group sg "Styled group" style:enterprise after:2026-02-09 before:2026-04-20
    item sg-a "Step A" duration:2w
    item sg-b "Step B" duration:2w

swimlane narrow-styled-group "Styled group — chiclet wider than the box"

  // A one-week styled group whose title chiclet runs past the box's
  // right edge. The after-glyph still sits past the chiclet, and the
  // before-glyph slides right of the after-glyph instead of landing on
  // the chiclet in its usual flush-right slot.
  group nsg "Narrow styled group" style:enterprise after:2026-02-09 before:2026-02-16
    item nsg-a "Step" duration:1w

swimlane anonymous-styled-group "Styled group — no title"

  // No title means no chiclet, but the group still reserves the
  // chiclet's row for its glyphs instead of letting them sit on the
  // first child bar.
  group style:enterprise after:2026-02-09 before:2026-04-20
    item asg-a "Step A" duration:2w
    item asg-b "Step B" duration:2w

swimlane unstyled-group "Unstyled group — header band"

  // Unstyled groups paint a bracket, not a box. Their title and
  // glyphs share the header band above the logical extent (leftmost
  // child start, rightmost child end): after-glyph first, then the
  // title, before-glyph flush right.
  group ug after:2026-02-23 before:2026-05-04
    item ug-a "Free A" duration:2w
    item ug-b "Free B" duration:2w

swimlane anonymous-group "Unstyled group — no title"

  // No title, but the glyphs still get the header band (and the
  // bracket's top foot wraps it).
  group after:2026-02-23 before:2026-05-04
    item ag-a "Free A" duration:2w
    item ag-b "Free B" duration:2w

swimlane bracketed-parallel "Bracketed parallel — header band"

  // The header band coincides with the bracket's 12 px top padding,
  // so the glyphs sit inside the [ ] above the first track.
  parallel bp style:bracketed after:2026-02-09 before:2026-05-11
    item bp-a "Track 1" duration:3w
    item bp-b "Track 2" duration:3w

swimlane bare-parallel "Bare parallel — header band"

  parallel barep after:2026-02-23 before:2026-05-25
    item barep-a "Bare track 1" duration:2w
    item barep-b "Bare track 2" duration:2w

swimlane narrow-parallel "Bare parallel — title wider than the box"

  // The title runs past the box, so the before-glyph slides right of
  // the title instead of landing on it. The next item would start on
  // the same row, under that overflow, so it bumps to a fresh row.
  parallel np "Regional rollout waves" before:2026-03-02
    item np-a "Wave 1" duration:2w
    item np-b "Wave 2" duration:2w
  item np-next "Follow-up" duration:2w

teams Examples source edit

examples/teams.nowline
nowline v1roadmap teams-2026 "Teams Roadmap 2026" start:2026-01-05person sam "Sam Chen" link:https://github.com/samchenperson jen "Jennifer Wu"person alex "Alex Rivera"team engineering "Engineering" team platform-team "Platform Team" person sam person jen team mobile-team "Mobile Team" person alexanchor kickoff date:2026-01-06anchor mid-year date:2026-07-01anchor eoy "End of Year" date:2026-12-15swimlane platform owner:platform-team item auth "Auth refactor" duration:1m after:kickoff owner:sam status:done item api-v2 "API v2" duration:2w owner:jen status:in-progress remaining:40%swimlane mobile owner:mobile-team item offline "Offline mode" duration:1m after:kickoff owner:alex status:at-risk remaining:60% item push "Push notifications" duration:2w owner:alexmilestone beta "Beta" after:[auth, api-v2]milestone ga "GA" date:2026-12-01 after:[offline, push]footnote eng-capacity "Mobile team capacity risk" on:mobile-team description "Mobile team is understaffed through Q2."footnote vendor-dep "Vendor dependency" on:[auth, api-v2] description "Blocked until vendor contract is signed."
nowline v1roadmap teams-2026 "Teams Roadmap 2026" start:2026-01-05person sam "Sam Chen" link:https://github.com/samchenperson jen "Jennifer Wu"person alex "Alex Rivera"team engineering "Engineering" team platform-team "Platform Team" person sam person jen team mobile-team "Mobile Team" person alexanchor kickoff date:2026-01-06anchor mid-year date:2026-07-01anchor eoy "End of Year" date:2026-12-15swimlane platform owner:platform-team item auth "Auth refactor" duration:1m after:kickoff owner:sam status:done item api-v2 "API v2" duration:2w owner:jen status:in-progress remaining:40%swimlane mobile owner:mobile-team item offline "Offline mode" duration:1m after:kickoff owner:alex status:at-risk remaining:60% item push "Push notifications" duration:2w owner:alexmilestone beta "Beta" after:[auth, api-v2]milestone ga "GA" date:2026-12-01 after:[offline, push]footnote eng-capacity "Mobile team capacity risk" on:mobile description "Mobile team is understaffed through Q2."footnote vendor-dep "Vendor dependency" on:[auth, api-v2] description "Blocked until vendor contract is signed."
  nowline v1    roadmap teams-2026 "Teams Roadmap 2026" start:2026-01-05    person sam "Sam Chen" link:https://github.com/samchen  person jen "Jennifer Wu"  person alex "Alex Rivera"    team engineering "Engineering"    team platform-team "Platform Team"      person sam      person jen    team mobile-team "Mobile Team"      person alex    anchor kickoff date:2026-01-06  anchor mid-year date:2026-07-01  anchor eoy "End of Year" date:2026-12-15    swimlane platform owner:platform-team    item auth "Auth refactor" duration:1m after:kickoff owner:sam status:done    item api-v2 "API v2" duration:2w owner:jen status:in-progress remaining:40%    swimlane mobile owner:mobile-team    item offline "Offline mode" duration:1m after:kickoff owner:alex status:at-risk remaining:60%    item push "Push notifications" duration:2w owner:alex    milestone beta "Beta" after:[auth, api-v2]  milestone ga "GA" date:2026-12-01 after:[offline, push]  - footnote eng-capacity "Mobile team capacity risk" on:mobile-team+ footnote eng-capacity "Mobile team capacity risk" on:mobile    description "Mobile team is understaffed through Q2."    footnote vendor-dep "Vendor dependency" on:[auth, api-v2]    description "Blocked until vendor contract is signed."

container-footnotes Tests new

tests/container-footnotes.nowline
nowline v1

// Fixture for footnote superscripts on group and parallel headers: each
// sits at the right end of the container's title row, with a `before:`
// glyph one gap to its left, and the pair never slides onto the title.
// Each scenario lives in its own swimlane.
//
// See specs/rendering.md "Parallel and Group Rendering" and "Inline-date glyph".

config

style unbracketed
  bracket: none

roadmap r "Container footnotes" start:2026-01-05 length:14w

swimlane group-lane "Group, one footnote"

  // The issue's repro: one superscript at the right end of the title row.
  group research "Research"
    item a "Spike A" duration:2w
    item b "Spike B" duration:2w
  item c "Other item" duration:2w

swimlane before-lane "Group, before: glyph and two footnotes"

  // The glyph moves one gap left of the two superscripts.
  group discovery "Discovery" before:2026-03-02
    item d "Interviews" duration:2w
    item e "Synthesis" duration:2w

swimlane parallel-lane "Parallel, both glyphs and a footnote"

  parallel launch "Launch" after:2026-01-12 before:2026-02-23
    item f "Web" duration:3w
    item g "Mobile" duration:2w

swimlane narrow-lane "Narrow parallel, long title"

  // The title runs past the 2w box, so the glyph and superscript sit past
  // it, beyond the bracket's end; the next item drops a row to clear them.
  parallel rollout "Regional rollout waves" before:2026-02-02
    item h "EU" duration:2w
    item h2 "US" duration:1w
  item i "Next" duration:2w

swimlane bare-lane "Unbracketed group titled by its id"

  group spikes style:unbracketed
    item j "Spike" duration:2w

footnote staffing "Waiting on staffing" on:research
footnote item-note "Item note" on:c
footnote vendor "Vendor dependency" on:[discovery, launch]
footnote budget "Budget pending" on:discovery
footnote regions "Region list not final" on:rollout
footnote bare "Untitled container" on:spikes

footnote-runs Tests new

tests/footnote-runs.nowline
nowline v1

// Fixture for the footnote number run, the one format every host draws:
// "4,12" comma-joined, ascending, up to three numbers; past three the first
// two and "+" ("1,2,+", with warning NL.W0707); beside the caption when the
// run does not fit the bar. The Work lane is #282's
// repro; the Notes lane and the markers show the same run on a lane tab, a
// group header, an anchor and a milestone.
//
// See specs/rendering.md "Footnotes" and "Item Bars".

roadmap demo "Footnote runs" start:2026-01-05 scale:1m

anchor kickoff "Kickoff" date:2026-01-12

swimlane work "Work"
  // 11 footnotes on a 34 px bar: "1,2,+" beside the caption, and NL.W0707.
  item many "Eleven notes" duration:2w
  // Two-digit numbers in one run: "12,13", never "1213".
  item pair "Notes 12 and 13" duration:4w
  item mixed "Notes 4 and 12" duration:4w
  // Link tile and caption keep their insets; the run spills after them.
  item linked "Linked" duration:2w link:https://example.com

swimlane notes "Notes"
  group track "Track"
    item t1 "Wide enough" duration:3m

milestone ship "Ship" after:t1

footnote f1 "Note 1" on:many
footnote f2 "Note 2" on:many
footnote f3 "Note 3" on:[many, linked]
footnote f4 "Note 4" on:[many, mixed]
footnote f5 "Note 5" on:many
footnote f6 "Note 6" on:many
footnote f7 "Note 7" on:many
footnote f8 "Note 8" on:many
footnote f9 "Note 9" on:many
footnote f10 "Note 10" on:[many, notes]
footnote f11 "Note 11" on:[many, notes, track, kickoff]
footnote a "Note 12" on:[pair, mixed, linked, track, kickoff, ship]
footnote b "Note 13" on:[pair, ship]