Search Block: Refactoring settings panel#67907
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
fabiankaegy
left a comment
There was a problem hiding this comment.
Thank you for working on this :)
In order to keep the scope of this conversation as small as possible we should retain the current status quo as much as possible. So by default any controls that were visible by default should continue to be shown by default.
CleanShot.2024-12-13.at.09.12.55.mp4
…o refactor-search-block-settings-panel
Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com>
Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com>
Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com>
t-hamano
left a comment
There was a problem hiding this comment.
LGTM! I have one final suggestion that I'd be happy if you could check out.
747801532fb0930a36d91c476062a13a.mp4
Since the proposed changes have already been resolved: #67907 (comment)
* Refactoring settings panel * Feedback changes * Feedback changes * Update packages/block-library/src/search/edit.js Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com> * Update packages/block-library/src/search/edit.js Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com> * Update packages/block-library/src/search/edit.js Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com> * Feedback changes * Final Suggestion change --------- Co-authored-by: benazeer-ben <benazeer@git.wordpress.org> Co-authored-by: fabiankaegy <fabiankaegy@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org>
* Refactoring settings panel * Feedback changes * Feedback changes * Update packages/block-library/src/search/edit.js Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com> * Update packages/block-library/src/search/edit.js Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com> * Update packages/block-library/src/search/edit.js Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com> * Feedback changes * Final Suggestion change --------- Co-authored-by: benazeer-ben <benazeer@git.wordpress.org> Co-authored-by: fabiankaegy <fabiankaegy@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org>

What?
Part of: #67813
Why?
As per ticket definition we need to refactor Search Block code to include ToolsPanel instead of PanelBody.
How?
Refactored Search Block code to include ToolsPanel instead of PanelBody.
Testing Instructions
Screenshots or screencast