-
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
Reset page after changing pattern filters or search value #54774
Reset page after changing pattern filters or search value #54774
Conversation
Size Change: +50 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.
Thanks for the rapid pagination fixes here @kevin940726
This tests well for me and I appreciate the keyboard-focused test instructions 👍
✅ Pattern pagination in the inserter is correctly reset when switching filters
✅ Pagination in pattern explorer is correctly reset on search term change
I just cherry-picked this PR to the release/16.7 branch to get it included in the next release: 7936d79 |
What?
Reset the page in the patterns inserter and explorer when changing the filters or the search value.
Why?
It could result in no patterns when filtering or searching while there are results.
How?
Calling
changePage( 1 )
at the right time and place.Testing Instructions for Keyboard
Screenshots or screencast
Kapture.2023-09-25.at.14.14.21.mp4