-
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
Vulcan: Problem List: Ancestor problem lists #2231
Conversation
Co-authored-by: Andrew Gilbert <[email protected]>
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 🌯 Looks good to me!
QA 💎 - When a device has problem pages, and it's ancestor also has problem pages, the device's troubleshooting page will display it's own problem pages, and in a second heading it will show it's ancestor's problem pages. deploy_block 🦖
Not sure if my issue applies then, so please disregard if this isn't in the scope of the pull. Screen.Recording.2024-02-06.at.5.19.43.PM.mov |
This should be corrected, thanks! Fixed in 4f95bc5 |
The troubleshooting pages of a device with the inheritance flag are inherited by all its child devices. No pages from child devices are inherited by more distant descendants.
👍 That's what we want. We can add the inheritance flag to the AEG T865901H dryer to have its troubleshooting pages also get inherited, at which point the un_deploy_block 👶 |
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 🌯
It is larger. I'll set the fontSize statically so heading changes won't modify |
Answers heading fontSize fixed in 35dec8c un_deploy_block 🟢 |
QA 🎬 |
@@ -17,7 +17,7 @@ export function Answers({ | |||
<Heading | |||
as={hasProblems ? 'h4' : 'h3'} | |||
color="gray.800" | |||
fontSize={{ base: '24px', sm: '30px' }} | |||
fontSize={{ base: '20px', mdPlus: '24px' }} |
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.
Is mdPlus
a custom breakpoint we created? I haven't seen it before
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.
Yeah, I added it here: https://github.com/iFixit/react-commerce/pull/2143/files#diff-9e3cebe6686b9c7a2c8f51158b777b7f8d7b7bd53fd8a126776adc1e655bf956R7
tl;dr: Chakra uses min-width @media
queries, so we need 'md' + 1px
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 🌯
Issue
Add ancestor Problems to Problems List page when available. See issue description for further details.
Text will be updated separately in https://github.com/iFixit/ifixit/issues/51815
CR/QA
/Troubleshooting/dryer
(no ancestors)/Troubleshooting/AEG_T865901H_dryer
(has ancestors)Closes https://github.com/iFixit/ifixit/issues/51062