Skip to content

feat(MegaMenu): drill-in phone menu (collapseAs="drill") - #553

Merged
lorant-one merged 1 commit into
feat/3-0-breaking-cleanupfrom
feat/megamenu-drill-in
Nov 19, 2026
Merged

lorant-one merged 1 commit into
feat/3-0-breaking-cleanupfrom
feat/megamenu-drill-in

Conversation

@lorant-one

Copy link
Copy Markdown
Member

Nested accordions in the phone menu didn't read well on a large site, so Lorant picked the drill-in pattern for HeaderMenu. This adds it to MegaMenu.

  • collapseAs="drill": when collapsed, the groups form one list. Tapping a group replaces the list with that group's links under a back row, and the new level slides in from the side it came from. Reduced motion turns the slide off.
  • Links are thumb-sized rows (label-default-l, an optional description and icon). Section titles are small headings.
  • Focus moves to the back row when you go in, and returns to the group you opened when you come back.
  • "accordion" stays the default, so this changes nothing for existing menus.

Checks:

  • New test megamenu-drill.test.tsx passes, axe included.
  • The existing accordion tests still pass.
  • The AI spec is regenerated, bundle-size.json is updated, and lint:gate is at 113 against a baseline of 115.

Screens from Aveiro's landing on a phone are in the project files at nav-kit/core/drill/.


Generated by Claude Code

Collapsed, the groups are one list; a group opens as its own level under a
back row instead of nested accordions. Thumb-sized link rows, focus to the
back row and back to the group, slide in from the side it came from.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtxGyk4YVJPL5V3YV6R
@lorant-one
lorant-one merged commit 18e3504 into feat/3-0-breaking-cleanup Nov 19, 2026
14 of 16 checks passed
@lorant-one
lorant-one deleted the feat/megamenu-drill-in branch November 21, 2026 11:17
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.

2 participants