Agent Mesh
Go a2aa2a-protocolagent-meshagentic-aiinferencemcpmeshmesh-networknetwork-securitynetworking-aip2p-network
console: collapse the Revoked Nodes section like Expired Nodes
Tomas Tormo3d0c42021dbf
diff --git a/internal/console/public/index.html b/internal/console/public/index.htmlindex 0dc61628..36d8d14f 100644--- a/internal/console/public/index.html+++ b/internal/console/public/index.html@@ -206,10 +206,8 @@</div></div><!-- Admins only: a revoked node keeps its record, so it can be restored. -->- <div id="revoked-nodes" hidden>- <div class="section-header section-header-spaced">- <h2>Revoked Nodes</h2>- </div>+ <details id="revoked-nodes" class="section-header-spaced" hidden>+ <summary class="section-header"><h2>Revoked Nodes</h2></summary><div class="card"><div class="table-responsive"><table class="data-table">@@ -225,7 +223,7 @@</table></div></div>- </div>+ </details><!-- Loaded on open, never by the refresh: expired rows pile up for theretention period, yet an expired OIDC node can renew until revoked. --><details id="expired-nodes" class="section-header-spaced">diff --git a/tests/ui/console.spec.js b/tests/ui/console.spec.jsindex a4db74a1..ab5ea0c4 100644--- a/tests/ui/console.spec.js+++ b/tests/ui/console.spec.js@@ -439,6 +439,7 @@ test('an admin restores a revoked node from the Nodes view', async ({ page }) =>await login(page);await page.click('.nav-item[data-target="nodes"]');+ await page.click('#revoked-nodes summary');page.once('dialog', (d) => d.accept());await page.locator('#table-revoked-nodes tr', { hasText: REVOKED }).locator('button:has-text("Restore")').click();await expect.poll(() => unban).toBe(`POST /api/admin/nodes/${REVOKED}/unban`);