-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Patterns: Fix category type for back link #54753
Conversation
Size Change: +3 B (0%) Total Size: 1.62 MB
ℹ️ View Unchanged
|
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.
Tested well for me.
I think the use of pattern type is a little confusing now that user and theme essentially share the same category section. I wonder if we should introduce a PATTERN_CATEGORY_TYPE constant to reduce any potential confusion around this. I have a draft PR for this, but I think we should land this simple fix for 16.7, and look at that refactor post the 6.4 beta if we want to do that.
I just cherry-picked this PR to the release/16.7 branch to get it included in the next release: 5ebd804 |
Related:
What?
Fixes the category type applied to a pattern's URL so that when navigating back to the pattern management page the sync filters are shown as they were before selecting the pattern.
Why?
UI elements coming and going isn't great.
How?
Set the correct category type in the query string params
Testing Instructions
Replicate Issue
Test fix
pattern
Screenshots or screencast
Screen.Recording.2023-09-23.at.4.21.19.pm.mp4
Screen.Recording.2023-09-23.at.4.22.31.pm.mp4