Fix to use "Regenerate" button label and loading state in Title Generation modal#790
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 #790 +/- ##
==========================================
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:
|



What?
Closes #788
Changes button label inside Title Generation modal to "Regenerate" with "Regenerating.." state on click.
Why?
Fixes the User Experience issue where the modal button is provided for regeneration of title. But the button states Generate instead.
How?
isRegeneratingvariable to decide between the two.Use of AI Tools
AI assistance: Yes
Tool(s): Antigravity IDE
Model(s): Gemini 3.5 Flash (Low)
Used for: Identifying the relevant code file for the fix. Final implementation was reviewed and edited by me.
Testing Instructions
Screenshots or screencast
Changelog Entry