Skip to content

docs: adopt shared mobile navigation and compact terminals - #46

Merged
apage224 merged 1 commit into
mainfrom
codex/mobile-ui-rollout
Oct 1, 2026
Merged

apage224 merged 1 commit into
mainfrom
codex/mobile-ui-rollout

Conversation

@apage224

@apage224 apage224 commented Oct 1, 2026

Copy link
Copy Markdown
Collaborator

The documentation uses shared UI alpha.20, leaving mobile navigation inconsistent with heartKIT. Adopt released alpha.22 so the header offers a section dropdown and the sidebar shows the selected section. Terminal blocks inside tabs use compact frames with copy controls.

Pin the immutable release commit and regenerate the lockfile with npm. Product content, branding, URLs and runtime are unchanged. Browser coverage exercises keyboard dismissal, section switching, sidebar scope, light/dark themes and desktop navigation.

Validation: clean npm installation, documentation build and type checks, relevant output/reference/link checks, and 17 browser cases passed locally. Mobile screenshots inspected.

No runtime or hardware tests were needed for this documentation change. Merge and deployment remain pending approval.

Closes #45.

Copilot AI balanced review requested due to automatic review settings October 1, 2026 00:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The browser tests do not fully enforce the claimed single-Home-link and section-only sidebar behavior.

Review effort: Balanced
Findings: 2 Medium severity

Open (2)
What changed in this PR

Updates sleepKIT documentation to shared HELIA UI alpha.22, adding scoped mobile navigation and compact tabbed terminals.

Changes:

  • Pins alpha.22 and regenerates the lockfile.
  • Adds mobile section, theme, keyboard, desktop navigation, and terminal tests.
  • Updates the existing mobile navigation test.
File Description
astro-site/​package.json Pins HELIA UI alpha.22.
astro-site/​package-lock.json Records the updated dependency.
astro-site/​tests/​site.spec.ts Adapts existing mobile navigation coverage.
astro-site/​tests/​mobile-sections.spec.ts Adds navigation and terminal browser coverage.
Files not reviewed (1)
  • astro-site/package-lock.json: Generated file

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +23 to +32
const guideLinks = await sidebar.locator('a').evaluateAll(links => links.map(link => link.getAttribute('href')));
await menu.click();
await summary.click();
await page.getByRole('navigation', { name: 'Choose section' }).getByRole('link', { name: 'Getting started', exact: true }).click();
await expect(summary).toContainText('Getting started');
await menu.click();
await expect(sidebar.locator('[data-helia-sidebar-heading]')).toHaveText('Getting started');
const startLinks = await sidebar.locator('a').evaluateAll(links => links.map(link => link.getAttribute('href')));
expect(startLinks.length).toBeGreaterThan(0);
expect(startLinks).not.toEqual(guideLinks);
.locator('nav[aria-label="Main"] summary')
.filter({ hasText: /^Tasks$/ })
.click();
await page.locator('[data-helia-section-dropdown] summary').click();
@apage224
apage224 merged commit e86a6e0 into main Oct 1, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: adopt shared mobile navigation and compact tab terminals

2 participants