-
Notifications
You must be signed in to change notification settings - Fork 4.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
Site Editor: can't access the Patterns editor in mobile layout #67460
Comments
For the
But for edit mode, |
I'm not sure if what I've done here is right: #67505 But here's the result: Kapture.2024-12-03.at.12.05.56.mp4 |
@ramonjd Thanks for working on this issue! Thanks for working on this issue! It seems that a simpler solution has been submitted, #67467. That PR correctly restores the previous behavior and shows the all pattern list when accessing the Patterns screen in the Design screen. However, I realized that this approach might not be ideal for mobile layouts because template parts are not accessible. It seems that this issue has been there for a while. The correct behavior would probably be to show template parts and pattern categories instead of all patterns when accessing the Patterns screen in the Design screen, as attempted in #67505. With that in mind, I'm thinking it might be better to merge #67467 first and then move on to #67505. What do you think? |
I know I should look before I start working, but I never remember 😆
Sounds good! Thank you 🙇🏻 |
I'll clean up #67505 for consideration. The templates route bug fix has a separate PR #67547 since it's a bug not an enhancement. Thank you! |
Actually, am I missing something? I can see the template parts in "All patterns" in mobile. Kapture.2024-12-04.at.11.45.25.mp4It takes a bit of typing and/or clicking though 😄 |
@ramonjd In TT5, each pattern and template part has a header and footer 😅 On the "All patterns" page, you can search for headers/footers as patterns. |
That'd be it 😄 |
While I was there I noticed some weird stuff with the styles panel in mobile view and edit mode. Proposed fix here: |
Description
According to
git bisect
, this issue was introduced in #67199When you access the Patterns page in the site editor in the mobile layout, you can see the Template Parts and Patterns categories, but when you click on these categories, an error is logged in the browser console and nothing happens:
cc @youknowriad @tyxla @jsnajdr
Step-by-step reproduction instructions
N/A
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: