Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.
JavaScript agentic-codingai-agentsai-governanceautonomous-agentsclaude-codeclicode-reviewcodexcoding-agentsdeveloper-toolsgit-hooksllmlocal-firstmulti-agentsoftware-factoryspec-driven-developmentverificationvibe-coding
fix(view): share release rules and accessible folds [N26]
Corey Olson5625cdf0b352
diff --git a/src/cockpit.js b/src/cockpit.jsindex fe628e9a..d02755a0 100644--- a/src/cockpit.js+++ b/src/cockpit.js@@ -1267,6 +1267,22 @@ function milestoneRow(row, titles) {: '<li><button ' + attributes + ' type="button">' + inner + '</button></li>';}+/** Read a release once using the same terminal-item rule in the Roadmap and status bar. */+function readMilestone(milestone, p) {+ const rows = milestone.items.map((entry) => milestoneItem(entry, p));+ const done = rows.filter((row) => row.state === 'verified').length;+ // A nonempty release has no work left when every item is verified or withdrawn.+ return { milestone, rows, done, shipped: rows.length > 0 && rows.every((row) => row.state === 'verified' || row.state === 'withdrawn') };+}++/** Pick the first release with remaining work in roadmap order; empty plans wait behind it. */+function nextMilestone(p) {+ return (p.milestones || []).find((milestone) => {+ const read = readMilestone(milestone, p);+ return read.rows.length > 0 && !read.shipped;+ });+}+/*** The Roadmap (N26, N38) leads with what ships next: the milestones with work still to verify, in the board's order,* the next one open; then one Shipped section, folded, holding nonempty milestones with only verified or withdrawn items, newest@@ -1280,15 +1296,10 @@ function roadmapCards(p, titles) {const milestones = (p.milestones || []).filter((m) => !only || m.name === only);const lead = only ? '<div class="roadmap-only"><span>' + esc(only) + '</span><button class="link" data-roadmap-all type="button">show all</button></div>' : '';if (!milestones.length) return '<div class="card-panel empty">No milestones yet. The coordinator adds one with <code class="inline">pullboard milestone add</code>.</div>';- const read = milestones.map((milestone) => {- const rows = milestone.items.map((entry) => milestoneItem(entry, p));- const done = rows.filter((row) => row.state === 'verified').length;- // A nonempty release has no work left when every item is verified or withdrawn.- return { milestone, rows, done, shipped: rows.length > 0 && rows.every((row) => row.state === 'verified' || row.state === 'withdrawn') };- });- const coming = read.filter((m) => !m.shipped), shipped = read.filter((m) => m.shipped).reverse();+ const read = milestones.map((milestone) => readMilestone(milestone, p));+ const coming = read.filter((m) => !m.shipped && m.rows.length).concat(read.filter((m) => !m.rows.length)), shipped = read.filter((m) => m.shipped).reverse();/** Preserve each board's disclosure choices independently. */- const open = (key, first) => (view.roadmapOpen.has(JSON.stringify([view.root, key])) ? view.roadmapOpen.get(JSON.stringify([view.root, key])) : first) ? ' open' : '';+ const isOpen = (key, first) => view.roadmapOpen.has(JSON.stringify([view.root, key])) ? view.roadmapOpen.get(JSON.stringify([view.root, key])) : first;const caret = '<span class="caret" aria-hidden="true"></span>';/** Keep the existing verified-item count beside an upcoming release. */const count = (m) => m.rows.length ? '<span class="milestone-count">' + m.done + '/' + m.rows.length + ' done</span>' : '';@@ -1297,13 +1308,17 @@ function roadmapCards(p, titles) {? '<svg class="milestone-progress" viewBox="0 0 100 1" preserveAspectRatio="none" role="progressbar" aria-label="' + esc(milestone.name) + ': ' + done + ' of ' + rows.length + ' done" aria-valuemin="0" aria-valuemax="' + rows.length + '" aria-valuenow="' + done + '"><rect width="' + Math.round((100 * done) / rows.length) + '" height="1"/></svg><ul>' + rows.map((row) => milestoneRow(row, titles)).join('') + '</ul>': '<p class="milestone-empty">No items yet.</p>')+ (milestone.note ? '<p class="milestone-note">' + rich(milestone.note, titles) + '</p>' : '');+ /** Keep folding consistent with the View's other keyboard-accessible disclosure controls. */+ const wrap = (tag, classes, key, first, heading, contents) => {+ const open = isOpen(key, first);+ return '<' + tag + ' class="' + classes + '" data-key="' + esc(key) + '"><div class="milestone-head" data-roadmap-key="' + esc(key) + '" role="button" tabindex="0" aria-expanded="' + open + '">' + caret + heading + '</div><div class="milestone-body"' + (open ? '' : ' hidden') + '>' + contents + '</div></' + tag + '>';+ };/** Open only the next upcoming milestone by default. */- const card = (m, first) => '<details class="card-panel milestone" data-key="' + esc('m:' + m.milestone.name) + '"' + open('m:' + m.milestone.name, first) + '><summary>' + caret + '<h2>' + linked(m.milestone.name, titles) + '</h2>' + count(m) + '</summary>' + body(m) + '</details>';+ const card = (m, first) => wrap('section', 'card-panel milestone', 'm:' + m.milestone.name, first, '<h2>' + linked(m.milestone.name, titles) + '</h2>' + count(m), body(m));/** Summarize one shipped milestone with its first note line and total count. */- const line = (m) => '<details class="milestone shipped-one" data-key="' + esc('m:' + m.milestone.name) + '"' + open('m:' + m.milestone.name, false) + '><summary>' + caret + '<h2>' + esc(m.milestone.name) + '</h2>'- + '<small>' + esc(firstLine(m.milestone.note)) + '</small><span class="milestone-count">' + m.rows.length + (m.rows.length === 1 ? ' item' : ' items') + '</span></summary>' + body(m) + '</details>';+ const line = (m) => wrap('div', 'milestone shipped-one', 'm:' + m.milestone.name, false, '<h2>' + esc(m.milestone.name) + '</h2><small>' + esc(firstLine(m.milestone.note)) + '</small><span class="milestone-count">' + m.rows.length + (m.rows.length === 1 ? ' item' : ' items') + '</span>', body(m));return lead + coming.map((m, n) => card(m, n === 0)).join('')- + (shipped.length ? '<details class="card-panel shipped" data-key="shipped"' + open('shipped', false) + '><summary>' + caret + '<h2>Shipped</h2><span class="milestone-count">' + shipped.length + (shipped.length === 1 ? ' release' : ' releases') + '</span></summary>' + shipped.map(line).join('') + '</details>' : '');+ + (shipped.length ? wrap('section', 'card-panel shipped', 'shipped', false, '<h2>Shipped</h2><span class="milestone-count">' + shipped.length + (shipped.length === 1 ? ' release' : ' releases') + '</span>', shipped.map(line).join('')) : '');}/** Tags that flow inside a line of text, so a reference's line belongs to the nearest block around it. */@@ -1602,7 +1617,7 @@ function render() {// The status bar: what the board is doing, along the foot of the window. Each number is the length of the list its// click opens (the Active and To verify filters, the gated rows, the agents panel's rows), and a part with none hides.// countUnseen fills the unread shouts once the tab is drawn.- const release = (p.milestones || []).find((m) => m.done < m.total), last = p.events[0];+ const release = nextMilestone(p), last = p.events[0];const part = (to, n, words, title) => n ? '<button type="button" data-status="' + to + '" title="' + esc(title) + '"><b>' + n + '</b> ' + words + '</button>' : '';$('status-board').innerHTML = part('items', active.length, 'items', 'Show the active items') + '<button type="button" id="status-unread" data-status="unread" title="Show the shouts you have not read" hidden></button>'+ part('agents', busy.length, busy.length === 1 ? 'agent' : 'agents', 'Show the agents holding work: ' + busy.map((a) => agentName(a.agent_id)).join(', '))@@ -1822,7 +1837,7 @@ function statusGo(to) {// The agents it counts are the panel's rows, so it opens the panel even where the person hid it.else if (to === 'agents') { view.agentsHidden = false; keep('pb.agents', 'shown'); view.agent = null; openTab('shouts'); }// The release it counts is one milestone, so the Roadmap opens on that one alone.- else if (to === 'release') { view.roadmapOnly = (data.project.milestones || []).find((m) => m.done < m.total)?.name ?? null; openTab('roadmap'); }+ else if (to === 'release') { view.roadmapOnly = nextMilestone(data.project)?.name ?? null; openTab('roadmap'); }else openTab(to);showTab();render();@@ -2225,13 +2240,20 @@ $('shouts-pane').addEventListener('click', (event) => {// Enter shouts; Shift+Enter starts a new line.$('shout-text').addEventListener('keydown', (event) => { if (event.key === 'Enter' && !event.shiftKey && !event.isComposing) { event.preventDefault(); $('shout-form').requestSubmit(); } });document.addEventListener('click', (event) => {- const t = event.target.closest('[data-status],[data-roadmap-all],[data-root],[data-tab],[data-go],[data-item],[data-items-view],[data-state],[data-rows],[data-row],[data-row-decision],[data-section-approve],[data-release],[data-shout],[data-new],[data-code],[data-code-all],[data-code-less],#proj-switch,#console');+ const t = event.target.closest('[data-status],[data-roadmap-key],[data-roadmap-all],[data-root],[data-tab],[data-go],[data-item],[data-items-view],[data-state],[data-rows],[data-row],[data-row-decision],[data-section-approve],[data-release],[data-shout],[data-new],[data-code],[data-code-all],[data-code-less],#proj-switch,#console');if (!event.target.closest('.side')) fold(false);if (!t) return;if (t.id === 'proj-switch') { fold(!$('side').classList.contains('open')); return; }if (t.id === 'console') { t.hidden = true; return; }if (t.dataset.status) { statusGo(t.dataset.status); return; }if (t.dataset.itemsView) { view.itemsView = t.dataset.itemsView; address(); render(); return; }+ if ('roadmapKey' in t.dataset) {+ const key = t.dataset.roadmapKey;+ view.roadmapOpen.set(JSON.stringify([view.root, key]), t.getAttribute('aria-expanded') !== 'true');+ render();+ [...$('roadmap').querySelectorAll('[data-roadmap-key]')].find((head) => head.dataset.roadmapKey === key)?.focus({ preventScroll: true });+ return;+ }if ('roadmapAll' in t.dataset) { view.roadmapOnly = null; render(); return; }if (t.dataset.root) switchTo(t.dataset.root, t.dataset.go || '');else if (t.dataset.tab) { view.unread = null; view.roadmapOnly = null; openTab(t.dataset.tab); showTab(); }@@ -2267,6 +2289,8 @@ document.addEventListener('click', (event) => {/** Let a Roadmap row with independent inline links keep its keyboard button behavior. */document.addEventListener('keydown', (event) => {if (!['Enter', ' '].includes(event.key)) return;+ const head = event.target.closest('.milestone-head');+ if (head && event.target === head) { event.preventDefault(); head.click(); return; }const row = event.target.closest('.milestone-item[role="button"]');if (event.target !== row) return;event.preventDefault();@@ -2324,10 +2348,6 @@ $('theme').addEventListener('click', () => {theme(next);});$('q').addEventListener('input', () => { search(); view.foundAt = 0; showFound(); });-/** Remember disclosure choices independently for each board. */-$('roadmap').addEventListener('toggle', (event) => {- if (event.target.isConnected && event.target.dataset?.key) view.roadmapOpen.set(JSON.stringify([view.root, event.target.dataset.key]), event.target.open);-}, true);// Leaving the field closes the results a moment later, so a press on a result lands first; coming back to the field// before then keeps them, or a search begun straight after Esc would lose its new results to the old close.let closingFound = 0;diff --git a/src/view.css b/src/view.cssindex 6c9b0359..534caebc 100644--- a/src/view.css+++ b/src/view.css@@ -138,19 +138,18 @@ main { padding: 16px 18px 56px; }.two.narrow { grid-template-columns: minmax(0, 1fr) var(--agents-w); }.roadmap { display: grid; gap: 12px; max-width: 900px; align-content: start; }.milestone { padding: 14px 16px 12px; }-.roadmap summary { display: flex; align-items: center; gap: 10px; min-height: 44px; list-style: none; cursor: pointer; }-.roadmap summary::-webkit-details-marker { display: none; }-.roadmap summary .milestone-count { margin-left: auto; }+.milestone-head { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; border-radius: 8px; }+.milestone-head .milestone-count { margin-left: auto; }/* A small triangle that turns down when its part is open. */.roadmap .caret { flex: none; width: 7px; height: 9px; background: var(--ink-faint); clip-path: polygon(0 0, 100% 50%, 0 100%); transition: transform .15s; }-.roadmap details[open] > summary > .caret { transform: rotate(90deg); }+.milestone-head[aria-expanded="true"] > .caret { transform: rotate(90deg); }.shipped { padding: 4px 16px; }-.shipped > summary h2 { margin: 0; font-size: 15px; color: var(--ink-muted); }+.shipped > .milestone-head h2 { margin: 0; font-size: 15px; color: var(--ink-muted); }.shipped-one { border-top: 1px solid var(--line); }-.shipped-one > summary { min-height: 44px; }-.shipped-one > summary h2 { flex: none; font-size: 14px; }-.shipped-one > summary small { min-width: 0; overflow: hidden; color: var(--ink-faint); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }-.shipped-one[open] { padding-bottom: 10px; }+.shipped-one > .milestone-head { min-height: 44px; }+.shipped-one > .milestone-head h2 { flex: none; font-size: 14px; }+.shipped-one > .milestone-head small { min-width: 0; overflow: hidden; color: var(--ink-faint); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }+.shipped-one:has(> .milestone-head[aria-expanded="true"]) { padding-bottom: 10px; }.milestone h2 { margin: 0; font-size: 17px; line-height: 1.3; overflow-wrap: anywhere; }.milestone-count { color: var(--ink-muted); font: 12px var(--mono); white-space: nowrap; }.milestone-progress { display: block; width: 100%; height: 7px; margin: 10px 0 6px; overflow: hidden; border-radius: 99px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }@@ -720,3 +719,5 @@ code.inline.long { white-space: break-spaces; overflow-wrap: anywhere; }.proof-stats-detail p { margin: 5px 0 0; overflow-wrap: anywhere; }@media (width < 480px) { .proof-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }++.milestone-head:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }diff --git a/test/cockpit/fixture.js b/test/cockpit/fixture.jsindex 86c097f9..947f9179 100644--- a/test/cockpit/fixture.js+++ b/test/cockpit/fixture.js@@ -847,11 +847,11 @@ function showing(pane, address) {/** Open each folded Roadmap part once so stories that inspect all items read visible rows. */async function openRoadmapParts(chrome) {- const keys = JSON.parse(await chrome.stable("JSON.stringify([...document.querySelectorAll('#roadmap details')].filter(part => !part.open).map(part => part.dataset.key))"));+ const keys = JSON.parse(await chrome.stable("JSON.stringify([...document.querySelectorAll('#roadmap [data-key]')].filter(part => part.querySelector(':scope > .milestone-head').getAttribute('aria-expanded') !== 'true').map(part => part.dataset.key))"));for (const key of keys) {- const part = `[...document.querySelectorAll('#roadmap details')].find(part => part.dataset.key === ${JSON.stringify(key)})`;- await press(chrome, `${part}.querySelector(':scope > summary')`);- await chrome.waitFor(`${part}.open`);+ const part = `[...document.querySelectorAll('#roadmap [data-key]')].find(part => part.dataset.key === ${JSON.stringify(key)})`;+ await press(chrome, `${part}.querySelector(':scope > .milestone-head')`);+ await chrome.waitFor(`${part}.querySelector(':scope > .milestone-head').getAttribute('aria-expanded') === 'true'`);}}diff --git a/test/cockpit/roadmap.test.js b/test/cockpit/roadmap.test.jsindex 61c1cbc3..ea54e4e8 100644--- a/test/cockpit/roadmap.test.js+++ b/test/cockpit/roadmap.test.js@@ -261,6 +261,7 @@ test('the roadmap leads with the next release and folds shipped ones [N26]', { tbox.run(alpha.repo, 'milestone', 'add', '0.3', '--note', 'Next out.', '--items', '3,4');box.run(alpha.repo, 'milestone', 'add', '0.4', '--note', 'Queued behind 0.3.', '--items', '5');box.run(alpha.repo, 'milestone', 'add', 'Later');+ box.run(alpha.repo, 'milestone', 'move', 'Later', '--before', '0.1');const other = project(box, 'other-releases');box.run(other.repo, 'add', 'web', 'Other next page', '--specs', 'G1', '--criterion', 'renders');box.run(other.repo, 'milestone', 'add', '0.3', '--items', '1');@@ -269,14 +270,25 @@ test('the roadmap leads with the next release and folds shipped ones [N26]', { tlet chrome;/** The Roadmap as it reads: each part in order, open or closed, with what its summary says. */const read = async () => JSON.parse(await chrome.stable(`JSON.stringify((() => {+ /** Read header columns without the decorative caret. */const words = (e) => [...e.children].filter((c) => !c.classList.contains('caret')).map((c) => c.textContent.replace(/\\s+/g, ' ').trim()).join(' | ');+ /** Measure the rendered header target. */const box = (e) => { const r = e.getBoundingClientRect(); return { width: r.width, height: r.height }; };+ /** Find the direct disclosure control. */+ const head = (part) => part.querySelector(':scope > .milestone-head');+ /** Find the direct disclosure contents. */+ const body = (part) => part.querySelector(':scope > .milestone-body');+ /** Read the accessible expanded state. */+ const open = (part) => head(part)?.getAttribute('aria-expanded') === 'true';+ /** Read only visible item rows from an expanded release. */+ const rows = (part) => open(part) ? [...body(part).querySelectorAll(':scope > ul .milestone-item')].filter((row) => row.getBoundingClientRect().height > 0).map((row) => row.querySelector('.id').textContent) : [];return {+ statusRelease: document.querySelector('[data-status=release]')?.textContent.replace(/\\s+/g, ' ').trim() ?? null,page: { width: document.documentElement.clientWidth, scroll: document.documentElement.scrollWidth, body: document.body.scrollWidth },- parts: [...document.querySelectorAll('#roadmap > details')].map((d) => ({ key: d.dataset.key, open: d.open, summary: words(d.querySelector(':scope > summary')), height: box(d.querySelector(':scope > summary')).height,- rows: [...d.querySelectorAll(':scope > ul .milestone-item')].filter((row) => row.getBoundingClientRect().height > 0).map((row) => row.querySelector('.id').textContent),- shipped: [...d.querySelectorAll(':scope > .shipped-one')].map((one) => ({ key: one.dataset.key, open: one.open, summary: words(one.querySelector(':scope > summary')), height: box(one.querySelector(':scope > summary')).height,- rows: [...one.querySelectorAll('ul .milestone-item')].filter((row) => row.getBoundingClientRect().height > 0).map((row) => row.querySelector('.id').textContent) })) })),+ parts: [...document.querySelectorAll('#roadmap > [data-key]')].map((d) => ({ key: d.dataset.key, open: open(d), summary: words(head(d)), height: box(head(d)).height,+ rows: rows(d),+ shipped: [...body(d).querySelectorAll(':scope > .shipped-one[data-key]')].map((one) => ({ key: one.dataset.key, open: open(one), summary: words(head(one)), height: box(head(one)).height,+ rows: rows(one) })) })),};})())`));/** Activate a disclosure or item through the shared native pointer helper. */@@ -285,7 +297,7 @@ test('the roadmap leads with the next release and folds shipped ones [N26]', { tchrome = await openSnapshotChrome(executable, view.link.href, profile);await chrome.waitFor("typeof data === 'object' && data?.project?.milestones?.length === 5");await press(chrome, "document.querySelector('[data-tab=roadmap]')");- await chrome.waitFor("!document.querySelector('[data-pane=roadmap]').hidden && document.querySelectorAll('#roadmap > details').length > 0");+ await chrome.waitFor("!document.querySelector('[data-pane=roadmap]').hidden && document.querySelectorAll('#roadmap > [data-key]').length > 0");for (const scheme of ['light', 'dark']) {for (const width of [1280, 375]) {await chrome.send('Emulation.setDeviceMetricsOverride', { width, height: 900, deviceScaleFactor: 1, mobile: false });@@ -294,6 +306,7 @@ test('the roadmap leads with the next release and folds shipped ones [N26]', { tawait chrome.waitFor(`innerWidth === ${width} && matchMedia('(prefers-color-scheme: ${scheme})').matches`);const at = `${width}px ${scheme}`;const r = await read();+ assert.equal(r.statusRelease, '0.3 1/2', at + ': the status bar names the same next release');assert.ok(r.page.scroll <= r.page.width && r.page.body <= r.page.width, `${at}: no sideways scroll`);// What ships next leads, open; the release after it waits closed; the shipped ones fold into one part at the end.assert.deepEqual(r.parts.map((part) => [part.key, part.open, part.summary]), [@@ -304,7 +317,7 @@ test('the roadmap leads with the next release and folds shipped ones [N26]', { t], `${at}: the next release first and open, then the queued one, then Shipped, folded`);assert.deepEqual(r.parts[0].rows, ['#3', '#4'], `${at}: the next release shows its items`);assert.ok(r.parts.every((part) => part.height >= 44), `${at}: each part opens from a 44px target`);- await click('#roadmap > details[data-key="shipped"] > summary');+ await click('#roadmap > [data-key="shipped"] > .milestone-head');const expanded = await read();const history = expanded.parts.find((part) => part.key === 'shipped');assert.deepEqual(history.shipped.map((one) => [one.key, one.open, one.summary]), [@@ -313,11 +326,11 @@ test('the roadmap leads with the next release and folds shipped ones [N26]', { t], at + ': shipped names, first note line and counts in reverse roadmap order');assert.ok(history.shipped.every((one) => one.height >= 44), at + ': shipped targets are at least 44px');assert.ok(expanded.page.scroll <= expanded.page.width && expanded.page.body <= expanded.page.width, at + ': expanded history has no sideways scroll');- await click('#roadmap .shipped-one[data-key="m:0.2"] > summary');+ await click('#roadmap .shipped-one[data-key="m:0.2"] > .milestone-head');assert.deepEqual((await read()).parts.find((part) => part.key === 'shipped').shipped[0].rows, ['#2', '#6'], at + ': verified and withdrawn items remain readable');await proofShot(chrome, 'releases', width);- await click('#roadmap .shipped-one[data-key="m:0.2"] > summary');- await click('#roadmap > details[data-key="shipped"] > summary');+ await click('#roadmap .shipped-one[data-key="m:0.2"] > .milestone-head');+ await click('#roadmap > [data-key="shipped"] > .milestone-head');}}@@ -325,7 +338,11 @@ test('the roadmap leads with the next release and folds shipped ones [N26]', { t// opens to its items as before.await chrome.send('Emulation.setDeviceMetricsOverride', { width: 1280, height: 900, deviceScaleFactor: 1, mobile: false });await chrome.waitFor('innerWidth === 1280');- await click('#roadmap > details[data-key="shipped"] > summary');+ await press(chrome, "document.querySelector('[data-status=release]')");+ assert.deepEqual((await read()).parts.map(part => part.key), ['m:0.3'], 'the status-bar release link opens only the same next release');+ await press(chrome, "document.querySelector('[data-roadmap-all]')");+ assert.deepEqual((await read()).parts.map(part => part.key), ['m:0.3', 'm:0.4', 'm:Later', 'shipped'], 'show all restores upcoming and shipped history');+ await click('#roadmap > [data-key="shipped"] > .milestone-head');let r = await read();const shipped = r.parts.find((part) => part.key === 'shipped');assert.deepEqual(shipped.shipped.map((one) => [one.key, one.open, one.summary]), [@@ -333,7 +350,7 @@ test('the roadmap leads with the next release and folds shipped ones [N26]', { t['m:0.1', false, '0.1 | The first page. | 1 item'],], 'newest first, each one line, closed');assert.ok(shipped.shipped.every((one) => one.height >= 44), 'each a 44px target');- await click('#roadmap .shipped-one[data-key="m:0.2"] > summary');+ await click('#roadmap .shipped-one[data-key="m:0.2"] > .milestone-head');r = await read();assert.deepEqual(r.parts.find((part) => part.key === 'shipped').shipped.find((one) => one.key === 'm:0.2').rows, ['#2', '#6'], 'a shipped release opens to its items');await click('#roadmap .shipped-one[data-key="m:0.2"] .milestone-item[data-go="item:2"]');@@ -342,7 +359,7 @@ test('the roadmap leads with the next release and folds shipped ones [N26]', { t// The parts stay as the person left them when the board redraws: close the next release, then change the board.await press(chrome, "document.querySelector('[data-tab=roadmap]')");await chrome.waitFor("!document.querySelector('[data-pane=roadmap]').hidden");- await click('#roadmap > details[data-key="m:0.3"] > summary');+ await click('#roadmap > [data-key="m:0.3"] > .milestone-head');box.run(alpha.web, 'claim', '3');await chrome.waitFor("data.project.items.find((i) => i.id === 3)?.status === 'claimed'", 15_000);r = await read();