Skip to content

Conversation

@JamesDoingStuff
Copy link
Collaborator

@JamesDoingStuff JamesDoingStuff commented Nov 17, 2025

For #52
Couple of things worth mentioning:

  • I added the user-event package to make testing keyboard inputs simpler (fireEvent was too restrictive)
  • To get the NavMenuLink to work with focus I had to use ref forwarding, and to support router links without duplicating code, it now uses the NavLink, but this meant adding ref forwarding to NavLink as well, lest the console fill up with React warnings.

@JamesDoingStuff JamesDoingStuff mentioned this pull request Nov 17, 2025
@akademy
Copy link
Member

akademy commented Nov 20, 2025

This looks good.

Just a couple of extra things:

  • You'll have to make it work with react-routes types of links - check out how linkComponent prop is used in NavLink.
  • Probably fits better in the "src/components/navigation" folder.

I'll review it formally after you get the tests created.

@JamesDoingStuff JamesDoingStuff force-pushed the jg/multilevel-menu branch 4 times, most recently from 88ca5c4 to 9f75851 Compare November 28, 2025 09:10
@JamesDoingStuff JamesDoingStuff linked an issue Nov 28, 2025 that may be closed by this pull request
@JamesDoingStuff JamesDoingStuff removed a link to an issue Nov 28, 2025
@JamesDoingStuff JamesDoingStuff marked this pull request as ready for review November 28, 2025 09:27
@JamesDoingStuff JamesDoingStuff self-assigned this Nov 28, 2025
Copy link
Collaborator

@VictoriaBeilsten-Edmands VictoriaBeilsten-Edmands left a comment

Choose a reason for hiding this comment

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

Looks good and you've handles accessibility well. Just a couple of minor points.

@akademy
Copy link
Member

akademy commented Jan 29, 2026

@JamesDoingStuff @VictoriaBeilsten-Edmands Any update on this?

@JamesDoingStuff
Copy link
Collaborator Author

I've just noticed that I accidentally committed a bunch of auto-formatting to the changelog, so I'll get rid of that now, but otherwise I think I've made all the suggested changes - just needs approval

@akademy akademy force-pushed the jg/multilevel-menu branch from 1193ca2 to 3cbd5a6 Compare February 9, 2026 14:34
Copy link
Member

@akademy akademy left a comment

Choose a reason for hiding this comment

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

LG

@akademy akademy merged commit 252c4b2 into main Feb 9, 2026
1 check 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.

3 participants