Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow NavList items to be selected by the current page #1435

Merged
merged 2 commits into from
Oct 3, 2022

Conversation

camertron
Copy link
Contributor

The experimental NavigationList component in dotcom lets the current page select nav items via Rails' current_page? helper. I totally forgot about that feature and would like to add it to the new NavList component.

@changeset-bot
Copy link

changeset-bot bot commented Sep 30, 2022

🦋 Changeset detected

Latest commit: 6ff9c92

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/view-components Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the ruby Pull requests that update Ruby code label Sep 30, 2022
@camertron camertron temporarily deployed to github-pages September 30, 2022 22:43 Inactive
@camertron camertron marked this pull request as ready for review September 30, 2022 23:04
@camertron camertron requested review from a team and jonrohan September 30, 2022 23:04
@camertron camertron merged commit 8312e6c into main Oct 3, 2022
@camertron camertron deleted the nav_list_current_page branch October 3, 2022 17:33
@primer-css primer-css mentioned this pull request Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants