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): keep the init card markup as it was [N26,H5]
Corey Olson534687e5410f
diff --git a/src/cockpit.js b/src/cockpit.jsindex 8df1dfde..6db0335b 100644--- a/src/cockpit.js+++ b/src/cockpit.js@@ -141,7 +141,7 @@ ${hostedLocal && !snapshot ? '<div class="hosted-mark" aria-hidden="true"><svg v<div class="top-find"><input id="q" type="search" placeholder="Search" aria-label="Search items, Spec, Doctrine and shouts" autocomplete="off"><div class="find-results" id="find-results" role="listbox" aria-label="Search results" hidden></div></div></header><main>- <section class="card-panel first" hidden>+ <section class="card-panel first"><h2>No boards yet</h2><p>Run <code>pullboard init</code> in a git repo, or ask an agent to. Its board shows up here by itself.</p></section>@@ -1073,8 +1073,6 @@ function render() {// flashes them; with no board to show, one message says how a board starts, in their place.document.body.classList.remove('loading');document.body.classList.toggle('boardless', !p && !group);- // The card starts hidden, so even a page whose stylesheet is late never says it before the list is known empty.- document.querySelector('main > .first').hidden = Boolean(p || group);$('group-view').hidden = !group;$('tabs').hidden = Boolean(group);document.querySelectorAll('[data-pane]').forEach((pane) => { pane.hidden = Boolean(group) || pane.dataset.pane !== view.tab; });diff --git a/test/cockpit/projects.test.js b/test/cockpit/projects.test.jsindex 106338a3..2e351ff0 100644--- a/test/cockpit/projects.test.js+++ b/test/cockpit/projects.test.js@@ -508,7 +508,7 @@ test('a machine with no board says how to start one [N26]', async () => {assert.deepEqual(classes(early), ['loading'], 'and stays so while the first answer is on its way');await early.release();assert.deepEqual(classes(early), ['boardless'], 'then the message takes the place of the board');- assert.match(page.html, /<main>\n {2}<section class="card-panel first" hidden>\n {4}<h2>No boards yet<\/h2>\n {4}<p>Run <code>pullboard init<\/code> in a git repo, or ask an agent to\. Its board shows up here by itself\.<\/p>\n {2}<\/section>\n/, 'the message says how a board starts');+ assert.match(page.html, /<main>\n {2}<section class="card-panel first">\n {4}<h2>No boards yet<\/h2>\n {4}<p>Run <code>pullboard init<\/code> in a git repo, or ask an agent to\. Its board shows up here by itself\.<\/p>\n {2}<\/section>\n/, 'the message says how a board starts');assert.equal(page.show('proj-list'), '<div class="empty">None yet.</div>');assert.equal(page.element('products').hidden, true);