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 new tabs design #367

Merged
merged 4 commits into from
Mar 15, 2021
Merged

Add new tabs design #367

merged 4 commits into from
Mar 15, 2021

Conversation

ashley-hebler
Copy link
Member

@ashley-hebler ashley-hebler commented Mar 11, 2021

What's this PR do?

Updates our style base to use the tabs we added for directory

Why are we doing this? How does it help us?

We made the tabs more minimal for directory because it allowed us to squish them down smaller on mobile. @AndrewGibson27 also provided a model for making our tabs accessible, which has been implemented here.

How should this be manually tested?

npm run dev

See: /sections/components/c-tabs/

Does this introduce a breaking change where queso-ui is used in the wild? If so, is there a relevant branch/PR to accompany this release?

It does, this will have to be a major release because of the markup changes needed.

TODOs / next steps:

  • Scope out how to implement the new tabs on the republish page and donor/sponsor wall

Copy link
Contributor

@AndrewGibson27 AndrewGibson27 left a comment

Choose a reason for hiding this comment

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

🚢 ! Thanks a ton for adding this -- I should have saved you the work and done this after the improve-directory launch!

Only thing I noticed was that arrow-keying changes the active tab but not the active class. But, as you said, the implementation will vary, so hardly a big deal.

Queso is so great. I was reminded of its amazingness today while working on live-blog stuff.

@ashley-hebler
Copy link
Member Author

Oh I'm so glad to hear that. I was wondering how it was handling the live blog design.

And thank you for the review. I think it's good for the demo to the desired keyboard behavior so I went ahead and threw some dinosaur, vanilla JS at it to fix that. I'll work on a branch using this in texastribune before I merge and version it up.

@ashley-hebler ashley-hebler merged commit 852a597 into main Mar 15, 2021
@ashley-hebler ashley-hebler deleted the new-tabs branch April 9, 2021 14:06
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.

None yet

2 participants