Repository navigation
Improve mobile UX consistency and accessibility - #1870
Conversation
Co-authored-by: Copilot App <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
The global badge rule removes the environment identifier from every desktop layout.
1 open finding
What changed in this PR
Improves responsive usability and accessibility across navigation, documentation components, catalogs, API references, and translation views.
Changes:
- Introduces a shared mobile menu, responsive breadcrumbs, and consistent touch-target/type tokens.
- Improves overflow, contrast, focus handling, and client-navigation lifecycle behavior.
- Adds broad unit/E2E regression coverage and patches page-action dropdown behavior.
| File | Description |
|---|---|
src/frontend/tests/unit/custom-components.vitest.test.ts |
Tests media labels and breadcrumbs. |
src/frontend/tests/e2e/ui-regressions.spec.ts |
Updates responsive UI assertions. |
src/frontend/tests/e2e/mobile-ux.spec.ts |
Adds mobile accessibility regression matrix. |
src/frontend/tests/e2e/live-status.spec.ts |
Opens live controls through mobile menu. |
src/frontend/tests/e2e/live-embeds.spec.ts |
Updates mobile live navigation. |
src/frontend/tests/e2e/live-accessibility.spec.ts |
Covers menu-based live controls. |
src/frontend/tests/e2e/helpers.ts |
Adds mobile-menu test helper. |
src/frontend/tests/e2e/dev-layout.spec.ts |
Updates header and action-menu expectations. |
src/frontend/tests/e2e/dev-browse.spec.ts |
Updates breadcrumbs and touch sizing tests. |
src/frontend/tests/e2e/cookie-consent.spec.ts |
Supports menu-based video navigation. |
src/frontend/tests/e2e/api-cross-language-navigation.spec.ts |
Extends navigation timeout. |
src/frontend/src/styles/site.css |
Adds responsive layout and touch styles. |
src/frontend/src/styles/search-controls.css |
Enlarges mobile search controls. |
src/frontend/src/styles/glossary-term.css |
Targets unique action dropdown classes. |
src/frontend/src/styles/dev-hub.css |
Updates dropdown targeting. |
src/frontend/src/styles/aspire-brand.css |
Defines shared typography and sizing tokens. |
src/frontend/src/styles/api-reference.css |
Improves API wrapping and contrast. |
src/frontend/src/content/docs/community/videos.mdx |
Documents mobile live-navigation behavior. |
src/frontend/src/content/docs/community/thanks.mdx |
Adds coarse/mobile spacing. |
src/frontend/src/content/docs/community/contributor-guide.mdx |
Documents responsive design conventions. |
src/frontend/src/components/YouTubeEmbed.astro |
Adds fallback iframe label. |
src/frontend/src/components/TwitchEmbed.astro |
Adds fallback iframe label. |
src/frontend/src/components/TopicHero.astro |
Improves wrapping, sizing, and contrast. |
src/frontend/src/components/starlight/Sidebar.astro |
Adds shared mobile links. |
src/frontend/src/components/starlight/Search.astro |
Uses shared metadata sizing. |
src/frontend/src/components/starlight/PageTitle.astro |
Improves action wrapping and dropdown sizing. |
src/frontend/src/components/starlight/PageFrame.astro |
Adds mobile navigation on all layouts. |
src/frontend/src/components/starlight/MobileSiteLinks.astro |
Implements shared mobile destinations. |
src/frontend/src/components/starlight/MobileMenuToggle.astro |
Implements accessible menu lifecycle. |
src/frontend/src/components/starlight/Header.astro |
Simplifies and measures compact header. |
src/frontend/src/components/starlight/Footer.astro |
Enlarges compact footer controls. |
src/frontend/src/components/starlight/Banner.astro |
Enlarges banner dismissal target. |
src/frontend/src/components/SessionGrid.astro |
Improves filter readability and contrast. |
src/frontend/src/components/SampleGrid.astro |
Adds accessible tag disclosure. |
src/frontend/src/components/SampleCard.astro |
Improves text and link sizing. |
src/frontend/src/components/QuickStartJourney.astro |
Uses body-text token. |
src/frontend/src/components/PivotSelector.astro |
Enlarges selector controls. |
src/frontend/src/components/LiveVideosTabs.astro |
Uses readable body sizing. |
src/frontend/src/components/LivePip.astro |
Restores focus to a visible control. |
src/frontend/src/components/LicenseBadge.astro |
Adds focus and touch sizing. |
src/frontend/src/components/LearnMore.astro |
Allows long labels to wrap. |
src/frontend/src/components/Integrations.astro |
Improves toggle sizing and wrapping. |
src/frontend/src/components/IntegrationCard.astro |
Removes title clipping. |
src/frontend/src/components/IconLinkCard.astro |
Allows card-title wrapping. |
src/frontend/src/components/home/HomeTestimonials.astro |
Uses metadata sizing token. |
src/frontend/src/components/home/HomeHero.astro |
Improves mobile text sizing. |
src/frontend/src/components/FooterSocials.astro |
Enlarges social touch targets. |
src/frontend/src/components/FooterPreferences.astro |
Enlarges preference controls. |
src/frontend/src/components/FeatureShowcase.astro |
Uses readable body sizing. |
src/frontend/src/components/dev-center/ResourceBrowser.astro |
Makes pagination wrap and scale. |
src/frontend/src/components/dev-center/BrowseDropdown.astro |
Enlarges coarse-pointer controls. |
src/frontend/src/components/CustomSelect.astro |
Improves mobile option sizing and wrapping. |
src/frontend/src/components/CTABanner.astro |
Improves CTA text and wrapping. |
src/frontend/src/components/ContainerImages.astro |
Uses metadata sizing token. |
src/frontend/src/components/CapabilityGrid.astro |
Uses readable body sizing. |
src/frontend/src/components/Breadcrumb.astro |
Adds parent-link and full-trail layouts. |
src/frontend/src/components/AppHostBuilder.astro |
Enlarges editor controls. |
src/frontend/src/components/api-reference/VersionFilter.astro |
Improves filter sizing and contrast. |
src/frontend/src/components/api-reference/TypeHero.astro |
Uses API contrast token. |
src/frontend/src/components/api-reference/PolyglotAttributePanel.astro |
Prevents metadata overflow. |
src/frontend/src/components/api-reference/MemberOverviewList.astro |
Allows identifiers to wrap. |
src/frontend/src/components/api-reference/MemberCardBase.astro |
Constrains long signatures. |
src/frontend/src/components/api-reference/MemberCard.astro |
Wraps long member names. |
src/frontend/src/components/api-reference/InpageSearch.astro |
Enlarges mobile search controls. |
src/frontend/src/components/api-reference/DocContent.astro |
Improves link visibility and contrast. |
src/frontend/src/components/api-reference/ApiSearchBar.astro |
Uses shared small-text tokens. |
src/frontend/pnpm-workspace.yaml |
Registers page-actions patch. |
src/frontend/pnpm-lock.yaml |
Records patched dependency hash. |
src/frontend/patches/[email protected] |
Fixes action menus and copy lifecycle. |
src/frontend/lunaria/styles.css |
Contains and labels translation tables. |
src/frontend/lunaria/renderer.config.ts |
Wraps file status in a focusable region. |
src/frontend/astro.config.mjs |
Registers navigation overrides. |
Files not reviewed (1)
- src/frontend/pnpm-lock.yaml: Generated file
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Alistair Matthews (alistairmatthews)
left a comment
There was a problem hiding this comment.
Looks good when testing with testing with Responsive Design Mode in Firefox.

Summary
Improve mobile navigation, reading, and catalogs across aspire.dev while preserving the site's identity, content, and desktop information architecture.
Current screenshots
65 mobile captures and 8 desktop checks replace the earlier screenshots. They include final Hub/glossary size comparisons, 320px and doubled-text cases, and expanded controls. Fonts, transitions, visible images, and filter results were settled before capture. Click an image for its full-size view.
Homepage
Documentation
Integrations, dashboard, and deployment
Community and media
Catalogs and resource hub
Localization and supporting pages
API reference
Expanded controls
Conventional page hierarchy
Dark theme
Narrow phones
Code and long labels
Enlarged text
Desktop checks
Final matched search and filter sizes
Third-party links and affiliations
None. Existing third-party destinations are preserved.
Validation
Commands run from
src\frontend:pnpm exec vitest run --config vitest.config.ts- passed: 1,024 tests in 78 files; 1 intentionally skipped, against the updated CI base.pnpm lint- passed, including Astro synchronization, skill-digest verification, and complete ESLint checking.pnpm exec playwright test gallery-search-contract.spec.ts dev-glossary.spec.ts dev-layout.spec.ts --workers=2 --reporter=list --grep 'Hub search and glossary filters|glossary toolbar|typography and glossary controls|full-size search input geometry|integration query, facets'- passed: 16 tests; 2 intentionally skipped, confirming common Hub/Browse/Glossary/API sizing across phone, tablet, and desktop.pnpm exec vitest run --config vitest.config.ts tests\unit\search-presentation.vitest.test.ts tests\unit\custom-components.vitest.test.ts tests\unit\navigation-theme.vitest.test.ts- passed: 130 tests in 3 files after the final sizing adjustment.pnpm exec playwright test mobile-ux.spec.ts --workers=2 --reporter=list --grep 'breadcrumbs show|integration-card code borders|secondary controls match'- passed: 9 tests, checking conventional hierarchy, 12px action padding, and matching light-theme code borders.pnpm exec playwright test mobile-ux.spec.ts api-search-contract.spec.ts dev-glossary.spec.ts dev-grain.spec.ts dev-layout.spec.ts dev-browse.spec.ts gallery-search-contract.spec.ts site-search.spec.ts deployment-navigation.spec.ts custom-components.spec.ts homepage.spec.ts ui-regressions.spec.ts --workers=3 --reporter=list --grep 'API full-size input visual parity|glossary toolbar|grain is fine|Dev Hub uses consistent|typography and glossary|share content alignment|sidebar zero matches|native Pagefind input presentation|same-deployment navigation|changed deployment|missing deployment|samples grid hydrates|history returns focus|localized navigation|section 08 pairs|compact editorial rhythm|docs search survives|docs reading hierarchy|aligns the scroll|breadcrumbs show|secondary controls match|integration-card code borders|mobile controls and content'- 77 passed; 8 skipped; 11 failed initially. All failures were corrected and verified below; no tests were disabled.pnpm exec playwright test custom-components.spec.ts dev-layout.spec.ts dev-glossary.spec.ts site-search.spec.ts --workers=2 --reporter=list --grep 'samples grid hydrates|typography and glossary|glossary toolbar|Dev Hub uses consistent|docs search survives'- passed: 16 tests; 2 intentionally skipped, confirming corrected disclosure, navigation, and responsive-loop behavior.pnpm exec tsc --noEmit --pretty false- not clean: 239 existing diagnostics. Comparison with the prior verified baseline found 239 before and after, with no introduced diagnostics.No local production build was run, in accordance with repository guidance. Production search is a CI/preview check. Physical iPhone, Android, and Safari checks were unavailable; browser emulation is not device or accessibility certification.
CI repairs
Correct production JSX-link underline scoping, Pagefind/catalog padding parity, stale responsive assertions, hidden mobile-menu/sample-tag interactions, and scroll-to-top geometry. The grain check retains strict decoded interior pixels and all texture statistics; the prior mismatch was only three outer-border pixels. The homepage editorial-height budget excludes its independently changing announcement.
The updated base also had a failing dashboard-persistence test after its documentation correctly moved the writable volume to
/home/app. Preserve the upstream example and correct only its two stale test expectations. The feature branch was merged with current main, not rebased or replaced.Full remote production validation is tracked in the final CI run.