create-pmos 0.432.0 → 0.433.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/package.json +13 -13
- package/payload/KIT-VERSION +1 -1
- package/payload/planning/evals/eval-calibration.md +1 -1
- package/payload/planning/okrs/health-budgets.md +1 -1
- package/payload/state/discoveries.md +1 -1
- package/workspace/changelog.json +12 -0
- package/workspace/guide/home.md +1 -1
- package/workspace/guide/programs.md +1 -1
- package/workspace/milestone-pins-test.js +8 -3
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/product-lane-test.js +5 -5
- package/workspace/public/pm/bd-span.js +5 -4
- package/workspace/public/pm/stage-line.js +4 -3
- package/workspace/task-milestones-test.js +4 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-pmos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.433.0",
|
|
4
4
|
"description": "Scaffold the PMOS portable kit — run the PMOS product-management workflow (initiative → lane-fit spec → contract → build → three gates, with work-type lanes for features, research, maintenance, incidents, and content) entirely inside your own repo, with all state as git-versioned files. Includes `workflow-sweep`, which audits the state every board derives from and separates real defects from work you simply have not done. `create-pmos workspace` also installs + launches the local Terminal Workspace GUI. No database, no network, no telemetry.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|
|
@@ -32,6 +32,18 @@
|
|
|
32
32
|
"audit"
|
|
33
33
|
],
|
|
34
34
|
"pmosChanges": [
|
|
35
|
+
{
|
|
36
|
+
"v": "0.433.0",
|
|
37
|
+
"at": "2026-10-28T02:16:22.945Z",
|
|
38
|
+
"f": 2,
|
|
39
|
+
"prs": [
|
|
40
|
+
{
|
|
41
|
+
"n": 1076,
|
|
42
|
+
"t": "The end diamond always names a milestone when the row has one (hotfix)",
|
|
43
|
+
"s": "When an initiative has any dated milestone task, the end ◇ is one of them."
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
35
47
|
{
|
|
36
48
|
"v": "0.432.0",
|
|
37
49
|
"at": "2026-10-28T02:08:08.690Z",
|
|
@@ -259,18 +271,6 @@
|
|
|
259
271
|
"s": "Fourth testing feedback batch (items 1–10)"
|
|
260
272
|
}
|
|
261
273
|
]
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"v": "0.413.0",
|
|
265
|
-
"at": "2026-10-25T08:05:44.632Z",
|
|
266
|
-
"f": 2,
|
|
267
|
-
"prs": [
|
|
268
|
-
{
|
|
269
|
-
"n": 1044,
|
|
270
|
-
"t": "Third testing feedback batch (items 1–10)",
|
|
271
|
-
"s": "Third testing feedback batch (items 1–10)"
|
|
272
|
-
}
|
|
273
|
-
]
|
|
274
274
|
}
|
|
275
275
|
]
|
|
276
276
|
}
|
package/payload/KIT-VERSION
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Reference
|
|
3
3
|
title: "Eval calibration log"
|
|
4
4
|
description: "Append-only record of every PM override of an evaluator verdict."
|
|
5
|
-
generated: {by: process:create-pmos, at: "2026-10-28T02:
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-10-28T02:16:20Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Reference
|
|
3
3
|
title: "Health budgets"
|
|
4
4
|
description: "Closed registry of health-budget anchors (D59), edited only by the PM."
|
|
5
|
-
generated: {by: process:create-pmos, at: "2026-10-28T02:
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-10-28T02:16:20Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Reference
|
|
3
3
|
title: "Discoveries and friction log"
|
|
4
4
|
description: "Append-only record of what runs discovered and where the process rubbed."
|
|
5
|
-
generated: {by: process:create-pmos, at: "2026-10-28T02:
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-10-28T02:16:20Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
package/workspace/changelog.json
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"v": "0.433.0",
|
|
4
|
+
"at": "2026-10-28T02:16:22.945Z",
|
|
5
|
+
"f": 2,
|
|
6
|
+
"prs": [
|
|
7
|
+
{
|
|
8
|
+
"n": 1076,
|
|
9
|
+
"t": "The end diamond always names a milestone when the row has one (hotfix)",
|
|
10
|
+
"s": "When an initiative has any dated milestone task, the end ◇ is one of them."
|
|
11
|
+
}
|
|
12
|
+
]
|
|
13
|
+
},
|
|
2
14
|
{
|
|
3
15
|
"v": "0.432.0",
|
|
4
16
|
"at": "2026-10-28T02:08:08.690Z",
|
package/workspace/guide/home.md
CHANGED
|
@@ -54,7 +54,7 @@ Press an initiative's name in the list, or open `?ini=<id>`. The list stays as i
|
|
|
54
54
|
|
|
55
55
|
- The page's header shows the lane and the anchor, the name, **New session** (+), ⋯, Open wide and Close.
|
|
56
56
|
- The stage card shows the stage, **N of M done** for its tasks, the days in the stage (for example "9 of ~7 days", amber when over the usual time) and → for the next stage. → turns blue when every task of the stage is done.
|
|
57
|
-
- Under the header is one line for the whole initiative. Each stage is a part of the line, on its own dates. Done stages are grey, the current stage is blue, later stages are light, and a stage with no dated task is dashed. The ◇ marks are the milestone tasks, with the name above and the date below. The end ◇ is the end date. When
|
|
57
|
+
- Under the header is one line for the whole initiative. Each stage is a part of the line, on its own dates. Done stages are grey, the current stage is blue, later stages are light, and a stage with no dated task is dashed. The ◇ marks are the milestone tasks, with the name above and the date below. The end ◇ is the end date. When the initiative has milestone tasks, the end ◇ stands for one of them (one on the end date, else the latest in the last milestone stage, else the latest of all), sits on that task's own date and shows it. A thin tick is Today.
|
|
58
58
|
- Press a part to show that stage in **Tasks**. Press **N of M done** to do the same. Press a ◇ to open the milestone task in **Tasks**. Milestones a few days apart merge into one ◇ with a count. Press it to list them.
|
|
59
59
|
- The line also shows what the Board's timeline shows: » for a skipped stage, a dotted gap and ⏸ for a hold (press ⏸ to set or change the return date), a hairline for 2 weeks or more with no activity (press it; ahead of Today, + adds a task in the gap), hatching past the end date, a dashed Jira forecast, a thin line under it for a saved plan, and "after <initiative>" when it waits on another initiative.
|
|
60
60
|
- A cancelled, done or archived initiative leaves Home, and so do the next steps that were for it.
|
|
@@ -23,7 +23,7 @@ A cancelled or archived initiative leaves its program's views: the band, the pro
|
|
|
23
23
|
- The **timeline** draws a program row that brackets its initiatives' bars, on every span. Program milestones are diamonds. Milestones that are close together merge into one diamond with a count.
|
|
24
24
|
- On the timeline, a **product's head row** also shows milestones. Nothing is added by hand: the row shows every milestone of the product's initiatives, which are each milestone task and each initiative's end diamond (its Deliver or Evaluate date). The diamonds are the same as on the initiative rows: open, filled when done, orange when late. Diamonds that are close together merge into one diamond with a count and the date range under it. Press it to see a list with the milestone, its initiative and the date. Press a line to open that initiative. Hold the pointer on a single diamond to see its milestone and initiative. A thin line goes from the first start to the last end of the product's initiatives. When the product is folded, the row stays the same, so it is a summary of the product. On a phone the diamonds have no dates; tap the row to see all the milestones in date order. A product inside a program has no such row, because the program row shows its milestones.
|
|
25
25
|
- On the timeline, an initiative row shows only its **pinned** milestones. By default that is its last milestone. Press a diamond to see every milestone of the initiative, with how many are on the timeline. Press the pin beside a milestone to show it or to hide it. To see every milestone or none, open **Filter** and pick **Milestones on the timeline: Pinned**, **All** or **None**. The Board keeps your pick. From a terminal: `pmos task set <task> --pin`, `--no-pin`, or `--pin-default` to go back to the default.
|
|
26
|
-
- The label at the end of an initiative row says what lands and when. When a milestone task is in the last milestone stage, or is on the end date, or is in the Deliver stage, or is so close to the end date that its diamond would sit on the end diamond, the label shows its name and its own date, and the end date of the initiative shows when you hold the pointer on the label. Otherwise the
|
|
26
|
+
- The label at the end of an initiative row says what lands and when. When a milestone task is in the last milestone stage, or is on the end date, or is in the Deliver stage, or is so close to the end date that its diamond would sit on the end diamond, the label shows its name and its own date, and the end date of the initiative shows when you hold the pointer on the label. Otherwise the latest milestone task of the initiative names the end in the same way, even when it is months before the end date. Only an initiative with no dated milestone task shows **Deliver** (or **Evaluate**) and the end date. Press that end diamond: the card has the same words as the label, then the milestones of the initiative.
|
|
27
27
|
- **List** has a Product column and a Program column. Press a column header to sort by it.
|
|
28
28
|
- **New** opens a menu: **New initiative** or **New program**.
|
|
29
29
|
- A new program shows at once, before any initiative joins it. A program with no open initiative shows on its own product's Board and on All products, with "No initiatives yet" or "No open initiatives". Press its name, then **⋯** and **Move an initiative in**. That menu lists open initiatives only, grouped by product, with the program's own product first, wherever you open the program (Home, another product's Board or All products). An initiative joins in its own product.
|
|
@@ -128,11 +128,16 @@ const ITEMS = [
|
|
|
128
128
|
return { id: e ? e.dataset.msId : null, label: l ? l.textContent.trim() : '', hover: l ? l.title : '', tm: r ? r.querySelectorAll('.tg-tm').length : -1 }; });
|
|
129
129
|
ok('E a milestone in the Deliver stage before the end names the row\'s end, at its own date; the end date is the hover; one ◇ only',
|
|
130
130
|
otp.id === 'o-roll' && otp.label === 'Email OTP rolled out May 26 ’27' && /Initiative ends Jun 9 ’27/.test(otp.hover) && otp.tm === 0, JSON.stringify(otp));
|
|
131
|
-
|
|
131
|
+
// the second timeline-label hotfix (Wawan 2026-10-28, "End always names a milestone"): a row's only milestone, months before its end, IS the end ◇
|
|
132
|
+
const pk = await p.evaluate(() => { const r = document.querySelector('#ibBody [data-row="board:passkey"]'); const e = r && r.querySelector('.tg-end'), l = r && r.querySelector('.tg-endl');
|
|
133
|
+
return { id: e ? e.dataset.msId : null, label: l ? l.textContent.trim() : '', hover: l ? l.title : '' }; });
|
|
134
|
+
ok('E a row\'s only milestone, far before the end, names the end at its own date; no "Deliver"; the end date is the hover',
|
|
135
|
+
pk.id === 'p-beta' && pk.label === 'Beta to staff Dec 18' && /Initiative ends Feb 26 ’27/.test(pk.hover), JSON.stringify(pk));
|
|
136
|
+
await p.click('[data-ms-pick="board:passkey"][data-ms-id="p-beta"].tg-end');
|
|
132
137
|
await p.waitForSelector('#bdPop.bd-pc:not([hidden])', { timeout: 4000 });
|
|
133
138
|
c = await card(p);
|
|
134
|
-
ok('E
|
|
135
|
-
c && c.h === '
|
|
139
|
+
ok('E its card says what the label says: the milestone, its date',
|
|
140
|
+
c && c.h === 'Beta to staff' && c.sub === 'Dec 18 · 1 of 1 milestone on the timeline', JSON.stringify(c));
|
|
136
141
|
await p.keyboard.press('Escape');
|
|
137
142
|
ok('C the ◇ press does not open the initiative', await p.evaluate(() => !document.querySelector('.iv-tr')));
|
|
138
143
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmos-workspace",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.433.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "pmos-workspace",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.433.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@xterm/addon-fit": "^0.11.0",
|
package/workspace/package.json
CHANGED
|
@@ -119,11 +119,11 @@ function model() {
|
|
|
119
119
|
const a = await laneOf(p, 'p:pmos-scarlet'), b = await laneOf(p, 'p:pmos-idpf');
|
|
120
120
|
ok('L folded, each product\'s head row is a lane: its name cell with the fold, its track with a thin line and its last end', a && b && /pmos-scarlet/.test(a.name) && a.span >= 1 && b.span >= 1 && a.endl.join() === 'Mar ’27', JSON.stringify({ a, b }));
|
|
121
121
|
ok('L the lane rolls up the ◇ tasks and each end ◇ of its initiatives; Dec 11 and Dec 18 merge into one counted ◇; no date under a ◇',
|
|
122
|
-
a && a.tm.length ===
|
|
123
|
-
ok('L the same ◇: late is orange, the Evaluate task IS the end ◇ (said once), a
|
|
124
|
-
a && /^tg-tm late\|Design review · Passkey sign-in · Oct 16 · late$/.test(a.tm[0]) && a.tm.some((x) => /KPI evaluated · Scarlet/.test(x)) && a.tm.some((x) =>
|
|
122
|
+
a && a.tm.length === 3 && a.tmc.length === 1 && /^tg-tmc dn|^tg-tmc/.test(a.tmc[0]) && a.tmc[0].endsWith('|2') && !a.tml.length, JSON.stringify(a));
|
|
123
|
+
ok('L the same ◇: late is orange, the Evaluate task IS the end ◇ (said once), a row\'s only milestone IS its end (no Deliver, hotfix 2)',
|
|
124
|
+
a && /^tg-tm late\|Design review · Passkey sign-in · Oct 16 · late$/.test(a.tm[0]) && a.tm.some((x) => /KPI evaluated · Scarlet/.test(x)) && !a.tm.some((x) => /Deliver · Passkey/.test(x)) && !a.tm.some((x) => /Committed/.test(x)), JSON.stringify(a && a.tm));
|
|
125
125
|
ok('H a single ◇\'s hover names the milestone and its initiative', a && a.tm.some((x) => x.endsWith('|Feature delivered · Scarlet — ST What’s The News · Jan 29')), JSON.stringify(a && a.tm));
|
|
126
|
-
ok('L the other product\'s lane: Mar 2 and Mar 6 merge;
|
|
126
|
+
ok('L the other product\'s lane: Mar 2 and Mar 6 (Recovery\'s end) merge; Email OTP has no milestone, so its end is Deliver Jun 30', b && b.tmc.length === 1 && b.tm.length === 1 && /Deliver · Email OTP · Jun 30/.test(b.tm[0]), JSON.stringify(b));
|
|
127
127
|
const lg = await p.evaluate(() => (document.querySelector('.tg-lgd') || {}).textContent || '');
|
|
128
128
|
ok('L the legend gets no new entry', !/lane|product/i.test(lg), lg);
|
|
129
129
|
await shot(p, 'lane-board-1440');
|
|
@@ -169,7 +169,7 @@ function model() {
|
|
|
169
169
|
await p.waitForTimeout(200);
|
|
170
170
|
const sh = await p.evaluate(() => { const m = document.querySelector('.tg-msp.sh'); return m ? { h: (m.querySelector('.h') || {}).textContent, lines: [...m.querySelectorAll('[data-ms-ini]')].map((x) => x.querySelector('span').firstChild.textContent + '|' + x.querySelector('.k').textContent) } : null; });
|
|
171
171
|
ok('Q a tap on the folded lane opens a sheet with the product\'s milestones in date order',
|
|
172
|
-
sh && sh.h === 'pmos-scarlet' && sh.lines.join() === 'Design review|Oct 16,Pilot with 2 newsrooms|Dec 11,Security sign-off|Dec 18,Feature delivered|Jan 29,
|
|
172
|
+
sh && sh.h === 'pmos-scarlet' && sh.lines.join() === 'Design review|Oct 16,Pilot with 2 newsrooms|Dec 11,Security sign-off|Dec 18,Feature delivered|Jan 29,KPI evaluated|Mar 31', JSON.stringify(sh));
|
|
173
173
|
await shot(p, 'lane-phone-390');
|
|
174
174
|
ok('the phone threw nothing', !errors.length, errors.join('\n'));
|
|
175
175
|
await ctx.close();
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
* the hairline and » only; its row sheet lists them. A gap never changes the row's dot or risk.
|
|
29
29
|
* Calmer timeline (feedback batch 13 item 4, A: XcalmA1Desk, A4Dark, A3Phone, A2Folded, A5Milestones): say it once, few marks, quiet rows.
|
|
30
30
|
* · One label per bar end: what lands, then when ("Tender award Nov 3"; the year only when it is not this year). The name is the end milestone's,
|
|
31
|
-
* else a milestone close enough to merge with the end ◇, else Deliver or Evaluate. The date turns amber at risk and orange late; the rest (days over, the forecast, a slip, a clash) is its hover.
|
|
31
|
+
* else a milestone close enough to merge with the end ◇, else the row's latest milestone; only a row with none says Deliver or Evaluate. The date turns amber at risk and orange late; the rest (days over, the forecast, a slip, a clash) is its hover.
|
|
32
32
|
* With no room at the right edge the label sits before the ◇, on a card chip. No date under a ◇ and no second date.
|
|
33
33
|
* · Marks: the bar (done dark, to do light), a 2 px hairline for any gap or hold (a hold's hairline opens the hold card), one ◇ (filled done,
|
|
34
34
|
* orange late), the dashed Jira forecast, Today. The dotted hold, ⏸, the amber tint, the blue ◆ and the hatched out-of-window band are gone.
|
|
@@ -332,14 +332,15 @@ const msStage = (r, m) => { if (!m.sec) return ''; const st = (r.wfStages || [])
|
|
|
332
332
|
* milestone task in that stage IS it, else one on the end's own day, else the latest task in any ◆ stage (Deliver: batch 14 item 1, so a
|
|
333
333
|
* "rolled out" task in Deliver names the row's end), else the latest one close enough to the end to merge with its ◇ (`reach` days, the
|
|
334
334
|
* zoom's ~40 px: the timeline-label hotfix, "[Tender] 12.0 Award contract" on Nov 2 sat under the end ◇ labelled "Deliver Nov 4"; one mark says
|
|
335
|
-
* the milestone's own name and date)
|
|
336
|
-
*
|
|
335
|
+
* the milestone's own name and date), else the row's latest milestone task however far from the end (Wawan 2026-10-28, "End always names a
|
|
336
|
+
* milestone": a plain "Deliver Nov 11" whose card listed only "Tech blueprint approved, Apr 29" read as two answers). It takes that
|
|
337
|
+
* task's name, date and done, and is not drawn twice. Only a row with no dated milestone says Deliver or Evaluate. M: its dated milestones. */
|
|
337
338
|
function endTask(r, M, reach = 0) {
|
|
338
339
|
const e = day(r.end); if (!e || !M.length) return null;
|
|
339
340
|
const S = M.slice().sort((a, b) => day(a.date) - day(b.date));
|
|
340
341
|
const last = lastMs(r), inLast = S.filter((m) => m.sec && m.sec.toLowerCase() === last);
|
|
341
342
|
const inMs = S.filter((m) => msStage(r, m));
|
|
342
|
-
const end = inLast.length ? inLast[inLast.length - 1] : S.find((m) => +day(m.date) === +e) || inMs[inMs.length - 1] || S.filter((m) => Math.abs(day(m.date) - e) <= reach * 864e5).pop();
|
|
343
|
+
const end = inLast.length ? inLast[inLast.length - 1] : S.find((m) => +day(m.date) === +e) || inMs[inMs.length - 1] || S.filter((m) => Math.abs(day(m.date) - e) <= reach * 864e5).pop() || S[S.length - 1];
|
|
343
344
|
return end ? { ...end, stage: msStage(r, end) } : null;
|
|
344
345
|
}
|
|
345
346
|
/** One ◇ per milestone task the Filter shows (batch 13 item 4, XcalmA5Milestones; pm/bd-pins.js shownMs: the pinned ones, by default the last),
|
|
@@ -226,11 +226,12 @@ export function lineOf(r, o = {}) {
|
|
|
226
226
|
});
|
|
227
227
|
const skips = skipsOf(parts, P, B);
|
|
228
228
|
|
|
229
|
-
// 8 the ◇s: the end ◇ is the committed end (a milestone task on that day,
|
|
230
|
-
// task's own date and with its own date under it: the timeline-label
|
|
229
|
+
// 8 the ◇s: the end ◇ is the committed end (a milestone task on that day, else the latest one in the workflow's last ◆ stage, else the
|
|
230
|
+
// latest milestone task of all, IS it, at the task's own date and with its own date under it: the timeline-label hotfixes, as the Board,
|
|
231
|
+
// "End always names a milestone"); the others merge when they are within NEAR % of each other
|
|
231
232
|
const lastMs = (list.filter((s) => s.ms).slice(-1)[0] || {}).key;
|
|
232
233
|
const inLast = lastMs ? MS.filter((m) => m.sec === lastMs) : [];
|
|
233
|
-
const endTask = E && !draft ? (MS.filter((m) => +m.d === +E).slice(-1)[0] || inLast.slice(-1)[0] || null) : null;
|
|
234
|
+
const endTask = E && !draft ? (MS.filter((m) => +m.d === +E).slice(-1)[0] || inLast.slice(-1)[0] || MS.slice().sort((a, b) => a.d - b.d).pop() || null) : null;
|
|
234
235
|
const clash = openHold && openHold.kind === 'open' && E && openHold.b > E ? md(openHold.b, t) : '';
|
|
235
236
|
const L = MS.filter((m) => !endTask || m.id !== endTask.id);
|
|
236
237
|
const reach = Math.max(1, Math.round(((D1 - D0) / DAY) * (NEAR / 100)));
|
|
@@ -49,6 +49,7 @@ const ITEMS = [
|
|
|
49
49
|
it('scarlet', 'task-faq', 'Support FAQ', { section: 'evaluate', end: null }),
|
|
50
50
|
it('passkey', 'task-late', 'Beta to staff', { start: '2026-10-01', end: '2026-10-16' }),
|
|
51
51
|
it('passkey', 'task-pk2', 'Rollout 50%', { end: '2026-12-18' }),
|
|
52
|
+
it('recovery', 'task-c0', 'Codes drafted', { end: '2027-02-27' }),
|
|
52
53
|
it('recovery', 'task-c1', 'Codes live', { end: '2027-03-02' }),
|
|
53
54
|
it('recovery', 'task-c2', 'Support FAQ live', { end: '2027-03-06' }),
|
|
54
55
|
it('recovery', 'task-wont', 'Dropped', { end: '2027-02-01', status: "Won't do" }),
|
|
@@ -105,13 +106,13 @@ const ITEMS = [
|
|
|
105
106
|
const pk = await rowOf(p, 'board:passkey');
|
|
106
107
|
ok('B a late milestone: an orange outline, and the row\'s dot turns orange', pk && /tg-tm late\|Beta to staff · Oct 16 · late/.test(pk.tm[0]) && !pk.tml.length && /cz-dot late/.test(pk.dot), JSON.stringify(pk));
|
|
107
108
|
const rc = await rowOf(p, 'board:recovery');
|
|
108
|
-
ok('M two milestones
|
|
109
|
+
ok('M two milestones three days apart merge into one counted ◇; the latest is the end ◇; Won\'t do is not drawn', rc && rc.tm.length === 0 && rc.tmc.length === 1 && /^tg-tmc\|2\|task-c0 task-c1$/.test(rc.tmc[0]) && /Support FAQ live · Mar 6/.test(rc.end) && !rc.tml.length, JSON.stringify(rc));
|
|
109
110
|
const lg = await p.evaluate(() => (document.querySelector('#bdChipset .tg-lgd') || document.querySelector('.tg-lgd') || {}).textContent || '');
|
|
110
111
|
ok('B the legend says Milestone, not "Deliver or Evaluate"', /Milestone/.test(lg) && !/Deliver or Evaluate/.test(lg), lg);
|
|
111
112
|
await shot(p, 'milestones-board-1440');
|
|
112
113
|
await p.click('#ibBody [data-row="board:recovery"] .tg-tmc');
|
|
113
114
|
const list = await p.evaluate(() => { const m = document.querySelector('.tg-msp'); return m ? [...m.querySelectorAll('[data-ms-open]')].map((b) => b.textContent) : null; });
|
|
114
|
-
ok('M the counted ◇ lists its milestones right under it: ◇, name, date', list && list.join('|') === 'Codes
|
|
115
|
+
ok('M the counted ◇ lists its milestones right under it: ◇, name, date', list && list.join('|') === 'Codes draftedFeb 27|Codes liveMar 2', JSON.stringify(list));
|
|
115
116
|
await shot(p, 'milestones-board-list-1440');
|
|
116
117
|
await p.keyboard.press('Escape');
|
|
117
118
|
ok('M Escape closes the list', await p.evaluate(() => !document.querySelector('.tg-msp')));
|
|
@@ -123,7 +124,7 @@ const ITEMS = [
|
|
|
123
124
|
{
|
|
124
125
|
const { ctx, page: p } = await open({ mode: 'pinned' });
|
|
125
126
|
const sc = await rowOf(p, 'board:scarlet'), pk = await rowOf(p, 'board:passkey');
|
|
126
|
-
ok('D by default only the last milestone shows: Scarlet\'s is its end ◇ (no ◇ in the middle), Passkey\'s last task
|
|
127
|
+
ok('D by default only the last milestone shows: Scarlet\'s is its end ◇ (no ◇ in the middle), so is Passkey\'s last task (hotfix 2: the end always names a milestone)', sc && !sc.tm.length && !sc.tmc.length && /KPI evaluated/.test(sc.end) && pk && !pk.tm.length && /Rollout 50%/.test(pk.end), JSON.stringify([sc, pk]));
|
|
127
128
|
await ctx.close();
|
|
128
129
|
}
|
|
129
130
|
|