feat: add success notice after saving developer feature settings#807
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. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #807 +/- ##
==========================================
Coverage 76.48% 76.48%
Complexity 1869 1869
==========================================
Files 89 89
Lines 7990 7990
==========================================
Hits 6111 6111
Misses 1879 1879
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…FeatureSettings hook
What?
Added visual confirmation (success snackbar) when saving or resetting AI developer settings.
Why?
Previously, users only received an error notice if a settings update failed, but there was no immediate visual feedback upon a successful save, unlike other places in the interface where a success snackbar is shown.
How?
useDeveloperFeatureSettingshook to importcreateSuccessNoticealongsidecreateErrorNotice.savefunction, a success snackbar (Developer settings saved successfully.) is now dispatched.Use of AI Tools
AI assistance: Yes
Tool(s): Claude 4.6 sonnet
Used for: Drafting this PR description.
Testing Instructions
/wp-admin/options-general.php?page=ai-wp-admin).Screenshots or screencast
Screen.Recording.2026-06-30.at.2.55.11.PM.mov
Changelog Entry