@plot-pm/board 0.9.1 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/board-server.mjs +143 -143
- package/package.json +2 -1
- package/plot-plan-meta.sh +20 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plot-pm/board",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Local Kanban board for Plot — a glanceable view of plan phases from docs/plans, with sprint and story filters",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"test:integration": "pnpm build && vitest run"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
+
"@plot-pm/domain": "workspace:*",
|
|
48
49
|
"@radix-ui/react-checkbox": "^1.3.0",
|
|
49
50
|
"@radix-ui/react-popover": "^1.1.0",
|
|
50
51
|
"@tailwindcss/vite": "^4.3.0",
|
package/plot-plan-meta.sh
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
# A file with neither is reported as format "none" (pre-plot / legacy plan).
|
|
38
38
|
#
|
|
39
39
|
# The IMPLEMENTATION section (which branches, in which waves, with which PRs)
|
|
40
|
-
# has
|
|
40
|
+
# has THREE spellings, and this parser reads all of them:
|
|
41
41
|
#
|
|
42
42
|
# ## Branches (old) the branch rides the list line, meta mixed with prose:
|
|
43
43
|
# ### Removed
|
|
@@ -47,6 +47,14 @@
|
|
|
47
47
|
# ### Removed (Branch: bug/foo, PR: #300)
|
|
48
48
|
# - loses its half
|
|
49
49
|
#
|
|
50
|
+
# ## Slices the design-spec word for the same shape as `## Waves`,
|
|
51
|
+
# read by the same handler. A Slice holds one branch and
|
|
52
|
+
# belongs to one plan; a Wave is the fleet cohort that
|
|
53
|
+
# spans plans. The section here was always the former, so
|
|
54
|
+
# `## Slices` is the accurate name and `## Waves` is the
|
|
55
|
+
# one 132 delivered plans already carry. No plan is
|
|
56
|
+
# rewritten: both are read, forever if need be.
|
|
57
|
+
#
|
|
50
58
|
# Both emit the SAME branches/prs/waves arrays. The new shape is the format Plot
|
|
51
59
|
# writes and documents; the old one is kept readable because a format change owes
|
|
52
60
|
# its estate a migration that moves files one at a time, and a plan moved one
|
|
@@ -95,8 +103,9 @@
|
|
|
95
103
|
# branches branch names, sorted and unique, read from EITHER spelling:
|
|
96
104
|
# the old `## Branches` section (a LIST ITEM whose first token
|
|
97
105
|
# is the backtick-quoted name, matching the known prefixes) OR
|
|
98
|
-
# the new `## Waves` section (`Branch:` in a
|
|
99
|
-
# see below). A backticked branch name
|
|
106
|
+
# the new `## Waves` / `## Slices` section (`Branch:` in a
|
|
107
|
+
# `### ` heading — see below). A backticked branch name
|
|
108
|
+
# anywhere else under
|
|
100
109
|
# `## Branches` — mid-sentence, in a blockquote, in a comment,
|
|
101
110
|
# on a wrapped continuation line — is a CITATION and claims
|
|
102
111
|
# nothing: plans name each other branches to declare
|
|
@@ -658,7 +667,14 @@ in_fence { next }
|
|
|
658
667
|
# does. A plan carries one or the other — but the parser reads both while the
|
|
659
668
|
# migration moves 85 files, so a file moved one commit early never reads
|
|
660
669
|
# as silently empty.
|
|
661
|
-
|
|
670
|
+
# `## Slices` is the spelling the design spec uses, and `## Waves` is what 132
|
|
671
|
+
# plans already say. They are ONE section here, sharing waves_seen, because the
|
|
672
|
+
# shape is identical: the branch and PR ride the `### ` heading either way. A
|
|
673
|
+
# third arm would be a second implementation of a re-spelling, and the two
|
|
674
|
+
# would drift. No existing plan is rewritten to say Slices — a delivered plan
|
|
675
|
+
# describes what was built in the vocabulary of its day, and churning 132
|
|
676
|
+
# files git blame for a word buys nothing. New plans may use either.
|
|
677
|
+
else if ($0 ~ /^## Waves/ || $0 ~ /^## Slices/) { section = waves_seen ? "" : "waves"; waves_seen = 1 }
|
|
662
678
|
else if ($0 ~ /^## Approval/) section = "approval"
|
|
663
679
|
# First `## Changelog` wins, for the same reason `## Branches` does: a plan
|
|
664
680
|
# about the plan format quotes the section in prose, and the later heading is
|