create-pmos 0.440.0 → 0.442.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 +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/adler-seasons-art-test.js +106 -0
- package/workspace/adler-seasons-test.js +111 -0
- package/workspace/briefing-premium-adddoc-test.js +16 -13
- package/workspace/briefing-premium-board-test.js +19 -17
- package/workspace/briefing-premium-initiative-test.js +7 -4
- package/workspace/briefing-premium-products-test.js +4 -4
- package/workspace/briefing-premium-sources-test.js +2 -2
- package/workspace/briefing-premium-test.js +29 -23
- package/workspace/changelog.json +24 -0
- package/workspace/guide/adler.md +10 -0
- package/workspace/guide/core-documents.md +2 -2
- package/workspace/guide/data-freshness.md +7 -5
- package/workspace/guide/home.md +3 -1
- package/workspace/guide/horizon-scan.md +1 -1
- package/workspace/ini-workflow-test.js +6 -2
- package/workspace/lib/agent-inbox.js +20 -2
- package/workspace/lib/briefing-premium-sources.js +3 -0
- package/workspace/lib/briefing-premium.js +37 -7
- package/workspace/lib/driver-cli.js +1 -1
- package/workspace/lib/driver-run.js +15 -1
- package/workspace/lib/driver.js +31 -2
- package/workspace/lib/news-for-you.js +24 -9
- package/workspace/lib/pm-idle.js +12 -0
- package/workspace/lib/refresh.js +17 -8
- package/workspace/lib/routes-core-docs.js +1 -1
- package/workspace/lib/routes-news.js +15 -1
- package/workspace/lib/routes-phone-day.js +6 -4
- package/workspace/lib/settings-store.js +38 -0
- package/workspace/metric-drafts-ui-test.js +2 -2
- package/workspace/need-shot.js +57 -0
- package/workspace/news-viewers-test.js +183 -0
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/premium-board-actions-test.js +2 -1
- package/workspace/premium-chat-attach-test.js +2 -0
- package/workspace/premium-core-doc-issue-test.js +9 -8
- package/workspace/program-panel-test.js +1 -1
- package/workspace/public/pm/bd-ini-panel.js +6 -13
- package/workspace/public/pm/c3-ini-ui.js +1 -1
- package/workspace/public/pm/cozy-adler.css +21 -0
- package/workspace/public/pm/cozy-adler.js +415 -8
- package/workspace/public/pm/cozy-ev.css +44 -0
- package/workspace/public/pm/cozy-home.css +8 -0
- package/workspace/public/pm/cozy-news.js +186 -22
- package/workspace/public/pm/cozy-seasons.js +318 -0
- package/workspace/public/pm/cozy-settings.js +88 -5
- package/workspace/public/pm/cozy-today.css +5 -0
- package/workspace/public/pm/cozy-viewer.js +12 -7
- package/workspace/public/pm/cozy-vw-shell.css +49 -0
- package/workspace/public/pm/cozy.css +65 -0
- package/workspace/public/pm/dash-view.js +4 -2
- package/workspace/public/pm/home-adddoc.js +46 -26
- package/workspace/public/pm/home-app.js +142 -114
- package/workspace/public/pm/home-chat.js +1 -1
- package/workspace/public/pm/home-day.js +17 -9
- package/workspace/public/pm/home-draft.js +35 -23
- package/workspace/public/pm/home-ini.js +4 -4
- package/workspace/public/pm/home-mentions.js +1 -1
- package/workspace/public/pm/home-need.js +336 -0
- package/workspace/public/pm/home-today.js +2 -2
- package/workspace/public/pm/home-work.js +51 -4
- package/workspace/public/pm/impact.js +1 -1
- package/workspace/public/pm/ini-groups.js +15 -10
- package/workspace/public/pm/ini-links.js +1 -1
- package/workspace/public/pm/ini-tasks.js +208 -44
- package/workspace/public/pm/ini-view-model.js +8 -2
- package/workspace/public/pm/ini-view.css +305 -1
- package/workspace/public/pm/ini-view.js +190 -80
- package/workspace/public/pm/mission.js +234 -0
- package/workspace/public/pm/premium-board.js +1 -1
- package/workspace/public/pm/premium-welcome.js +2 -2
- package/workspace/public/pm/small-vw.js +128 -0
- package/workspace/public/pm/split-merge.js +1 -1
- package/workspace/public/pm/stage-line.js +2 -2
- package/workspace/server.js +10 -6
- package/workspace/skills/initiative-drive.skill +4 -1
- package/workspace/split-merge-ui-test.js +1 -1
- package/workspace/stage-card-test.js +48 -11
- package/workspace/task-links-test.js +2 -0
- package/workspace/task-milestones-test.js +5 -1
- package/workspace/task-plans-test.js +3 -3
- package/workspace/task-views-test.js +90 -37
- package/workspace/test-lists/adler-seasons-art.json +13 -0
- package/workspace/test-lists/batch18-adler-seasons.json +13 -0
- package/workspace/test-lists/batch18-asks.json +5 -0
- package/workspace/test-lists/mission.json +5 -0
- package/workspace/test-lists/news-viewers.json +13 -0
- package/workspace/test-lists/small-viewers.json +5 -0
- package/workspace/test-lists/viewer-tasks.json +5 -0
- package/workspace/tk-tasks-test.js +25 -30
|
@@ -119,27 +119,33 @@ async function pure() {
|
|
|
119
119
|
};
|
|
120
120
|
const V = '#czViewer [data-hi-v="page"]';
|
|
121
121
|
const shot = async (p, name, sel) => { if (!SHOTS) return; await sleep(300); await (sel ? p.locator(sel).first() : p).screenshot({ path: path.join(SHOTS, name + '.png') }); };
|
|
122
|
-
/* re-pointed (batch
|
|
123
|
-
*
|
|
122
|
+
/* re-pointed (batch 18 item 1, the card and the mission): the card's head names the stage; the mission draws a strip part a stage with the
|
|
123
|
+
* current one marked; a tap on the picture opens in place "N of M done", ⋯ (the stage picker) and → the next stage, then the stages and
|
|
124
|
+
* milestones with their dates. The steps are said once, in Tasks */
|
|
125
|
+
const openMi = async (p) => { if (!(await p.evaluate((v) => !!document.querySelector(v + ' .iv-mio'), V))) await p.click(V + ' [data-iv-mi]', { position: { x: 8, y: 8 } }); await until(() => p.evaluate((v) => !!document.querySelector(v + ' .iv-mio'), V)); };
|
|
124
126
|
const card = (p) => p.evaluate((v) => {
|
|
125
127
|
const c = document.querySelector(v + ' .iv-sc'); const t = (n) => (n ? n.textContent.replace(/\s+/g, ' ').trim() : '');
|
|
126
|
-
const
|
|
127
|
-
return { head: t(c.querySelector('.iv-sch')), stage: t(c.querySelector('.iv-sch > b, .iv-sch .iv-stc b')), chip: !!c.querySelector('.iv-sch [data-iv-stagepick]'),
|
|
128
|
-
|
|
129
|
-
|
|
128
|
+
const go = c.querySelector('.iv-scgo');
|
|
129
|
+
return { head: t(c.querySelector('.iv-sch')), stage: t(c.querySelector('.iv-sch > b, .iv-sch .iv-stc b')), chip: !!c.querySelector('.iv-sch [data-iv-stagepick]'),
|
|
130
|
+
bars: c.querySelectorAll('.mi-svg .mi-st, .mi-svg .mi-dsh').length, now: c.querySelectorAll('.mi-svg :is(.mi-st, .mi-dsh):is(.nw, .late, .hold)').length, more: !!c.querySelector('.iv-mio .iv-mo[data-iv-stagepick]'), stageRows: c.querySelectorAll('.iv-mio [data-iv-stage]').length,
|
|
131
|
+
steps: document.querySelectorAll(v + ' .cz-sl').length, pri: document.querySelectorAll(v + ' [data-iv-primary]').length,
|
|
132
|
+
cta: !!document.querySelector(v + ' [data-hm-cta]'), ov: !!document.querySelector(v + ' [data-hm-ov]'), sw: !!c.querySelector('.hi-sw'), tail: go ? go.getAttribute('aria-label') : '', next: !!c.querySelector('[data-iv-next]'), nextTxt: t(go), ms: !!(go && go.dataset.ms), ready: !!(go && go.classList.contains('on')) };
|
|
130
133
|
}, V);
|
|
131
134
|
|
|
132
135
|
/* D1 a desktop: the Build stage of the fixture (the contract waits for you, a Jira ticket open, Deliver next) */
|
|
133
136
|
{
|
|
134
137
|
const A = await open(), p = A.page;
|
|
135
138
|
ok('D1 the initiative\'s page draws the one view\'s stage card', A.up);
|
|
139
|
+
const c0 = await card(p);
|
|
140
|
+
ok('D1 the header names the stage', c0.stage === 'Build', JSON.stringify(c0));
|
|
141
|
+
ok('D1 the mission\'s strip holds one part a stage of the workflow, the current one marked', c0.bars === 8 && c0.now === 1, JSON.stringify(c0));
|
|
142
|
+
ok('D1 the next stage waits in place until the picture is tapped (one primary: the ask\'s)', !c0.next, JSON.stringify(c0));
|
|
143
|
+
await openMi(p);
|
|
136
144
|
const c = await card(p);
|
|
137
|
-
ok('D1 the
|
|
138
|
-
ok('D1 the line holds one part a stage of the workflow, the current one marked', c.bars === 8 && c.now === 1, JSON.stringify(c));
|
|
139
|
-
ok('D1 every part names its stage on hover (the current one says now)', c.titles.length >= 7 && c.titles.every(Boolean) && c.titles.some((x) => /^Build · .*now$/.test(x)), JSON.stringify(c.titles));
|
|
145
|
+
ok('D1 a tap on the picture opens in place: ⋯ for the stage and the next stage; no list of the stages, the picture shows them (Wawan 10:59)', c.more && c.stageRows === 0, JSON.stringify(c));
|
|
140
146
|
ok('D1 the old CTA button, the C overview tile, the switch and the step list are gone from the card; at most one primary on the page', !c.cta && !c.ov && !c.sw && c.steps === 0 && c.pri <= 1, JSON.stringify(c));
|
|
141
147
|
ok('D1 the → names ◆ Deliver, the next stage', c.next && /^Next: ◆ Deliver\. Move to Deliver$/.test(c.tail) && c.ms, c.tail);
|
|
142
|
-
ok('D1 batch 14 item 11: the button shows the next stage\'s name with the → ("◆ Deliver"), not a bare arrow', /◆ Deliver$/.test(c.
|
|
148
|
+
ok('D1 batch 14 item 11: the button shows the next stage\'s name with the → ("◆ Deliver"), not a bare arrow', /◆ Deliver$/.test(c.nextTxt), c.nextTxt);
|
|
143
149
|
await shot(p, 'desk-build', V + ' .iv-sc');
|
|
144
150
|
// batch 16 item 5c (FmI2Stage): the stage's name is a chip; it opens every stage, the switch, then hold, Won't do and Archive (no Cancel)
|
|
145
151
|
ok('D1 batch 16 item 5c: the stage is a chip that changes it', c.chip, JSON.stringify(c));
|
|
@@ -170,6 +176,35 @@ async function pure() {
|
|
|
170
176
|
await A.ctx.close();
|
|
171
177
|
}
|
|
172
178
|
|
|
179
|
+
/* D1b Wawan 10:53 (canvas v586): on a desktop wide enough for two columns the milestones are their own card under the card, always shown:
|
|
180
|
+
* "Milestones N of M done", a tick on each done one, the next one marked, the release said; a row opens its task */
|
|
181
|
+
{
|
|
182
|
+
const TASKS = [{ uid: 'b', title: 'Brief signed off', status: 'Done', end: '2026-07-20', milestone: true, section: 'discover' }, { uid: 'w', title: 'Build the flow', status: 'In progress', start: '2026-09-01', end: '2026-11-20', section: 'build' },
|
|
183
|
+
{ uid: 'r', title: 'Rollout to all workspaces', status: 'To do', end: '2026-12-01', milestone: true, section: 'deliver' }, { uid: 'e', title: 'Did it work?', status: 'To do', end: '2027-02-01', milestone: true, section: 'evaluate' }];
|
|
184
|
+
const f = BF.facts(); f.rows = f.rows.map((r) => (r.id === 'self-serve-v2' ? { ...r, stage: 'Build', start: '2026-06-01', end: '2027-02-01', status: 'on track' } : r));
|
|
185
|
+
const B = BP.build(f), row = B.rows.find((x) => x.id === 'self-serve-v2'); row.tasks = TASKS; row.start = '2026-06-01'; row.end = '2027-02-01';
|
|
186
|
+
const A = await open({ w: 1440, h: 900, board: B }), p = A.page;
|
|
187
|
+
if (!(await p.evaluate((v) => document.querySelector(v + ' .iv').getBoundingClientRect().width >= 820, V))) await p.click('#czViewer [data-cz-vw="wide"]');
|
|
188
|
+
const mc = await until(() => p.evaluate((v) => { const m = document.querySelector(v + ' .iv-cl > .iv-msc'); if (!m || !m.offsetParent) return null; const rows = [...m.querySelectorAll('.iv-msr')];
|
|
189
|
+
return { head: m.querySelector('.iv-msh').textContent.replace(/\s+/g, ' ').trim(), rows: rows.map((r) => r.className.replace('iv-msr', '').trim() + ':' + r.textContent.replace(/\s+/g, ' ').trim()), tick: m.querySelectorAll('.iv-msr.dn .iv-msk.dn svg').length,
|
|
190
|
+
press: rows.every((r) => r.dataset.ivMs && /Open its task$/.test(r.getAttribute('aria-label'))), after: !!(m.previousElementSibling && m.previousElementSibling.classList.contains('iv-card')) }; }, V));
|
|
191
|
+
ok('D1b the Milestones card sits under the card: "Milestones 1 of 3 done", the done one ticked', !!mc && mc.after && /^Milestones ?1 of 3 done$/.test(mc.head) && mc.tick === 1 && /^dn:Brief signed off/.test(mc.rows[0]), JSON.stringify(mc));
|
|
192
|
+
ok('D1b the next one is marked with "in N days", and the release says so', !!mc && /^up:Rollout to all workspacesDec 1 · in \d+ days · release$/.test(mc.rows[1]) && /^:Did it work\?Feb 1/.test(mc.rows[2]), JSON.stringify(mc && mc.rows));
|
|
193
|
+
ok('D1b each row is a press for its task', !!mc && mc.press, JSON.stringify(mc));
|
|
194
|
+
await shot(p, 'desk-milestones');
|
|
195
|
+
// the phone: the same list behind a tap on the mission, under the stage's dates, ⋯ and the next stage (XvpE2Stages, Wawan 10:59)
|
|
196
|
+
const Q = await open({ w: 390, h: 844, board: B }), q = Q.page;
|
|
197
|
+
ok('D1b a phone has no Milestones card', await q.evaluate((v) => { const m = document.querySelector(v + ' .iv-msc'); return !m || !m.offsetParent; }, V));
|
|
198
|
+
await openMi(q);
|
|
199
|
+
const ph = await q.evaluate((v) => { const o = document.querySelector(v + ' .iv-mio'); return { head: o.querySelector('.iv-msh') ? o.querySelector('.iv-msh').textContent.replace(/\s+/g, ' ').trim() : '', rows: [...o.querySelectorAll('.iv-msr')].map((r) => r.className.replace('iv-msr', '').trim() + ':' + r.textContent.replace(/\s+/g, ' ').trim()), more: !!o.querySelector('.iv-mo'), over: document.documentElement.scrollWidth - innerWidth }; }, V);
|
|
200
|
+
ok('D1b a tap on the phone\'s mission opens the same milestones list, under ⋯', /^Milestones ?1 of 3 done$/.test(ph.head) && JSON.stringify(ph.rows) === JSON.stringify(mc && mc.rows) && ph.more && ph.over <= 0, JSON.stringify(ph));
|
|
201
|
+
await shot(q, 'phone-milestones');
|
|
202
|
+
ok('D1b the phone raised no error', Q.errors.length === 0, Q.errors.join(' | '));
|
|
203
|
+
await Q.ctx.close();
|
|
204
|
+
ok('D1b the page raised no error', A.errors.length === 0, A.errors.join(' | '));
|
|
205
|
+
await A.ctx.close();
|
|
206
|
+
}
|
|
207
|
+
|
|
173
208
|
/* D3 the phone, dark: Discover, Plan next (moves on by itself), an agent at work, over its usual time */
|
|
174
209
|
{
|
|
175
210
|
const DB = boardAt('Discover'), since = new Date(Date.parse(DB.today + 'T12:00:00Z') - 9 * 864e5).toISOString().slice(0, 10); // 9 days before the board's own day
|
|
@@ -177,8 +212,9 @@ async function pure() {
|
|
|
177
212
|
const trail = { ok: true, items: { 'self-serve-v2': { since } }, usual: { discover: { n: 5, days: 7 } }, usualBy: {} };
|
|
178
213
|
const A = await open({ w: 390, h: 844, theme: 'dark', model: SCEN.discover(), board: DB, sessions, trail }), p = A.page;
|
|
179
214
|
ok('D3 the phone draws the same card', A.up);
|
|
215
|
+
ok('D3 a phone keeps the milestones behind a tap on the mission: no Milestones card', await p.evaluate((v) => { const m = document.querySelector(v + ' .iv-msc'); return !m || !m.offsetParent; }, V));
|
|
216
|
+
await openMi(p);
|
|
180
217
|
const c = await card(p);
|
|
181
|
-
ok('D3 the clock: "9 of ~7 days", amber when over', c.clock === '9 of ~7 days' && c.late, c.head);
|
|
182
218
|
ok('D3 the → names Plan, the next stage', /^Next: Plan/.test(c.tail) && c.next && !c.ms, c.tail);
|
|
183
219
|
await shot(p, 'phone-discover');
|
|
184
220
|
await p.click(V + ' [data-iv-next]');
|
|
@@ -219,6 +255,7 @@ async function pure() {
|
|
|
219
255
|
/* D5 every step done, a milestone next: the next stage is ◆ Deliver; its sheet moves it with nothing open, and says so with Undo */
|
|
220
256
|
{
|
|
221
257
|
const A = await open({ model: SCEN.ready() }), p = A.page;
|
|
258
|
+
if (!(await card(p)).next) await openMi(p);
|
|
222
259
|
const c = await card(p);
|
|
223
260
|
ok('D5 every step done: the → names ◆ Deliver', A.up && /^Next: ◆ Deliver/.test(c.tail) && c.ms, JSON.stringify(c));
|
|
224
261
|
await shot(p, 'desk-ready', V + ' .iv-sc');
|
|
@@ -204,6 +204,8 @@ function model() {
|
|
|
204
204
|
for (const view of ['list', 'kanban']) {
|
|
205
205
|
const { ctx, page, errors } = await open({ view });
|
|
206
206
|
if (view === 'kanban') { await page.locator('#czViewer [data-iv-kstage]').click(); await page.locator('.tkc.ivq [data-ivq-i="1"]').click(); await page.waitForTimeout(300); }
|
|
207
|
+
// the List folds a stage after 3 tasks (batch 18 item 1): "2 more" shows the rest
|
|
208
|
+
if (view === 'list') { await page.locator('#czViewer .iv-wl > .iv-more').first().click(); await page.waitForTimeout(300); }
|
|
207
209
|
const m = await page.evaluate(() => [...document.querySelectorAll('#czViewer .lk-mt')].map((x) => x.textContent.trim()));
|
|
208
210
|
ok(`L1 ${view}: the link icon and the first task it waits on`, m.includes('Draft the limits spec') && m.includes('Ship the limits API'), JSON.stringify(m));
|
|
209
211
|
await page.locator('#czViewer .lk-mt[data-lk-meta="task-c"]').first().click();
|
|
@@ -159,7 +159,11 @@ const ITEMS = [
|
|
|
159
159
|
await p.click('.ivq-st .ivq-ms'); await p.waitForTimeout(300);
|
|
160
160
|
ok('F pressing ◇ writes milestone true for that task', posts.length === 1 && posts[0].task === 'task-api' && posts[0].milestone === true, JSON.stringify(posts));
|
|
161
161
|
// the Tasks Timeline
|
|
162
|
-
|
|
162
|
+
// the view sheet (batch 18 item 1): the view button, then Timeline
|
|
163
|
+
await p.evaluate(() => { const b = document.querySelector('#czViewer [data-iv-vbtn]'); if (b) b.click(); });
|
|
164
|
+
await p.waitForSelector('.tkc.ivq .ivs', { timeout: 5000 });
|
|
165
|
+
await p.click('.tkc.ivq .ivs [data-ivs-view="timeline"]');
|
|
166
|
+
await p.keyboard.press('Escape');
|
|
163
167
|
await p.waitForSelector('.ivt', { timeout: 5000 });
|
|
164
168
|
await unfold('.ivt-gh[data-iv-fold^="sec:"][aria-expanded="false"]');
|
|
165
169
|
const tv = await p.evaluate(() => ({ ms: [...document.querySelectorAll('.ivt-ms')].map((x) => x.className + '|' + x.textContent), guides: document.querySelectorAll('.ivt-grid i.ms').length, lg: (document.querySelector('.ivt-lg') || {}).textContent || '' }));
|
|
@@ -167,11 +167,11 @@ function model() {
|
|
|
167
167
|
await page.waitForSelector('.vs-pop.sheet', { timeout: 4000 });
|
|
168
168
|
const P = await page.evaluate(() => { const r = document.querySelector('.vs-pop.sheet').getBoundingClientRect(); return { bottom: Math.round(r.bottom), w: Math.round(r.width), scroll: document.documentElement.scrollWidth }; });
|
|
169
169
|
ok('P1 on a phone the menu is a bottom sheet the width of the screen; no sideways scroll', P.bottom === 844 && P.w === 390 && P.scroll <= 390, JSON.stringify(P));
|
|
170
|
-
// batch 11 item 20: the 390 px Tasks header holds the
|
|
170
|
+
// batch 11 item 20, batch 18 item 1: the 390 px Tasks header holds the view button, + and a draft's Make live, all in the Viewer
|
|
171
171
|
await page.locator('.vs-pop [data-vs-show="draft-c1"]').click();
|
|
172
172
|
await page.waitForSelector('#czViewer [data-vs-live]', { timeout: 4000 });
|
|
173
|
-
const H = await page.evaluate(() => { const v = document.querySelector('#czViewer'), b = v.querySelector('.cz-vw-body').getBoundingClientRect(), h = v.querySelector('.iv-th'); const ins = (s) => { const e = h.querySelector(s); if (!e) return 'none'; const r = e.getBoundingClientRect(); return r.width > 0 && r.left >= b.left && r.right <= b.right + 0.5 ? 'in' : 'out'; }; return {
|
|
174
|
-
ok('P3 on a phone the Tasks header fits the
|
|
173
|
+
const H = await page.evaluate(() => { const v = document.querySelector('#czViewer'), b = v.querySelector('.cz-vw-body').getBoundingClientRect(), h = v.querySelector('.iv-th'); const ins = (s) => { const e = h.querySelector(s); if (!e) return 'none'; const r = e.getBoundingClientRect(); return r.width > 0 && r.left >= b.left && r.right <= b.right + 0.5 ? 'in' : 'out'; }; return { view: ins('[data-iv-vbtn]'), seal: ins('[data-vs-live]'), add: h.querySelector('[data-iv-add]') ? ins('[data-iv-add]') : 'in', head: h.scrollWidth - Math.round(h.getBoundingClientRect().width), scroll: document.documentElement.scrollWidth }; });
|
|
174
|
+
ok('P3 on a phone the Tasks header fits the view button, + and Make live', H.view === 'in' && H.seal === 'in' && H.add === 'in' && H.head <= 1 && H.scroll <= 390, JSON.stringify(H));
|
|
175
175
|
await shot(page, 'PvaBuild6PhoneDraft', '#czViewer .iv-th');
|
|
176
176
|
ok('P2 no page error', errors.length === 0, errors.join(' | '));
|
|
177
177
|
await shot(page, 'PvaBuild5Phone');
|
|
@@ -5,7 +5,10 @@
|
|
|
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. SHOTS_5B=<dir> writes the screens.
|
|
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
|
+
* (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
|
+
* V10 the sheet · V11 the List's folds · V12 Timeline at All. The pure half is viewer-tasks.test.js. */
|
|
9
12
|
const path = require('path');
|
|
10
13
|
const { spawn } = require('child_process');
|
|
11
14
|
const { findBrowser } = require('./lib/find-browser');
|
|
@@ -70,13 +73,36 @@ const model = () => { const M = BP.build(F.facts()); const r = M.rows.find((x) =
|
|
|
70
73
|
};
|
|
71
74
|
const shot = async (p, name) => { if (process.env.SHOTS_5B) await p.screenshot({ path: path.join(process.env.SHOTS_5B, name + '.png') }); };
|
|
72
75
|
const lastPost = (A, route) => A.posts.filter((x) => x.path === route).pop();
|
|
76
|
+
// the one view button opens the sheet; a press there applies at once and the sheet stays; Escape closes it
|
|
77
|
+
const sheetPick = async (pg, kind, val) => {
|
|
78
|
+
await pg.evaluate(() => document.querySelector('#czViewer [data-iv-vbtn]').click());
|
|
79
|
+
await until(() => pg.evaluate(() => !!document.querySelector('.tkc.ivq .ivs')));
|
|
80
|
+
await pg.evaluate(([k, v]) => document.querySelector(`.tkc.ivq .ivs [data-ivs-${k}="${v}"]`).click(), [kind, val]);
|
|
81
|
+
await sleep(150);
|
|
82
|
+
await pg.keyboard.press('Escape');
|
|
83
|
+
await until(() => pg.evaluate(() => !document.querySelector('.tkc.ivq .ivs')));
|
|
84
|
+
};
|
|
85
|
+
const zoomNow = (pg) => pg.evaluate(() => { if (document.querySelector('#czViewer .iva')) return 'all'; const T = document.querySelector('#czViewer .ivt[data-ivt]'); return T ? T.dataset.ivt.split('|').pop() : null; });
|
|
73
86
|
|
|
74
87
|
const A = await open(), p = A.page;
|
|
75
88
|
/* V1 the switch: List first; icon only, words in aria-label; the last view is remembered */
|
|
76
|
-
const sw = await p.evaluate(() =>
|
|
77
|
-
ok('V1 the Tasks header has
|
|
89
|
+
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; });
|
|
90
|
+
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);
|
|
78
91
|
const order = await p.evaluate(() => [...document.querySelector('#czViewer .iv-th').children].map((e) => e.className || e.tagName).join());
|
|
79
|
-
ok('V1 the
|
|
92
|
+
ok('V1 the header holds the view button and + only, in that order', /,ivx-vb,iv-ib$/.test(order) && !/ivx-seg|ig-by|ivx-pick/.test(order), order);
|
|
93
|
+
|
|
94
|
+
/* V11 the List: only the stages with something open; the rest wait in one fold at the foot; a stage folds after 3 tasks */
|
|
95
|
+
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,
|
|
96
|
+
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 }));
|
|
97
|
+
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));
|
|
98
|
+
ok('V11 Discover shows 3 tasks, then "1 more"', L0.rows.length === 3 && /^1 more/.test(L0.more || ''), JSON.stringify(L0));
|
|
99
|
+
await p.click('#czViewer .iv-wl > .iv-more');
|
|
100
|
+
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; }));
|
|
101
|
+
ok('V11 "1 more" shows the rest of the stage', L1 === 4, String(L1));
|
|
102
|
+
await p.click('#czViewer .iv-rest');
|
|
103
|
+
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; }));
|
|
104
|
+
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));
|
|
105
|
+
await p.click('#czViewer .iv-rest');
|
|
80
106
|
|
|
81
107
|
/* V8 the List: Won't do joins the Done fold, struck through; Archived is a fold after Done, only when there is one */
|
|
82
108
|
await p.evaluate(() => { const b = [...document.querySelectorAll('#czViewer .iv-grp')].find((x) => /^Done/.test(x.textContent)); if (b) b.click(); });
|
|
@@ -129,8 +155,19 @@ const model = () => { const M = BP.build(F.facts()); const r = M.rows.find((x) =
|
|
|
129
155
|
const du = await until(() => { const x = lastPost(A, '/api/boards/tasks/edit'); return x && x.body.due === '2026-10-10' ? x : null; });
|
|
130
156
|
ok('V3 Undo puts the old due day back', !!du, JSON.stringify(A.posts.slice(-2)));
|
|
131
157
|
|
|
132
|
-
/*
|
|
133
|
-
await p.click('#czViewer [data-iv-
|
|
158
|
+
/* V10 the sheet: View, Group by and Zoom, three rows of the same shape; a bottom sheet on a phone, under the button on a desktop */
|
|
159
|
+
await p.click('#czViewer [data-iv-vbtn]');
|
|
160
|
+
const sh = await until(() => p.evaluate(() => { const q = document.querySelector('.tkc.ivq .ivs'); if (!q) return null; const b = document.querySelector('#czViewer [data-iv-vbtn]').getBoundingClientRect(), r = q.getBoundingClientRect();
|
|
161
|
+
return { rows: [...q.querySelectorAll('.ivs-seg')].map((g) => g.getAttribute('aria-label') + ':' + [...g.children].map((c) => (c.getAttribute('aria-label') || c.textContent.trim()) + (c.getAttribute('aria-pressed') === 'true' ? '*' : '')).join(',')), under: Math.round(r.top - b.bottom), right: Math.round(b.right - r.right), sheet: q.closest('.sheet') ? 1 : 0, exp: document.querySelector('#czViewer [data-iv-vbtn]').getAttribute('aria-expanded') }; }));
|
|
162
|
+
ok('V10 the sheet holds View and Group by (no Zoom for the List); Stage pressed; Epic and Your groups behind ⋯', sh && sh.rows.join('|') === 'View:List*,Timeline,Kanban|Group by:Stage*,Owner,Status,Other groupings: Epic, Your groups', JSON.stringify(sh));
|
|
163
|
+
ok('V10 on a desktop it opens under the button, right edges aligned, the button expanded', sh && !sh.sheet && sh.under >= 0 && sh.under <= 12 && Math.abs(sh.right) <= 2 && sh.exp === 'true', JSON.stringify(sh));
|
|
164
|
+
await p.click('.tkc.ivq .ivs [data-ivs-view="timeline"]');
|
|
165
|
+
const sh2 = await until(() => p.evaluate(() => { const q = document.querySelector('.tkc.ivq .ivs'); return q && document.querySelector('#czViewer .ivt') ? [...q.querySelectorAll('.ivs-seg')].map((g) => g.getAttribute('aria-label')).join('|') : null; }));
|
|
166
|
+
ok('V10 Timeline applies at once; the sheet stays open and adds Zoom', sh2 === 'View|Group by|Zoom', sh2);
|
|
167
|
+
await p.keyboard.press('Escape');
|
|
168
|
+
ok('V10 Escape closes the sheet and leaves the panel open', await until(() => p.evaluate(() => !document.querySelector('.tkc.ivq') && !!document.querySelector('#czViewer .ivt'))));
|
|
169
|
+
|
|
170
|
+
/* V4 Timeline: the same groups, bars by start → due, a circle for a due day only, the tasks with no dates in one row, the Today line */
|
|
134
171
|
await until(() => p.evaluate(() => !!document.querySelector('#czViewer .ivt')));
|
|
135
172
|
await sleep(200);
|
|
136
173
|
const tl = await p.evaluate(() => {
|
|
@@ -138,27 +175,37 @@ const model = () => { const M = BP.build(F.facts()); const r = M.rows.find((x) =
|
|
|
138
175
|
const bar = (uid) => { const b = T.querySelector(`[data-ivt-bar="${uid}"]`); return b ? b.className.replace(/\s+/g, ' ').trim() : null; };
|
|
139
176
|
const today = T.querySelector('.ivt-today').getBoundingClientRect(), sc = T.querySelector('.ivt-sc'), nw = T.querySelector('.ivt-n').getBoundingClientRect();
|
|
140
177
|
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'),
|
|
141
|
-
ghost: !!T.querySelector('.ivt-
|
|
178
|
+
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,
|
|
142
179
|
lg: document.querySelector('#czViewer .ivt-lg').textContent, arch: /Old spike notes/.test(T.textContent) };
|
|
143
180
|
});
|
|
144
181
|
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));
|
|
145
|
-
ok('V4 bars by start and due: in progress light blue, late amber; a due day only is a circle; no dates
|
|
146
|
-
ok('V4 Weeks is the first zoom; it opens on today, the Today line in view; the legend sits under it', tl.zoom === '
|
|
182
|
+
ok('V4 bars by start and due: in progress light blue, late amber; 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 lt/.test(tl.c) && tl.ghost, JSON.stringify(tl));
|
|
183
|
+
ok('V4 Weeks is the first zoom; it opens on today, the Today line in view; the legend sits under it', tl.zoom === 'week' && tl.seen && /To do.*In progress.*Late.*Due only.*Jira/.test(tl.lg), JSON.stringify(tl));
|
|
147
184
|
ok('V4 an archived task shows nowhere in Timeline', !tl.arch);
|
|
148
185
|
await shot(p, 'timeline-1440');
|
|
149
|
-
await p
|
|
150
|
-
await p.evaluate(() => { const
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
await p.
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
await p.
|
|
160
|
-
await
|
|
161
|
-
|
|
186
|
+
await sheetPick(p, 'zoom', 'month');
|
|
187
|
+
const mz = await until(() => p.evaluate(() => { const T = document.querySelector('#czViewer .ivt[data-ivt]'); return T && /\|month$/.test(T.dataset.ivt) ? T.dataset.px : null; }));
|
|
188
|
+
ok('V4 the sheet\'s Zoom changes Weeks to Months', mz === '4', mz);
|
|
189
|
+
await p.click('#czViewer [data-iv-vbtn]');
|
|
190
|
+
const zl = await until(() => p.evaluate(() => { const g = document.querySelector('.tkc.ivq .ivs-seg[aria-label="Zoom"]'); return g ? [...g.children].map((x) => x.textContent.trim()) : null; }));
|
|
191
|
+
ok('V4 Zoom offers Weeks, Months and All (batch 18 item 1: three steps in place of six)', zl && zl.join('|') === 'Weeks|Months|All', JSON.stringify(zl));
|
|
192
|
+
await p.keyboard.press('Escape');
|
|
193
|
+
|
|
194
|
+
/* V12 Timeline at All: one row per stage, the whole initiative in the panel's width; a press on a stage unfolds its tasks under it */
|
|
195
|
+
await sheetPick(p, 'zoom', 'all');
|
|
196
|
+
await until(() => p.evaluate(() => !!document.querySelector('#czViewer .iva')));
|
|
197
|
+
await sleep(150);
|
|
198
|
+
const A12 = await p.evaluate(() => { const T = document.querySelector('#czViewer .iva'), rows = [...T.querySelectorAll('.iva-r.g')];
|
|
199
|
+
return { rows: rows.length, fits: T.scrollWidth <= T.clientWidth + 1, open: rows.filter((r) => r.getAttribute('aria-expanded') === 'true').map((r) => r.getAttribute('aria-label').split(',')[0]),
|
|
200
|
+
tasks: [...T.querySelectorAll('.iva-r.k .iv-tt')].map((e) => e.textContent), today: !!T.querySelector('.iva-tc'), plan: (rows.find((r) => /^Plan,/.test(r.getAttribute('aria-label'))) || {}).getAttribute('aria-label') }; });
|
|
201
|
+
ok('V12 All draws one row per stage and fits the panel: no sideways scroll, Today across it', A12.rows === 8 && A12.fits && A12.today, JSON.stringify(A12));
|
|
202
|
+
ok('V12 the current stage is unfolded: its tasks and milestones under it with their dates', A12.open.join() === 'Discover' && A12.tasks.includes('Map SDK public methods to v6') && !A12.tasks.includes('Plan the rollout'), JSON.stringify(A12));
|
|
203
|
+
await p.click('#czViewer .iva-r.g[aria-label^="Plan,"]');
|
|
204
|
+
const A13 = await until(() => p.evaluate(() => { const t = [...document.querySelectorAll('#czViewer .iva-r.k .iv-tt')].map((e) => e.textContent); return t.includes('Plan the rollout') ? document.querySelector('#czViewer .iva-r.k [data-ivt-bar="task-h"]') ? t : null : null; }));
|
|
205
|
+
ok('V12 a press on a stage unfolds its tasks, each with its bar', !!A13, JSON.stringify(A13));
|
|
206
|
+
await shot(p, 'timeline-all-1440');
|
|
207
|
+
await sheetPick(p, 'zoom', 'week');
|
|
208
|
+
await until(() => zoomNow(p).then((z) => z === 'week'));
|
|
162
209
|
|
|
163
210
|
/* V5 drag a bar: it snaps to days, a tip says the new dates, the save follows with Undo; an end changes only its own day */
|
|
164
211
|
const bb = await p.evaluate(() => { const r = document.querySelector('#czViewer [data-ivt-bar="task-a"]').getBoundingClientRect(); return { x: r.left + r.width / 2, y: r.top + r.height / 2, l: r.left, r: r.right }; });
|
|
@@ -187,21 +234,19 @@ const model = () => { const M = BP.build(F.facts()); const r = M.rows.find((x) =
|
|
|
187
234
|
const fw = await until(() => p.evaluate(() => { const r = document.querySelector('#czViewer').getBoundingClientRect(); return r.width > innerWidth - 40 ? { w: Math.round(r.width), pressed: document.querySelector('#czViewer [data-iv-full]').getAttribute('aria-pressed') } : null; }));
|
|
188
235
|
ok('V4 Full width spreads the Timeline over the window, the icon pressed', !!fw && fw.pressed === 'true' && pw < fw.w, JSON.stringify({ pw, fw }));
|
|
189
236
|
await shot(p, 'timeline-full-1440');
|
|
190
|
-
|
|
191
|
-
await
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
ok('V4 no axis label sits under the Today pill', fit.under.length === 0, JSON.stringify(fit));
|
|
195
|
-
await shot(p, 'timeline-full-5y-1440');
|
|
237
|
+
await sheetPick(p, 'zoom', 'all');
|
|
238
|
+
const fit = await until(() => p.evaluate(() => { const T = document.querySelector('#czViewer .iva'); return T ? { tw: Math.round(T.getBoundingClientRect().width), vw: Math.round(document.querySelector('#czViewer').getBoundingClientRect().width), fits: T.scrollWidth <= T.clientWidth + 1 } : null; }));
|
|
239
|
+
ok('V4 in full width All stretches to the window and still fits', fit && fit.fits && fit.tw > fit.vw - 120, JSON.stringify(fit));
|
|
240
|
+
await shot(p, 'timeline-full-all-1440');
|
|
196
241
|
await p.keyboard.press('Escape');
|
|
197
242
|
const back = await until(() => p.evaluate(() => (!document.body.classList.contains('ivt-full') && !!document.querySelector('#czViewer .ivt') ? Math.round(document.querySelector('#czViewer').getBoundingClientRect().width) : null)));
|
|
198
243
|
ok('V4 Escape takes the Timeline back to the panel, the Viewer stays open', back != null && back < fw.w, String(back));
|
|
199
|
-
const pfit = await p.evaluate(() => { const T = document.querySelector('#czViewer .
|
|
200
|
-
ok('V4 back in the panel
|
|
201
|
-
await
|
|
244
|
+
const pfit = await p.evaluate(() => { const T = document.querySelector('#czViewer .iva'); return { tw: Math.round(T.getBoundingClientRect().width), fits: T.scrollWidth <= T.clientWidth + 1 }; });
|
|
245
|
+
ok('V4 back in the panel All fits the panel again', pfit.fits, JSON.stringify(pfit));
|
|
246
|
+
await sheetPick(p, 'zoom', 'week');
|
|
202
247
|
|
|
203
248
|
/* V6 Kanban: one stage at a time (the current first), columns by status, Won't do a folded strip */
|
|
204
|
-
await p
|
|
249
|
+
await sheetPick(p, 'view', 'kanban');
|
|
205
250
|
await until(() => p.evaluate(() => !!document.querySelector('#czViewer .ivk')));
|
|
206
251
|
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) }; });
|
|
207
252
|
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));
|
|
@@ -221,8 +266,8 @@ const model = () => { const M = BP.build(F.facts()); const r = M.rows.find((x) =
|
|
|
221
266
|
|
|
222
267
|
/* V1 the view is remembered across initiatives and visits */
|
|
223
268
|
const R = await open({ store: await p.evaluate(() => ({ 'pmos.tasks.view': localStorage.getItem('pmos.tasks.view') })) });
|
|
224
|
-
const rem = await R.page.evaluate(() => (document.querySelector('#czViewer
|
|
225
|
-
ok('V1 the last view is remembered for the PM: the next panel opens on Kanban',
|
|
269
|
+
const rem = await R.page.evaluate(() => (document.querySelector('#czViewer [data-iv-vbtn]') || { getAttribute: () => '' }).getAttribute('aria-label'));
|
|
270
|
+
ok('V1 the last view is remembered for the PM: the next panel opens on Kanban', /^Tasks view: Kanban\./.test(rem), rem);
|
|
226
271
|
await R.ctx.close();
|
|
227
272
|
ok('V0 no page error', A.errors.length === 0, A.errors.join(' | '));
|
|
228
273
|
if (process.env.SHOTS_5B) {
|
|
@@ -239,7 +284,15 @@ const model = () => { const M = BP.build(F.facts()); const r = M.rows.find((x) =
|
|
|
239
284
|
ok('V9 phone: no caret (a long press on the box opens the status picker)', pk && pk.car === 'none', JSON.stringify(pk));
|
|
240
285
|
}
|
|
241
286
|
await shot(q, 'kanban-390-' + theme);
|
|
242
|
-
|
|
287
|
+
if (theme === 'light') {
|
|
288
|
+
await q.evaluate(() => document.querySelector('#czViewer [data-iv-vbtn]').click());
|
|
289
|
+
const ps = await until(() => q.evaluate(() => { const s = document.querySelector('.tkc.ivq.sheet .ivs'); if (!s) return null; const r = s.getBoundingClientRect(); return { bottom: Math.round(innerHeight - r.bottom), w: Math.round(r.width), scrim: !!document.querySelector('.vs-scrim'), grab: getComputedStyle(s.querySelector('.ivs-grab')).display }; }));
|
|
290
|
+
ok('V10 phone: the sheet is a bottom sheet over a scrim, full width, with its grab', ps && ps.bottom <= 1 && ps.w >= 388 && ps.scrim && ps.grab === 'block', JSON.stringify(ps));
|
|
291
|
+
await shot(q, 'sheet-390');
|
|
292
|
+
await q.evaluate(() => document.querySelector('.vs-scrim').dispatchEvent(new PointerEvent('pointerdown', { bubbles: true })));
|
|
293
|
+
ok('V10 phone: a tap on the scrim closes the sheet', await until(() => q.evaluate(() => !document.querySelector('.tkc.ivq') && !document.querySelector('.vs-scrim')), 2000));
|
|
294
|
+
}
|
|
295
|
+
await sheetPick(q, 'view', 'timeline');
|
|
243
296
|
await until(() => q.evaluate(() => !!document.querySelector('#czViewer .ivt')));
|
|
244
297
|
await sleep(200);
|
|
245
298
|
const pt = await q.evaluate(() => { const r = document.querySelector('#czViewer .ivt-r.k'), n = r.querySelector('.ivt-n').getBoundingClientRect(), c = r.querySelector('.ivt-c').getBoundingClientRect(); return { above: c.top >= n.bottom - 1, grips: getComputedStyle(document.querySelector('#czViewer .ivt-gp') || document.body).display }; });
|
|
@@ -247,7 +300,7 @@ const model = () => { const M = BP.build(F.facts()); const r = M.rows.find((x) =
|
|
|
247
300
|
await shot(q, 'timeline-390-' + theme);
|
|
248
301
|
if (theme === 'light') {
|
|
249
302
|
// a long press on the box opens the status picker; the click that follows does not mark it done
|
|
250
|
-
await q
|
|
303
|
+
await sheetPick(q, 'view', 'list');
|
|
251
304
|
await until(() => q.evaluate(() => !!document.querySelector('#czViewer [data-iv-check="task-b"]')));
|
|
252
305
|
const n0 = Ph.posts.length;
|
|
253
306
|
const bx = await q.evaluate(() => { const r = document.querySelector('#czViewer [data-iv-check="task-b"]').getBoundingClientRect(); return { x: r.left + r.width / 2, y: r.top + r.height / 2 }; });
|
|
@@ -264,7 +317,7 @@ const model = () => { const M = BP.build(F.facts()); const r = M.rows.find((x) =
|
|
|
264
317
|
}
|
|
265
318
|
if (process.env.SHOTS_5B) {
|
|
266
319
|
const D = await open({ theme: 'dark', store: { 'pmos.tasks.view': 'timeline' } }); await sleep(200); await shot(D.page, 'timeline-1440-dark');
|
|
267
|
-
await D.page
|
|
320
|
+
await sheetPick(D.page, 'view', 'kanban'); await sleep(200); await shot(D.page, 'kanban-1440-dark'); await D.ctx.close();
|
|
268
321
|
}
|
|
269
322
|
return finish();
|
|
270
323
|
})();
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "Batch 18 item 8-B, Adler dressed for the season: the charms, their scenes and where they show (pm/cozy-adler.js charms and charmScene, the tap popover, Your day's scene and greeting, the chat face, first run, the Board's win). adler-seasons-art.test.js is pure; adler-seasons-art-test.js drives the real Home at 390 px and 1280 px on Deepavali, with 8-A's calendar module stubbed.",
|
|
3
|
+
"modules": [
|
|
4
|
+
"adler-seasons-art.test.js"
|
|
5
|
+
],
|
|
6
|
+
"panels": [
|
|
7
|
+
"adler-seasons-art-test.js"
|
|
8
|
+
],
|
|
9
|
+
"seconds": {
|
|
10
|
+
"adler-seasons-art.test.js": 1,
|
|
11
|
+
"adler-seasons-art-test.js": 30
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "batch 18 item 8-A: the calendar that dresses Adler (pm/cozy-seasons.js: the 44 days, the windows, nearer day wins, solemn days, the place) and Settings › Adler › Dress for the day (adler.dress.* in lib/settings-store.js). adler-seasons.test.js is pure; adler-seasons-test.js drives the real Settings at 390 px and 1280 px with the clock in Deepavali week.",
|
|
3
|
+
"modules": [
|
|
4
|
+
"adler-seasons.test.js"
|
|
5
|
+
],
|
|
6
|
+
"panels": [
|
|
7
|
+
"adler-seasons-test.js"
|
|
8
|
+
],
|
|
9
|
+
"seconds": {
|
|
10
|
+
"adler-seasons.test.js": 1,
|
|
11
|
+
"adler-seasons-test.js": 30
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "batch 18 item 2-A: the asks in the Viewer (start / blocked, decision, waited, source) on the one pattern, canvas In development OvA1Start, OvA1After, OvA2Decide, OvA3Waited, OvA4Source, OvA11Dark, OvA12Edges, OvA10Desk. The model in node; the presses in a browser are briefing-premium-test.js (W1-W8) and briefing-premium-sources-test.js (S2, S3).",
|
|
3
|
+
"modules": ["home-need.test.mjs"],
|
|
4
|
+
"seconds": { "home-need.test.mjs": 1 }
|
|
5
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "feedback batch 18 items 2 and 2b, slice 2-B (canvas OvA5Overlap, OvA6Given, OvA7Drafted): New for you's overlap note and task Viewers, and the Finished Viewer Your day's Drafted for you opens. news-viewers-test.js drives the real Home at 390 and 1440 px with the news, the two initiatives and the day answered in the browser.",
|
|
3
|
+
"modules": [
|
|
4
|
+
"news-viewers.test.js"
|
|
5
|
+
],
|
|
6
|
+
"panels": [
|
|
7
|
+
"news-viewers-test.js"
|
|
8
|
+
],
|
|
9
|
+
"seconds": {
|
|
10
|
+
"news-viewers-test.js": 30,
|
|
11
|
+
"news-viewers.test.js": 1
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "batch 18 item 2-C: the small Viewers in shell A (a stakeholder and its one form on Home and the Board, a routine, Add a document, a draft to issue, your own task, a file); canvas OvA8People, OvA9Docs.",
|
|
3
|
+
"modules": ["small-vw.test.mjs"],
|
|
4
|
+
"seconds": { "small-vw.test.mjs": 1 }
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "Batch 18 item 1, slice 1-B (Wawan 2026-10-28 \"promote to ready for development, then build\"; canvas XvpA4Sheet, XvpA3Timeline, XvpA3bMonths): the initiative Viewer's Tasks on phone and desktop. One view button opens the sheet (View, Group by, Zoom Weeks/Months/All); the List shows only stages with something open and folds a stage after 3 tasks; the Timeline at All fits the whole initiative. viewer-tasks.test.js is the pure half (pm/ini-tasks.js); the browser half is task-views-test.js.",
|
|
3
|
+
"modules": ["viewer-tasks.test.js"],
|
|
4
|
+
"seconds": { "viewer-tasks.test.js": 1 }
|
|
5
|
+
}
|