create-pmos 0.443.0 → 0.445.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 +25 -25
- package/payload/KIT-VERSION +2 -2
- 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/payload/state/log.md +1 -1
- package/workspace/adler-moments-test.js +8 -0
- package/workspace/adler-seasons-art-test.js +3 -0
- package/workspace/board-columns-test.js +168 -0
- package/workspace/board-programs-test.js +1 -1
- package/workspace/briefing-premium-board-test.js +91 -8
- package/workspace/briefing-premium-insights-test.js +83 -38
- package/workspace/briefing-premium-test.js +2 -1
- package/workspace/calm-timeline-test.js +3 -1
- package/workspace/changelog.json +24 -0
- package/workspace/goals-clear-ui-test.js +34 -20
- package/workspace/guide/home.md +5 -0
- package/workspace/guide/jira.md +13 -1
- package/workspace/guide/ready-made-dashboards.md +2 -2
- package/workspace/intel-report-ui-test.js +1 -1
- package/workspace/lib/board-fold.js +33 -5
- package/workspace/lib/board-premium.js +1 -1
- package/workspace/lib/console-state.js +5 -1
- package/workspace/lib/engine/boards.js +9 -2
- package/workspace/lib/factory-join.js +46 -14
- package/workspace/lib/freshness.js +14 -1
- package/workspace/lib/initiative-rows.js +38 -4
- package/workspace/lib/issues.js +8 -1
- package/workspace/lib/jira-cli.js +18 -2
- package/workspace/lib/jira-moves.js +119 -0
- package/workspace/lib/jira-tickets.js +23 -4
- package/workspace/lib/notes.js +4 -2
- package/workspace/lib/offloop.js +75 -29
- package/workspace/lib/page-build.js +97 -0
- package/workspace/lib/plan-items.js +24 -3
- package/workspace/lib/plan-tree.js +62 -9
- package/workspace/lib/ready-reports.js +22 -8
- package/workspace/lib/refresh.js +14 -2
- package/workspace/lib/routes-board-premium.js +9 -1
- package/workspace/lib/routes-boards.js +114 -16
- package/workspace/lib/routes-brief-page.js +3 -1
- package/workspace/lib/routes-calendar-import.js +13 -1
- package/workspace/lib/routes-ready-reports.js +28 -5
- package/workspace/lib/task-links.js +12 -1
- package/workspace/lib/workflows-store.js +14 -3
- package/workspace/live-pill-round-test.js +178 -0
- package/workspace/milestone-pins-test.js +1 -1
- package/workspace/okr-goals-ui-test.js +21 -19
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/panels-test.js +375 -0
- package/workspace/premium-rec-tab-test.js +2 -1
- package/workspace/premium-vw-item-test.js +10 -2
- package/workspace/premium-vw-jira-test.js +3 -0
- package/workspace/program-panel-test.js +6 -6
- package/workspace/public/pm/bd-cols.js +149 -0
- package/workspace/public/pm/bd-ini-panel.js +3 -2
- package/workspace/public/pm/bd-pane.js +41 -0
- package/workspace/public/pm/bd-span.js +29 -11
- package/workspace/public/pm/cozy-adler.js +21 -0
- package/workspace/public/pm/cozy-board.css +45 -0
- package/workspace/public/pm/cozy-divider.css +32 -0
- package/workspace/public/pm/cozy-divider.js +45 -0
- package/workspace/public/pm/cozy-insights.css +22 -0
- package/workspace/public/pm/cozy-live-pill.css +17 -22
- package/workspace/public/pm/cozy-live-pill.js +38 -18
- package/workspace/public/pm/cozy-panels.css +80 -0
- package/workspace/public/pm/cozy-panels.js +691 -0
- package/workspace/public/pm/cozy-viewer.js +148 -70
- package/workspace/public/pm/dash-view.js +5 -2
- package/workspace/public/pm/goals-clear.js +9 -2
- package/workspace/public/pm/home-app.js +30 -19
- package/workspace/public/pm/home-ini.js +9 -3
- package/workspace/public/pm/home-today.js +4 -2
- package/workspace/public/pm/ini-edit.js +405 -0
- package/workspace/public/pm/ini-tasks.js +175 -46
- package/workspace/public/pm/ini-versions.js +18 -4
- package/workspace/public/pm/ini-view-model.js +12 -7
- package/workspace/public/pm/ini-view.css +162 -26
- package/workspace/public/pm/ini-view.js +44 -13
- package/workspace/public/pm/ini-wf-model.js +9 -0
- package/workspace/public/pm/ini-wf.js +14 -9
- package/workspace/public/pm/ins-pane.js +55 -0
- package/workspace/public/pm/jira-move.js +50 -0
- package/workspace/public/pm/live-model.js +3 -2
- package/workspace/public/pm/pn-narrow.js +76 -0
- package/workspace/public/pm/premium-board.js +85 -32
- package/workspace/public/pm/premium-insights.js +211 -43
- package/workspace/public/pm/task-card.css +2 -0
- package/workspace/public/pm/task-card.js +4 -1
- package/workspace/public/premium-board.html +2 -0
- package/workspace/ready-dash-ui-test.js +4 -4
- package/workspace/server.js +71 -20
- package/workspace/skills/jira-move.skill +35 -0
- package/workspace/stage-card-tasks-test.js +397 -0
- package/workspace/stage-card-test.js +1 -1
- package/workspace/task-delete-test.js +9 -1
- package/workspace/task-links-test.js +1 -0
- package/workspace/task-milestones-test.js +3 -3
- package/workspace/task-plans-test.js +1 -1
- package/workspace/task-press-test.js +12 -4
- package/workspace/task-views-test.js +166 -13
- package/workspace/test-lists/batch18-live-pill-round.json +10 -0
- package/workspace/test-lists/batch18-panels.json +9 -0
- package/workspace/test-lists/board-columns.json +5 -0
- package/workspace/test-lists/jira-moves.json +11 -0
- package/workspace/test-lists/page-speed-fold.json +5 -0
- package/workspace/test-lists/page-speed-reads.json +5 -0
- package/workspace/test-lists/stage-card-tasks.json +6 -0
- package/workspace/timeline-holds-test.js +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* XtvA5PhoneKanban, XtvA6PhoneTimeline, XtvA7BoardPanel). Serves the real Board page from the real server, answers GET /api/board-premium
|
|
6
6
|
* with the model lib/board-premium.js builds from fixtures/board-premium-facts.js plus one initiative's tasks, and captures the writes.
|
|
7
7
|
* V1 the view switch, remembered · V2 the box's one press and its caret · V3 the date press · V4 Timeline · V5 a bar's drag · V6 Kanban
|
|
8
|
-
* V7 a card's drag · V8 Won't do and Archived in the List · V9 the phone. SHOTS_5B=<dir> writes the screens.
|
|
8
|
+
* V7 a card's drag · V8 Won't do and Archived in the List · V9 the phone · V13 a card's date on one line. SHOTS_5B=<dir> writes the screens.
|
|
9
9
|
* Batch 18 item 1 (1-B; XvpA4Sheet, XvpA3Timeline, XvpA3bMonths): the header holds one view button, its sheet picks View, Group by and Zoom
|
|
10
10
|
* (Weeks, Months, All); the List shows only the stages with something open and folds a stage after 3 tasks; All fits the whole initiative.
|
|
11
11
|
* V10 the sheet · V11 the List's folds · V12 Timeline at All. The pure half is viewer-tasks.test.js.
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
* Viewer makes every button 44 px) · H2 the Today line unbroken · H3 no half-cut axis label · H4 one ◇ a milestone · H5 Full width in the
|
|
14
14
|
* Tasks header · H6 the grouping kept over a task edit. Home's Viewer (premium.html) and the Board's panel, 390 and 1440, light and dark.
|
|
15
15
|
* H7 (Wawan 13:02, 13:03): a task whose title names a Jira ticket PMOS read is that ticket (Jira mark, the key once, Jira's status, no box
|
|
16
|
-
* and no Kanban drag) and its dates stay the PM's to set (date press and bar drag save to the task); a key PMOS has not read is plain text.
|
|
16
|
+
* and no Kanban drag) and its dates stay the PM's to set (date press and bar drag save to the task); a key PMOS has not read is plain text.
|
|
17
|
+
* H8 (Wawan 2026-10-29): a Jira card's drop and a Jira row's status press move the ticket in Jira (POST /api/jira/move), Undo, a refusal, moving. */
|
|
17
18
|
const path = require('path');
|
|
18
19
|
const { spawn } = require('child_process');
|
|
19
20
|
const { findBrowser } = require('./lib/find-browser');
|
|
@@ -73,6 +74,7 @@ const IF = require('./fixtures/initiative-premium-facts.js');
|
|
|
73
74
|
|
|
74
75
|
const open = async ({ w = 1440, h = 900, theme = 'light', touch = false, store = null } = {}) => {
|
|
75
76
|
const ctx = await browser.newContext({ viewport: { width: w, height: h }, hasTouch: touch, isMobile: touch });
|
|
77
|
+
await ctx.addInitScript(() => { try { if (localStorage.getItem('cz-pn:board') == null) localStorage.setItem('cz-pn:board', JSON.stringify({ v: 2, share: 0.405 })); } catch { /* none */ } }); // the Board's Viewer at 560 px beside the page (cozy-panels.js keeps only this share), so its Tasks Timeline is wide enough to drag
|
|
76
78
|
if (store) await ctx.addInitScript((s) => { for (const [k, v] of Object.entries(s)) localStorage.setItem(k, v); }, store);
|
|
77
79
|
const page = await ctx.newPage();
|
|
78
80
|
const errors = [], posts = [];
|
|
@@ -106,10 +108,10 @@ const IF = require('./fixtures/initiative-premium-facts.js');
|
|
|
106
108
|
const sw = await p.evaluate(() => { const b = document.querySelector('#czViewer .iv-th [data-iv-vbtn]'); return b ? b.getAttribute('aria-label') + (b.textContent.trim() ? '+text' : '') : null; });
|
|
107
109
|
ok('V1 the Tasks header has one icon-only view button; the first time it is List', sw === 'Tasks view: List. Change the view, grouping or zoom', sw);
|
|
108
110
|
const order = await p.evaluate(() => [...document.querySelector('#czViewer .iv-th').children].map((e) => e.className || e.tagName).join());
|
|
109
|
-
ok('V1 the header holds the view button
|
|
111
|
+
ok('V1 the header holds the view button only: + sits on each open stage (batch 18 item 16)', /,ivx-vb$/.test(order) && !/ivx-seg|ig-by|ivx-pick/.test(order), order);
|
|
110
112
|
|
|
111
113
|
/* V11 the List: only the stages with something open; the rest wait in one fold at the foot; a stage folds after 3 tasks */
|
|
112
|
-
const L0 = await p.evaluate(() => ({ secs: [...document.querySelectorAll('#czViewer .iv-wbs > .iv-ws .w b')].map((b) => b.textContent), rest: (document.querySelector('#czViewer .iv-rest') || {}).textContent || null,
|
|
114
|
+
const L0 = await p.evaluate(() => ({ secs: [...document.querySelectorAll('#czViewer .iv-wbs > .iv-ws .w b, #czViewer .iv-wbs > .iv-wsw > .iv-ws .w b')].map((b) => b.textContent), rest: (document.querySelector('#czViewer .iv-rest') || {}).textContent || null,
|
|
113
115
|
rows: [...document.querySelectorAll('#czViewer .iv-wbs .iv-wl > .iv-tr .iv-tt')].map((e) => e.textContent), more: (document.querySelector('#czViewer .iv-wl > .iv-more') || {}).textContent || null }));
|
|
114
116
|
ok('V11 the List shows only Discover and Plan (each has something open); the six others wait in one fold', L0.secs.join('|') === 'Discover|Plan' && /^6 stages\s*nothing open/.test(L0.rest || ''), JSON.stringify(L0));
|
|
115
117
|
ok('V11 Discover shows 3 tasks, then "1 more"', L0.rows.length === 3 && /^1 more/.test(L0.more || ''), JSON.stringify(L0));
|
|
@@ -117,7 +119,7 @@ const IF = require('./fixtures/initiative-premium-facts.js');
|
|
|
117
119
|
const L1 = await until(() => p.evaluate(() => { const n = document.querySelectorAll('#czViewer .iv-wbs .iv-wl > .iv-tr .iv-tt').length; return n > 3 ? n : null; }));
|
|
118
120
|
ok('V11 "1 more" shows the rest of the stage', L1 === 4, String(L1));
|
|
119
121
|
await p.click('#czViewer .iv-rest');
|
|
120
|
-
const L2 = await until(() => p.evaluate(() => { const s = [...document.querySelectorAll('#czViewer .iv-wbs > .iv-ws .w b')].map((b) => b.textContent); return s.length > 2 ? s : null; }));
|
|
122
|
+
const L2 = await until(() => p.evaluate(() => { const s = [...document.querySelectorAll('#czViewer .iv-wbs > .iv-ws .w b, #czViewer .iv-wbs > .iv-wsw > .iv-ws .w b')].map((b) => b.textContent); return s.length > 2 ? s : null; }));
|
|
121
123
|
ok('V11 the fold opens the stages with nothing open, in order', L2 && L2.join('|') === 'Discover|Plan|Triage|Prioritize|Build|Deliver|Monitor|Evaluate', JSON.stringify(L2));
|
|
122
124
|
await p.click('#czViewer .iv-rest');
|
|
123
125
|
|
|
@@ -159,7 +161,7 @@ const IF = require('./fixtures/initiative-premium-facts.js');
|
|
|
159
161
|
|
|
160
162
|
/* V3 the date press opens the task card's start and due picker right under it; an undated row shows a calendar icon on hover only */
|
|
161
163
|
const dbtn = await p.evaluate(() => { const b = document.querySelector('#czViewer .iv-tr [data-iv-date="task-c"]'); const n = document.querySelector('#czViewer .iv-tr [data-iv-date="task-d"]'); return { t: b && b.textContent, w: b && b.classList.contains('w'), none: n && getComputedStyle(n).opacity, nl: n && n.getAttribute('aria-label') }; });
|
|
162
|
-
ok('V3 the dates in a row are a press, amber when late; an undated row
|
|
164
|
+
ok('V3 the dates in a row are a press, amber when late; an undated row shows none (batch 18 item 16: zero is silence, its open row sets them)', dbtn.t === 'Oct 8 – Oct 10' && dbtn.w && dbtn.none == null, JSON.stringify(dbtn));
|
|
163
165
|
await p.click('#czViewer .iv-tr [data-iv-date="task-c"]');
|
|
164
166
|
const dp = await until(() => p.evaluate(() => { const q = document.querySelector('.tkc.ivq .tkc-dp'); if (!q) return null; return { two: [...q.querySelectorAll('[data-tkc-field]')].map((b) => b.textContent).join('|'), on: (q.querySelector('[data-tkc-field].on') || {}).textContent }; }));
|
|
165
167
|
ok('V3 the start and due picker opens with the due field picked', dp && dp.two === 'StartOct 8|DueOct 10' && dp.on === 'DueOct 10', JSON.stringify(dp));
|
|
@@ -193,11 +195,11 @@ const IF = require('./fixtures/initiative-premium-facts.js');
|
|
|
193
195
|
const today = T.querySelector('.ivt-today').getBoundingClientRect(), sc = T.querySelector('.ivt-sc'), nw = T.querySelector('.ivt-n').getBoundingClientRect();
|
|
194
196
|
return { groups: [...T.querySelectorAll('.ivt-gh b')].map((b) => b.textContent), rows: rows.map((r) => (r.querySelector('.iv-tt') || {}).textContent || r.textContent.trim()), a: bar('task-a'), b: bar('task-b'), c: bar('task-c'),
|
|
195
197
|
ghost: !!T.querySelector('.ivt-nd .ivt-set[data-iv-date="task-d"]') && /1 without dates/.test(T.querySelector('.ivt-nd').textContent) && !T.querySelector('.ivt-g'), zoom: T.dataset.ivt.split('|').pop(), seen: today.left > nw.right && today.left < sc.getBoundingClientRect().right,
|
|
196
|
-
lg: document.querySelector('#czViewer .ivt-lg').textContent, arch: /Old spike notes/.test(T.textContent) };
|
|
198
|
+
lg: document.querySelector('#czViewer .ivt-lg').textContent, late: !!T.querySelector('[data-ivt-bar="task-c"] + .ivt-late'), arch: /Old spike notes/.test(T.textContent) };
|
|
197
199
|
});
|
|
198
200
|
ok('V4 Timeline keeps the List\'s stage groups, one per stage (batch 11 item 5)', tl.groups.join('|') === 'Triage|Discover|Plan|Prioritize|Build|Deliver|Monitor|Evaluate', JSON.stringify(tl.groups));
|
|
199
|
-
ok('V4 bars by start and due: in progress
|
|
200
|
-
ok('V4 Weeks is the first zoom; it opens on today, the Today line in view; the legend
|
|
201
|
+
ok('V4 bars by start and due wear their task box (StsA1Desk): in progress blue; late keeps its status and draws the line to Today; a due day only is a circle; no dates: one "1 without dates · Set" row', /ivt-b/.test(tl.a) && / pr/.test(tl.a) && /ivt-d/.test(tl.b) && /ivt-b (pr|to)/.test(tl.c) && tl.late && tl.ghost, JSON.stringify(tl));
|
|
202
|
+
ok('V4 Weeks is the first zoom; it opens on today, the Today line in view; the legend names only what is not a box (no To do, Late or Jira item)', tl.zoom === 'week' && tl.seen && /Due only/.test(tl.lg) && !/To do|In progress|Late|Jira/.test(tl.lg), JSON.stringify(tl));
|
|
201
203
|
ok('V4 an archived task shows nowhere in Timeline', !tl.arch);
|
|
202
204
|
await shot(p, 'timeline-1440');
|
|
203
205
|
await sheetPick(p, 'zoom', 'month');
|
|
@@ -268,6 +270,11 @@ const IF = require('./fixtures/initiative-premium-facts.js');
|
|
|
268
270
|
const kb = await p.evaluate(() => { const K = document.querySelector('#czViewer .ivk'); return { stage: document.querySelector('#czViewer [data-iv-kstage]').textContent, cols: [...K.querySelectorAll('.ivk-c h4')].map((h) => h.textContent).join('|'), wont: K.querySelector('.ivk-w').textContent, cards: [...K.querySelectorAll('.ivk-d .iv-tt')].map((e) => e.textContent), arch: /Old spike notes/.test(K.textContent) }; });
|
|
269
271
|
ok('V6 Kanban opens on the current stage, with columns To do, In progress, Done', kb.stage === 'Discover' && kb.cols === 'To do2|In progress2|Done1', JSON.stringify(kb));
|
|
270
272
|
ok('V6 Won\'t do is a folded strip with its count; archived shows nowhere', kb.wont === "Won't do · 1" && !kb.arch, JSON.stringify(kb));
|
|
273
|
+
// V13 (Wawan 2026-10-29 "broken UI"): a late date chip has the class w, which the card body's own .w (a column) took too: its days
|
|
274
|
+
// stacked in the middle of the card and spilled past its foot. Every date sits on one line, left under the title, inside its card
|
|
275
|
+
const kdg = await p.evaluate(() => [...document.querySelectorAll('#czViewer .ivk-d')].map((c) => { const d = c.querySelector('.iv-dc'), t = c.querySelector('.iv-tt'); if (!d || !d.textContent.trim()) return null;
|
|
276
|
+
const R = d.getBoundingClientRect(), C = c.getBoundingClientRect(), s = getComputedStyle(d); return { t: t.textContent.slice(0, 16), late: d.classList.contains('w'), h: Math.round(R.height), grow: s.flexGrow, dir: s.flexDirection, left: Math.round(R.left - t.getBoundingClientRect().left), inside: R.bottom <= C.bottom + 0.5 }; }).filter(Boolean));
|
|
277
|
+
ok('V13 Kanban: every date is one line, left under its title, inside its card (a late one too)', kdg.some((x) => x.late) && kdg.every((x) => x.h <= 24 && x.grow === '0' && x.dir === 'row' && Math.abs(x.left) <= 8 && x.inside), JSON.stringify(kdg));
|
|
271
278
|
await shot(p, 'kanban-1440');
|
|
272
279
|
await p.click('#czViewer [data-iv-kstage]');
|
|
273
280
|
const st = await until(() => p.evaluate(() => { const q = document.querySelector('.tkc.ivq .ivq-m'); return q ? [...q.querySelectorAll('[data-ivq-i]')].map((b) => b.textContent.replace(/\s+/g, ' ').trim()) : null; }));
|
|
@@ -342,6 +349,7 @@ const IF = require('./fixtures/initiative-premium-facts.js');
|
|
|
342
349
|
const openH = async ({ where = 'home', w = 390, h = 844, theme = 'light', view = 'timeline', zoom = 'week', tasks = HTASKS, tickets = null, drafts = null } = {}) => {
|
|
343
350
|
const touch = w < 700, id = where === 'home' ? 'self-serve-v2' : 'usage-billing', sec = where === 'home' ? 'build' : 'discover';
|
|
344
351
|
const ctx = await browser.newContext({ viewport: { width: w, height: h }, hasTouch: touch, isMobile: touch, colorScheme: theme });
|
|
352
|
+
await ctx.addInitScript(() => { try { if (localStorage.getItem('cz-pn:board') == null) localStorage.setItem('cz-pn:board', JSON.stringify({ v: 2, share: 0.405 })); } catch { /* none */ } }); // the Board's Viewer at 560 px beside the page (cozy-panels.js keeps only this share), so its Tasks Timeline is wide enough to drag
|
|
345
353
|
await ctx.addInitScript(([v, z]) => { localStorage.setItem('pmos.tasks.view', v); localStorage.setItem('pmos.tasks.zoom', z); }, [view, zoom]);
|
|
346
354
|
const page = await ctx.newPage(), errors = [], posts = [];
|
|
347
355
|
let layout = { ok: true, by: 'stage', picked: false, names: [], of: {}, sets: [] };
|
|
@@ -472,12 +480,20 @@ const IF = require('./fixtures/initiative-premium-facts.js');
|
|
|
472
480
|
await j.click('.tkc.ivq .tkc-dp [data-tkc-day="2026-10-24"]');
|
|
473
481
|
const dd = await until(() => J.posts.find((x) => x.path === '/api/boards/tasks/edit' && x.body.task === 'j2'));
|
|
474
482
|
ok('H7 a linked task\'s dates are the PM\'s: the date press saves the day on the task, kept in PMOS', !!dd && dd.body.due === '2026-10-24' && /kept in PMOS/.test(tip || ''), JSON.stringify({ dd: dd && dd.body, tip }));
|
|
483
|
+
const lkc = await j.evaluate(() => { const e = document.querySelector('#czViewer .iv-tr .iv-tt em.lk'); return e ? getComputedStyle(e).color : ''; });
|
|
475
484
|
await sleep(600);
|
|
476
485
|
await sheetPick(j, 'view', 'timeline');
|
|
477
486
|
await until(() => j.evaluate(() => !!document.querySelector('#czViewer .ivt')));
|
|
478
487
|
await sleep(300);
|
|
479
|
-
|
|
480
|
-
|
|
488
|
+
// batch 19 item 5 (StsA5Columns): one row shape for every source: the linked task wears the same box (Jira owns its status, so it marks
|
|
489
|
+
// nothing), its key is said once, in the Key column as a link, its status in the Status column; its bar drags
|
|
490
|
+
const T7 = await j.evaluate(() => { const r = document.querySelector('#czViewer [data-ivt-bar="j2"]').closest('.ivt-r'), k = r.querySelector('.ivt-col.c-key .ivt-key'), st = r.querySelector('.ivt-col.c-status .ivt-st');
|
|
491
|
+
return { glyph: !!r.querySelector('.iv-bxw.jr .iv-cb'), sq: !!r.querySelector('.iv-jq'), box: !!r.querySelector('[data-iv-check]'), key: k ? k.textContent : null, ticket: k ? k.dataset.ivTicket : null, em: !!r.querySelector('.iv-tt em'),
|
|
492
|
+
st: st ? st.textContent : null, jst: st ? st.dataset.ivJst : null, drag: document.querySelector('#czViewer [data-ivt-bar="j2"]').hasAttribute('data-ivt-drag'), plain: !!document.querySelector('#czViewer [data-iv-check="j3"]') }; });
|
|
493
|
+
ok('H7 Timeline: the linked task wears the same box (no Jira square, no Done press), its key in the Key column, its status in Status; its bar drags; the plain one keeps its box',
|
|
494
|
+
T7.glyph && !T7.sq && !T7.box && T7.key && T7.key === T7.ticket && !T7.em && /In progress|To do|Done/.test(T7.st || '') && T7.jst === T7.key && T7.drag && T7.plain, JSON.stringify(T7));
|
|
495
|
+
const kc = await j.evaluate(() => { const e = document.querySelector('#czViewer [data-ivt-bar="j2"]').closest('.ivt-r').querySelector('.ivt-key'); return e ? { color: getComputedStyle(e).color, line: getComputedStyle(e).textDecorationLine } : null; });
|
|
496
|
+
ok('H7 Timeline: the Key column\'s key is a blue link, like the List\'s linked key', !!kc && kc.color === lkc && /underline/.test(kc.line), JSON.stringify({ kc, lkc }));
|
|
481
497
|
const bb = await j.evaluate(() => { const r = document.querySelector('#czViewer [data-ivt-bar="j2"]').getBoundingClientRect(); return { x: r.left + r.width / 2, y: r.top + r.height / 2 }; });
|
|
482
498
|
const n0 = J.posts.length;
|
|
483
499
|
await j.mouse.move(bb.x, bb.y); await j.mouse.down(); await j.mouse.move(bb.x + 20, bb.y, { steps: 3 }); await j.mouse.move(bb.x + 42, bb.y, { steps: 3 }); await j.mouse.up();
|
|
@@ -491,8 +507,9 @@ const IF = require('./fixtures/initiative-premium-facts.js');
|
|
|
491
507
|
await j.evaluate(() => { const b = [...document.querySelectorAll('.tkc.ivq [data-ivq-i]')].find((x) => /All stages/.test(x.textContent)); if (b) b.click(); });
|
|
492
508
|
await sleep(300);
|
|
493
509
|
const K = await j.evaluate(() => { const card = (re) => [...document.querySelectorAll('#czViewer .ivk-d')].find((c) => re.test(c.textContent)); const col = (c) => c && c.closest('[data-ivk-col]') && c.closest('[data-ivk-col]').dataset.ivkCol;
|
|
494
|
-
const a = card(/Microsite/), b = card(/Plan block/), c = card(/Navigation tabs/); return { a: col(a), b: col(b),
|
|
495
|
-
|
|
510
|
+
const a = card(/Microsite/), b = card(/Plan block/), c = card(/Navigation tabs/); return { a: col(a), b: col(b), bJira: b && b.dataset.ivkJira, bCard: b && b.dataset.ivkCard, cDrag: c && c.getAttribute('draggable'), cJira: c && c.dataset.ivkJira }; });
|
|
511
|
+
// Wawan 2026-10-29: a Jira card drags too, and its drop moves the ticket in Jira (H8); a plain task drags as before
|
|
512
|
+
ok('H7 Kanban: linked tasks sit in Jira\'s column and drag as their ticket; the plain task drags as a task', K.a === 'Done' && K.b === 'In progress' && K.bJira === 'MSD-4377' && !K.bCard && K.cDrag === 'true' && !K.cJira, JSON.stringify(K));
|
|
496
513
|
ok('H7 no page error', J.errors.length === 0, J.errors.join(' | '));
|
|
497
514
|
await J.ctx.close();
|
|
498
515
|
// By epic: a task linked to a ticket its draft put in Jira shows once, as the ticket, with the task's bar on the Timeline
|
|
@@ -508,5 +525,141 @@ const IF = require('./fixtures/initiative-premium-facts.js');
|
|
|
508
525
|
ok('H7 By epic: no page error', E.errors.length === 0, E.errors.join(' | '));
|
|
509
526
|
await E.ctx.close();
|
|
510
527
|
}
|
|
528
|
+
|
|
529
|
+
/* H8 (Wawan 2026-10-29 "why can't move Jira task here on PMOS?"; canvas "Exploring · Move Jira tasks", JmA1Kanban, JmA3States): a Jira
|
|
530
|
+
* card's drop and a Jira row's status press ask Jira through the jira-move agent (POST /api/jira/move); the toast says what Jira did:
|
|
531
|
+
* moved (with Undo, the move back) or refused (Jira's reason); while the agent works the row says "Moving in Jira" */
|
|
532
|
+
{
|
|
533
|
+
const JT = [
|
|
534
|
+
{ uid: 'j1', title: 'MSD-4376 Microsite page in the single layout', status: 'To do', owner: 'Wawan', start: '2026-10-10', end: '2026-10-16' },
|
|
535
|
+
{ uid: 'j2', title: 'Plan block at the top [MSD-4377]', status: 'To do', owner: 'Wawan', start: '2026-10-14', end: '2026-10-22' },
|
|
536
|
+
];
|
|
537
|
+
const JK = [{ key: 'MSD-4376', title: 'Microsite page', status: 'Done', raw: 'Closed' }, { key: 'MSD-4377', title: 'Plan block', status: 'In progress', raw: 'In Review' }];
|
|
538
|
+
const J = await openH({ where: 'board', w: 1440, h: 900, view: 'kanban', tasks: JT, tickets: JK }), j = J.page;
|
|
539
|
+
const asks = [], answers = { 'mv-0000000001': [{ state: 'moving' }, { state: 'moved', status: 'In Review' }], 'mv-0000000003': [{ state: 'refused', why: 'it needs a fix version.' }] };
|
|
540
|
+
await j.route('**/api/jira/move*', (r) => { const rq = r.request();
|
|
541
|
+
if (rq.method() === 'POST') { const b = JSON.parse(rq.postData() || '{}'); asks.push(b); return r.fulfill({ contentType: 'application/json', body: JSON.stringify({ ok: true, id: 'mv-' + String(asks.length).padStart(10, '0'), move: { key: b.key, to: b.to, state: 'moving' } }) }); }
|
|
542
|
+
const id = new URL(rq.url()).searchParams.get('id'), ans = (answers[id] || []).shift() || { state: 'moving' };
|
|
543
|
+
return r.fulfill({ contentType: 'application/json', body: JSON.stringify({ ok: true, move: { key: 'x', to: 'x', ...ans } }) }); });
|
|
544
|
+
await j.evaluate(() => { const b = document.querySelector('#czViewer [data-iv-kstage]'); if (b) b.click(); });
|
|
545
|
+
await until(() => j.evaluate(() => !!document.querySelector('.tkc.ivq [data-ivq-i]')));
|
|
546
|
+
await j.evaluate(() => { const b = [...document.querySelectorAll('.tkc.ivq [data-ivq-i]')].find((x) => /All stages/.test(x.textContent)); if (b) b.click(); });
|
|
547
|
+
await sleep(300);
|
|
548
|
+
const hint = await j.evaluate(() => (document.querySelector('#czViewer .ivk-h') || {}).textContent || '');
|
|
549
|
+
ok('H8 the Kanban hint says a Jira card moves its ticket in Jira', /A Jira card moves its ticket in Jira/.test(hint), hint);
|
|
550
|
+
await j.dragAndDrop('#czViewer [data-ivk-jira="MSD-4376"]', '#czViewer [data-ivk-col="In progress"]');
|
|
551
|
+
const a1 = await until(() => asks[0]);
|
|
552
|
+
ok('H8 a Jira card dropped on In progress asks Jira: key, to, from and Jira\'s own status', !!a1 && a1.key === 'MSD-4376' && a1.to === 'In progress' && a1.from === 'Done' && a1.fromRaw === 'Closed' && a1.initiative === 'usage-billing', JSON.stringify(a1));
|
|
553
|
+
const t1 = await until(() => j.evaluate(() => { const t = document.querySelector('#bdToast'); return t && !t.hidden && /in Jira/.test(t.textContent) ? t.textContent : null; }), 20000);
|
|
554
|
+
ok('H8 once Jira moved it, the toast says Jira\'s status, with Undo', /^MSD-4376 is In Review in Jira\./.test(t1 || '') && /Undo/.test(t1 || ''), t1);
|
|
555
|
+
await j.click('#bdToast .bd-undo');
|
|
556
|
+
const a2 = await until(() => asks[1]);
|
|
557
|
+
ok('H8 Undo moves it back the same way', !!a2 && a2.key === 'MSD-4376' && a2.to === 'Done' && a2.from === 'In progress' && a2.fromRaw === 'In Review', JSON.stringify(a2));
|
|
558
|
+
const n0 = J.posts.filter((x) => x.path === '/api/boards/tasks/state').length;
|
|
559
|
+
await j.dragAndDrop('#czViewer [data-ivk-jira="MSD-4377"]', '#czViewer .ivk-w');
|
|
560
|
+
await sleep(300);
|
|
561
|
+
const w1 = await j.evaluate(() => (document.querySelector('#bdToast') || {}).textContent || '');
|
|
562
|
+
ok('H8 a Jira card dropped on Won\'t do asks nothing and says so', asks.length === 2 && /moves to To do, In progress or Done/.test(w1) && J.posts.filter((x) => x.path === '/api/boards/tasks/state').length === n0, JSON.stringify({ n: asks.length, w1 }));
|
|
563
|
+
// the List: the status press beside the Jira square offers three states and says the pick moves the ticket in Jira
|
|
564
|
+
await sheetPick(j, 'view', 'list');
|
|
565
|
+
await until(() => j.evaluate(() => !!document.querySelector('#czViewer [data-iv-jstat="MSD-4377"]')));
|
|
566
|
+
await j.click('#czViewer [data-iv-jstat="MSD-4377"]');
|
|
567
|
+
const pop = await until(() => j.evaluate(() => { const q = document.querySelector('.tkc.ivq .ivq-st.jq'); return q ? { st: [...q.querySelectorAll('[data-ivq-state]')].map((b) => b.dataset.ivqState).join('|'), on: (q.querySelector('[aria-checked="true"]') || {}).textContent, line: (q.querySelector('.ivq-jn') || {}).textContent } : null; }));
|
|
568
|
+
ok('H8 List: a Jira row\'s status press: To do, In progress, Done; "Moves MSD-4377 in Jira"', !!pop && pop.st === 'To do|In progress|Done' && pop.on === 'In progress' && pop.line === 'Moves MSD-4377 in Jira', JSON.stringify(pop));
|
|
569
|
+
await j.click('.tkc.ivq .ivq-st.jq [data-ivq-state="Done"]');
|
|
570
|
+
const a3 = await until(() => asks[2]);
|
|
571
|
+
ok('H8 List: the pick asks Jira', !!a3 && a3.key === 'MSD-4377' && a3.to === 'Done' && a3.from === 'In progress' && a3.fromRaw === 'In Review', JSON.stringify(a3));
|
|
572
|
+
const t3 = await until(() => j.evaluate(() => { const t = document.querySelector('#bdToast'); return t && !t.hidden && /^Jira kept/.test(t.textContent) ? t.textContent : null; }), 20000);
|
|
573
|
+
ok('H8 a refusal says Jira\'s reason in plain words, and has no Undo', t3 === 'Jira kept MSD-4377 in In Review: it needs a fix version.', t3);
|
|
574
|
+
// the Timeline: the same press beside the Jira square
|
|
575
|
+
await sheetPick(j, 'view', 'timeline');
|
|
576
|
+
const tl = await until(() => j.evaluate(() => !!document.querySelector('#czViewer :is(.ivt, .iva) [data-iv-jstat="MSD-4377"]')));
|
|
577
|
+
ok('H8 Timeline: the same status press on a Jira row', !!tl);
|
|
578
|
+
// the Status column cell of a Jira row (StsA5Columns) is that press: it opens the same three states, "Moves KEY in Jira"
|
|
579
|
+
// (a narrow panel hides the Status column and shows the box before the title: either one is that press, whichever is on screen)
|
|
580
|
+
const tsc = await until(() => j.evaluate(() => !!document.querySelector('#czViewer button.ivt-st.jr[data-iv-jstat="MSD-4377"]')));
|
|
581
|
+
await j.evaluate(() => { const b = [...document.querySelectorAll('#czViewer :is(.ivt, .iva) button[data-iv-jstat="MSD-4377"]')].find((x) => x.offsetParent); if (b) b.click(); });
|
|
582
|
+
const tpop = await until(() => j.evaluate(() => { const p = document.querySelector('.ivq-jn'); return p ? p.textContent : null; }));
|
|
583
|
+
ok('H8 Timeline: the Status cell, or the box when Status is hidden, opens the Jira picker', tsc && tpop === 'Moves MSD-4377 in Jira', JSON.stringify({ tsc, tpop }));
|
|
584
|
+
await j.keyboard.press('Escape');
|
|
585
|
+
ok('H8 no page error', J.errors.length === 0, J.errors.join(' | '));
|
|
586
|
+
await J.ctx.close();
|
|
587
|
+
// while the agent works: the row is drawn where the PM moved it, its square a dashed outline, "Moving in Jira"
|
|
588
|
+
const JKm = [JK[0], { ...JK[1], status: 'Done', move: { id: 'mv-0000000009', state: 'moving', to: 'Done', from: 'In progress' } }];
|
|
589
|
+
const W = await openH({ where: 'board', w: 1440, h: 900, view: 'list', tasks: JT, tickets: JKm }), q = W.page;
|
|
590
|
+
const mvr = await until(() => q.evaluate(() => { const r = [...document.querySelectorAll('#czViewer .iv-tr')].find((x) => /Plan block/.test(x.textContent)); return r ? { mv: !!r.querySelector('.iv-jq.mv'), txt: (r.querySelector('.iv-jmv') || {}).textContent || '', sq: getComputedStyle(r.querySelector('.iv-jq')).borderStyle } : null; }));
|
|
591
|
+
ok('H8 moving: a dashed square and "Moving in Jira" on the row', !!mvr && mvr.mv && mvr.txt === 'Moving in Jira' && mvr.sq === 'dashed', JSON.stringify(mvr));
|
|
592
|
+
await shot(q, 'jira-moving-1440');
|
|
593
|
+
ok('H8 moving: no page error', W.errors.length === 0, W.errors.join(' | '));
|
|
594
|
+
await W.ctx.close();
|
|
595
|
+
}
|
|
596
|
+
// ── batch 19 item 5, task status on the timelines (canvas In development: StsA1Desk, StsA3Phone, StsA5Columns, StsA7Picker) ──
|
|
597
|
+
{
|
|
598
|
+
const STASKS = [
|
|
599
|
+
{ uid: 's1', title: 'Payment form layout', status: 'In progress', owner: 'Una', start: '2026-10-06', end: '2026-10-14' },
|
|
600
|
+
{ uid: 's2', title: 'Card validation rules', status: 'To do', owner: 'Zoe Smith', start: '2026-10-06', end: '2026-10-09' },
|
|
601
|
+
{ uid: 's3', title: 'Error and empty states', status: 'In progress', owner: 'Ana', start: '2026-10-13', end: '2026-10-24' },
|
|
602
|
+
{ uid: 's4', title: 'Saved cards', status: 'To do', owner: 'Zoe Smith', start: '2026-10-20', end: '2026-10-31' },
|
|
603
|
+
{ uid: 's5', title: 'Beta to 10% of buyers', milestone: true, status: 'To do', end: '2026-11-04' },
|
|
604
|
+
{ uid: 's6', title: 'API contract', status: 'Done', owner: 'Una', start: '2026-09-29', end: '2026-10-03' },
|
|
605
|
+
];
|
|
606
|
+
for (const theme of ['light', 'dark']) {
|
|
607
|
+
const B = await openH({ where: 'board', w: 1440, h: 900, theme, tasks: STASKS });
|
|
608
|
+
await B.page.evaluate(() => { const b = document.querySelector('#czViewer [data-iv-full]'); if (b) b.click(); });
|
|
609
|
+
await sleep(400);
|
|
610
|
+
const S1 = await B.page.evaluate(() => {
|
|
611
|
+
const T = document.querySelector('#czViewer .ivt'), vis = (e) => !!e && e.getBoundingClientRect().width > 0 && getComputedStyle(e).display !== 'none';
|
|
612
|
+
const heads = [...T.querySelectorAll('.ivt-r.ax .ivt-col')].filter(vis).map((e) => e.textContent);
|
|
613
|
+
const row = (u) => T.querySelector(`[data-ivt-bar="${u}"]`).closest('.ivt-r');
|
|
614
|
+
const bg = (u) => getComputedStyle(T.querySelector(`[data-ivt-bar="${u}"]`)).backgroundColor;
|
|
615
|
+
return { heads, box: vis(row('s1').querySelector('.ivt-bx')), st: row('s1').querySelector('.ivt-col.c-status').textContent, due: row('s2').querySelector('.ivt-col.c-due').textContent,
|
|
616
|
+
late: [...T.querySelectorAll('.ivt-late')].map((e) => e.getAttribute('aria-label')), bgs: [bg('s1'), bg('s2'), bg('s4')], lg: T.parentElement.querySelector('.ivt-lg') ? T.parentElement.querySelector('.ivt-lg').textContent : '' };
|
|
617
|
+
});
|
|
618
|
+
ok(`S1 Board full width ${theme}: Task, Key, Status, Start, Due; the box once, in Status; a late due day says +Nd`, S1.heads.join() === 'Key,Status,Start,Due' && !S1.box && S1.st === 'In progress' && /Oct 9 \+8d/.test(S1.due), JSON.stringify(S1));
|
|
619
|
+
ok(`S1 Board ${theme}: late keeps its status, with the line to Today; To do bars are hollow and differ from In progress`, S1.late.length === 2 && S1.bgs[0] !== S1.bgs[1] && S1.bgs[1] === S1.bgs[2], JSON.stringify(S1));
|
|
620
|
+
await shotH(B.page, 'sts-board-1440-' + theme);
|
|
621
|
+
if (theme === 'light') {
|
|
622
|
+
// the Status cell opens the status picker; a pick saves the status
|
|
623
|
+
await B.page.click('#czViewer [data-ivt-bar="s2"] >> xpath=ancestor::div[contains(@class,"ivt-r")]//button[contains(@class,"ivt-st")]');
|
|
624
|
+
const pop = await until(() => B.page.evaluate(() => !!document.querySelector('.tkc.ivq .ivq-st')));
|
|
625
|
+
ok('S2 the Status cell opens the status picker', pop);
|
|
626
|
+
await B.page.evaluate(() => document.querySelector('.tkc.ivq .ivq-st [data-ivq-state="In progress"]').click());
|
|
627
|
+
const sv = await until(() => B.posts.find((x) => /tasks/.test(x.path) && x.body && (x.body.task === 's2' || x.body.uid === 's2')));
|
|
628
|
+
ok('S2 a pick there saves the status', !!sv && JSON.stringify(sv.body).includes('In progress'), JSON.stringify(B.posts.slice(-3)));
|
|
629
|
+
// Columns: the view sheet's check boxes; Owner on, Key off; kept over a reload
|
|
630
|
+
await sheetPick(B.page, 'col', 'owner');
|
|
631
|
+
await sheetPick(B.page, 'col', 'key');
|
|
632
|
+
const kept = await B.page.evaluate(() => localStorage.getItem('pmos.tasks.cols.timeline'));
|
|
633
|
+
await B.page.reload();
|
|
634
|
+
await until(() => B.page.evaluate(() => document.querySelectorAll('#ibBody .ini2, #ibBody .bt-l').length > 0), 20000);
|
|
635
|
+
await B.page.evaluate(() => { const b = [...document.querySelectorAll('[data-row="board:usage-billing"] .bt-nm, [data-key="board:usage-billing"]')].find((x) => x.offsetParent); if (b) b.click(); });
|
|
636
|
+
await until(() => B.page.evaluate(() => !!document.querySelector('#czViewer .ivt')), 15000);
|
|
637
|
+
await B.page.evaluate(() => { const b = document.querySelector('#czViewer [data-iv-full]'); if (b && b.getAttribute('aria-pressed') !== 'true') b.click(); });
|
|
638
|
+
await sleep(300);
|
|
639
|
+
const heads = await B.page.evaluate(() => [...document.querySelectorAll('#czViewer .ivt-r.ax .ivt-col')].filter((e) => e.getBoundingClientRect().width > 0).map((e) => e.textContent));
|
|
640
|
+
ok('S3 Columns: Owner on and Key off, remembered over a reload', kept === '["status","start","due","owner"]' && heads.join() === 'Status,Start,Due,Owner', JSON.stringify({ kept, heads }));
|
|
641
|
+
// a narrow panel hides the columns from the right; the box comes back before the title once Status goes
|
|
642
|
+
for (const [w, want] of [[1100, 'Status,Start,Due,Owner'], [760, 'Status,Start,Due'], [600, 'Status'], [540, '']]) {
|
|
643
|
+
const nw = await B.page.evaluate(([w]) => { const t = document.querySelector('#czViewer .iv-tk'); t.style.width = w + 'px'; return new Promise((r) => requestAnimationFrame(() => r([...document.querySelectorAll('#czViewer .ivt-r.ax .ivt-col')].filter((e) => getComputedStyle(e).display !== 'none').map((e) => e.textContent).join()))); }, [w]);
|
|
644
|
+
const bx = await B.page.evaluate(() => getComputedStyle(document.querySelector('#czViewer [data-ivt-bar="s1"]').closest('.ivt-r').querySelector('.ivt-bx')).display !== 'none');
|
|
645
|
+
ok(`S4 a ${w} px panel shows ${want || 'no columns'}; the box before the title only once Status is hidden`, nw === want && bx === !/Status/.test(want), JSON.stringify({ nw, bx }));
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
ok(`S0 Board ${theme}: no page error`, !B.errors.length, B.errors.join(' | '));
|
|
649
|
+
await B.ctx.close();
|
|
650
|
+
// a phone (Home's Viewer, premium.html?ini=…): no columns; the title above its bar with its box; the late line still runs
|
|
651
|
+
const H = await openH({ where: 'home', w: 390, h: 844, theme, tasks: STASKS });
|
|
652
|
+
const P5 = await H.page.evaluate(() => {
|
|
653
|
+
const T = document.querySelector('#czViewer .ivt'), r = T.querySelector('[data-ivt-bar="s1"]').closest('.ivt-r');
|
|
654
|
+
const n = r.querySelector('.iv-tt').getBoundingClientRect(), b = r.querySelector('[data-ivt-bar="s1"]').getBoundingClientRect();
|
|
655
|
+
return { cols: [...T.querySelectorAll('.ivt-col')].filter((e) => getComputedStyle(e).display !== 'none').length, box: getComputedStyle(r.querySelector('.ivt-bx')).display !== 'none', above: n.bottom <= b.top + 1, late: T.querySelectorAll('.ivt-late').length };
|
|
656
|
+
});
|
|
657
|
+
ok(`S5 Home phone ${theme}: no columns; each title sits above its bar with its box; the late line runs to Today`, P5.cols === 0 && P5.box && P5.above && P5.late === 2, JSON.stringify(P5));
|
|
658
|
+
await shotH(H.page, 'sts-home-phone-' + theme);
|
|
659
|
+
ok(`S0 Home phone ${theme}: no page error`, !H.errors.length, H.errors.join(' | '));
|
|
660
|
+
await H.ctx.close();
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
|
|
511
664
|
return finish();
|
|
512
665
|
})();
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "batch 18 item 15-B: the Live pill as a 44 px round number above the menu button (pm/cozy-live-pill.js), the panel divider's look with Adler's sprout or the day's charm (pm/cozy-divider.js, cozy-adler.js charmIcon), and Home's list head fold. live-pill-round-test.js drives the real Board and Home with GET /api/live answered by the suite.",
|
|
3
|
+
"modules": [],
|
|
4
|
+
"panels": [
|
|
5
|
+
"live-pill-round-test.js"
|
|
6
|
+
],
|
|
7
|
+
"seconds": {
|
|
8
|
+
"live-pill-round-test.js": 25
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "Panels side by side on Home, like a tablet: the divider snaps and closes at an edge, open beside by drag, the placement menu, slide over, memory per initiative, Present slides the chat away (feedback batch 18 item 15, build 15-A; cozy-panels.js, cozy-viewer.js several Viewers). A browser suite.",
|
|
3
|
+
"panels": [
|
|
4
|
+
"panels-test.js"
|
|
5
|
+
],
|
|
6
|
+
"seconds": {
|
|
7
|
+
"panels-test.js": 45
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "Batch 19 item 5, Board Track (canvas StsA8Board, StsA9BoardDark): the Board timeline's columns (Initiative, Stage, Status, Start, Next milestone by default), the Columns menu and its memory, the sort, the narrow drop, 20 px bars with now blue and a late row's line to Today.",
|
|
3
|
+
"panels": ["board-columns-test.js"],
|
|
4
|
+
"seconds": { "board-columns-test.js": 30 }
|
|
5
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "jira-moves: a Jira ticket's status moved from PMOS (Wawan 2026-10-29; canvas Exploring · Move Jira tasks). lib/jira-moves.js is the one writer and fold of <state>/tracker/jira/moves.jsonl; `pmos jira moves` and `pmos jira moved` are the jira-move agent's read and answer. The page's Kanban drag, status press and toasts run in task-views-test.js H8. jira-moves-server.test.js runs POST and GET /api/jira/move on a real server with a stub agent.",
|
|
3
|
+
"modules": [
|
|
4
|
+
"jira-moves.test.js",
|
|
5
|
+
"jira-moves-server.test.js"
|
|
6
|
+
],
|
|
7
|
+
"seconds": {
|
|
8
|
+
"jira-moves.test.js": 1,
|
|
9
|
+
"jira-moves-server.test.js": 8
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "Batch 18 item 16 (Wawan 2026-10-28 13:48, agreed A, frames StA1Rows to StA10bDragPhone): a task changed where it sits in the initiative's Tasks List. A title press opens the row in place (name, status, dates, ⋯); + on each open stage; a milestone has one date; drag between stages and inside one (a task-order record). Serves Home's Viewer and the Board's panel (pm/ini-edit.js, ini-view.js, ini-tasks.js).",
|
|
3
|
+
"modules": [],
|
|
4
|
+
"panels": ["stage-card-tasks-test.js"],
|
|
5
|
+
"seconds": { "stage-card-tasks-test.js": 90 }
|
|
6
|
+
}
|
|
@@ -69,7 +69,7 @@ const ROWS = [
|
|
|
69
69
|
await page.route('**/api/programs', (r) => r.fulfill({ contentType: 'application/json', body: JSON.stringify({ ok: true, programs: [] }) }));
|
|
70
70
|
await page.route('**/api/board-trail*', (r) => r.fulfill({ status: 500, contentType: 'application/json', body: JSON.stringify({ ok: false, error: 'not in this check' }) }));
|
|
71
71
|
await page.route('**/api/lifecycle', (r) => { posts.push(JSON.parse(r.request().postData() || '{}')); r.fulfill({ contentType: 'application/json', body: JSON.stringify({ ok: true }) }); });
|
|
72
|
-
await page.addInitScript(([s]) => { try { if (!sessionStorage.getItem('set')) { sessionStorage.setItem('set', '1'); for (const [k, v] of Object.entries(s)) localStorage.setItem(k, v); } } catch { /* none */ } }, [{ 'pmos.board.view': 'time', 'pmos.board.pview': 'time', 'pmos.board.span': o.span || 'year' }]);
|
|
72
|
+
await page.addInitScript(([s]) => { try { if (!sessionStorage.getItem('set')) { sessionStorage.setItem('set', '1'); for (const [k, v] of Object.entries(s)) localStorage.setItem(k, v); } } catch { /* none */ } }, [{ 'pmos.board.tlcols': '[]', 'pmos.board.view': 'time', 'pmos.board.pview': 'time', 'pmos.board.span': o.span || 'year' }]);
|
|
73
73
|
await page.goto(BASE + '/premium-board.html?ws=w1&board=w1');
|
|
74
74
|
await page.waitForSelector('#ibBody [data-row]', { timeout: 15000 });
|
|
75
75
|
await page.waitForTimeout(500);
|