-
Notifications
You must be signed in to change notification settings - Fork 0
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
Troubleshooting: Match navtab style to /Parts page #2232
Conversation
1. Instead of having separate styles, lets just import the components that we want to match and avoid duplicate code. 2. The only difference is that the troubleshooting tabs can be disabled, so we need to add some special styling and disable them when there is no url.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
📦 Next.js Bundle Analysis for @ifixit/commerce-frontendThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CR 🌵 but dev_block 🌵 because I think we might want to do the inverse: https://github.com/iFixit/ifixit/issues/51876#issuecomment-1932566537
That's the Problems List component (e.g. |
I used the pre-existing NavBar as the foundation for the Problems List NavBar. They should be close aside from a few small things. This pretty much confirms the value of a shared component |
Ah, bummer. Closing this because the changes are significantly different. |
Overview
Reuses the components from the /Parts nav tabs on troubleshooting view pages. Now the styles are consistent across the tabs.
CR
QA
Closes https://github.com/iFixit/ifixit/issues/51876