-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Showcase: Reposition the Main component (#23768) #24037
Conversation
…re to match markup for other sections of Calypso. See #23768
CircleCI is failing on the Main wrapper's class name:
I'm using the original class name ( |
I just tested it with Chrome inspector in responsive mode and it worked great. As for the test failure, I'm not sure that's necessary. What you have appears to align with some of the other selectors in the markup. @folletto or @seear, do either of you agree with this assessment? Should we disregard the failure notification and just merge? |
That's a part of the codebase I'm not experienced with, so I don't feel I can give you a reliable answer. Sorry! |
The missing section title is due to the absence of the I haven't figured out how to bring that over, since it's dependent on a number of props and state pieces that need to be untangled from the original theme showcase file. |
I'm not quite certain about the premise of this PR. New content is rendered into |
I'm not sure if we have a better way of handling this, but you can pass the className in using a variable, and that bypasses that check.
I'm actually seeing this on master, too - if you go to any section, hit the chevron to go to the menu, then click the same selection, the title disappears. I tried to fix something similar in #22501, but I thought we didn't need it anymore. I can take another look though, since it seems to be a continuing issue 🙂 |
@ryelle Thank you for looking into this! It sounds like we're OK to continue testing this patch, with the idea we'll fix the section title bug in a separate PR? |
Are we still keen to progress this PR and get it merged? |
Closing due to inactivity - please reopen if necessary |
Main
needs to wrap header divs or they'll persist upon exiting the section./cc @mendezcode @mapk