hub-detail-panel-shell.test.mjs
sha256:65ccb454656ea5acdea0a10e559b78bcde1eb6ff753ecc2911bc99d1c3d7cadd
feat(calendar): enforce agent context tiers in retrieval AP…
Human
minor
⚠ breaking
1 day ago
| 1 | /** |
| 2 | * Ensures the Hub detail drawer shell includes bottom close and footer hint (UX contract). |
| 3 | */ |
| 4 | import { describe, it } from 'node:test'; |
| 5 | import assert from 'node:assert'; |
| 6 | import fs from 'fs'; |
| 7 | import path from 'path'; |
| 8 | import { fileURLToPath } from 'url'; |
| 9 | |
| 10 | const __dirname = path.dirname(fileURLToPath(import.meta.url)); |
| 11 | const indexPath = path.join(__dirname, '..', 'web', 'hub', 'index.html'); |
| 12 | |
| 13 | describe('hub detail panel shell', () => { |
| 14 | it('index.html includes bottom close, footer hint, and detail panel', () => { |
| 15 | const html = fs.readFileSync(indexPath, 'utf8'); |
| 16 | assert.match(html, /data-hub-detail-close/); |
| 17 | assert.match(html, /detail-footer-hint/); |
| 18 | assert.match(html, /class="[^"]*detail-footer/); |
| 19 | assert.ok(html.includes('id="detail-panel"') && html.includes('id="detail-body"')); |
| 20 | }); |
| 21 | }); |
File History
2 commits
sha256:65ccb454656ea5acdea0a10e559b78bcde1eb6ff753ecc2911bc99d1c3d7cadd
feat(calendar): enforce agent context tiers in retrieval AP…
Human
minor
⚠
1 day ago
sha256:9103f98c89257ed2b01c237cea895dabb3e85ea337dccb1161c175e4422355b6
docs: accept Calendar Events v0 spec with Phase 0 security …
Human
1 day ago