Changes in cb46232

cb46232 Let an entity unset a defaulted key with none (#301)

main workflow run

vs 1b1ff87 Add noreferrer to every rendered link's rel (#303)

1 new64 unchanged1 volatile

Full gallery

defaults-unset Tests new

tests/defaults-unset.nowline
nowline v1

// Fixture for unsetting a defaulted key (specs/dsl.md § Defaults,
// Unsetting a key). The default lines give every item a status, a label
// and a capacity, and every swimlane an owner. Item "a" and lane "core"
// keep them; the rest unset them with `none` (or `labels:[]`) and must
// draw as if the default line never named the key.

config

default item status:at-risk labels:[platform] capacity:2
default swimlane owner:sam

roadmap unset "Unset defaulted keys" start:2026-01-05 scale:1w

label platform "Platform"
person sam "Sam"

swimlane core "Core"
  item a "Takes every default" duration:2w
  item b "Unsets all three" duration:2w status:none labels:none capacity:none
  item c "Empty labels list" duration:2w labels:[]

swimlane spike "Spike" owner:none
  item d "Lane without an owner" duration:2w