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

Add .selected back to the .UnderlineNav #1005

Merged
merged 1 commit into from
Jan 23, 2020

Conversation

simurai
Copy link
Contributor

@simurai simurai commented Dec 26, 2019

This PR adds the .selected class back to the .UnderlineNav component.

Reasoning

It was removed in #971. But .selected still gets used on dotcom in various places. So a temporary fix was added with https://github.com/github/github/pull/131624.

Maybe one day we can remove .selected again. As well as the rest #983. But before we release it, it would be good to first refactor dotcom and change everything to use aria-selected=true.

TODO on dotcom

@vercel
Copy link

vercel bot commented Dec 26, 2019

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/primer/primer-css/hbpz9vzgo
🌍 Preview: https://primer-css-git-underline-nav-selected.primer.now.sh

Copy link
Member

@jonrohan jonrohan left a comment

Choose a reason for hiding this comment

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

Sounds like a good plan.

@simurai simurai changed the base branch from master to release-14.2.0 January 23, 2020 04:29
@simurai simurai merged commit c5a0549 into release-14.2.0 Jan 23, 2020
@simurai simurai deleted the underline-nav-selected branch January 23, 2020 04:30
@simurai simurai mentioned this pull request Jan 23, 2020
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants