Repository navigation
Conversation
There was a problem hiding this comment.
Gates Passed
4 Quality Gates Passed
See analysis details in CodeScene
Quality Gate Profile: Clean Code Collective
Install CodeScene MCP: safeguard and uplift AI-generated code. Catch issues early with our IDE extension and CLI tool.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Code Review ✅ Approved🟡 Medium risk · Replacing the trash alert with shared ConfirmDialog changes destructive-action handling; its implementation is outside this diff, so whether confirmation reliably gates post removal is uncertain. Adds a WordPress-style confirm before Move to trash: a 400px dialog with no title, a sheet on phones, Cancel focused by default, and server errors shown above the buttons. No issues found. VerificationRules No rules evaluated Functional validation Not enabledFor more verification details, comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
[Medium impact] No blocking issues were established; the scoped checks support merging this change.
|
Closes #514
What
The editor's Move to trash now asks the way the WordPress post editor asks.
Why
The old confirm was a titled dialog with its own description, unlike the WordPress editor's small confirm with one question.
Testing Instructions
Summary by CodeRabbit