Align Manage Pages documentation with current UI behavior - #100
Conversation
WalkthroughUpdated the Manage Pages documentation to reflect current search settings, page creation and publishing labels, field requirements, and bulk or permanent deletion behavior. ChangesManage Pages documentation
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@sites/content/manage-pages.mdx`:
- Line 79: Update the enclosing step title in the Manage Pages instructions from
“Navigate to Add New” to “Navigate to Create New Page” so it matches the current
UI label and the instruction text.
- Around line 181-185: Standardize the deletion action labels in the
page-management documentation: update the visible references around “Bulk
Actions” and the per-page action so “Move to trash” and “Delete permanently” use
consistent casing throughout the flow.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 9f6ea9ee-4fa7-4b23-ac3a-683c935f5448
📒 Files selected for processing (1)
sites/content/manage-pages.mdx
| <Steps> | ||
| <Step title="Navigate to Add New"> | ||
| Go to **MainWP > Sites > Content Operations > Manage Pages**, then click **Add New**. | ||
| Go to **MainWP > Sites > Content Operations > Manage Pages**, then click **Create New Page**. |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Rename the step title to match the new UI label.
The instruction now tells users to click Create New Page, but the enclosing step title still says Navigate to Add New. Update the title so the navigation guidance is internally consistent.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@sites/content/manage-pages.mdx` at line 79, Update the enclosing step title
in the Manage Pages instructions from “Navigate to Add New” to “Navigate to
Create New Page” so it matches the current UI label and the instruction text.
| For multiple pages, select them using checkboxes and use **Bulk Actions > Move to trash**. | ||
|
|
||
| ### Delete Permanently | ||
|
|
||
| WordPress only allows permanent deletion of pages already in Trash. | ||
| The per-page **Delete permanently** action appears only for pages in Trash. |
There was a problem hiding this comment.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
# Inspect the referenced section
git grep -n "Move to trash\|Delete permanently\|Delete Permanently\|Trash" -- sites/content/manage-pages.mdx sites || true
echo
echo "---- referenced lines ----"
sed -n '170,195p' sites/content/manage-pages.mdx
echo
echo "---- broader matches ----"
rg -n "Move to trash|Delete permanently|Delete Permanently|Trash" sites/content sites || trueRepository: mainwp/docs
Length of output: 7154
Standardize the page deletion labels
This section mixes Move to trash/Delete permanently with Move to Trash/Delete Permanently; use one casing consistently across the flow.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@sites/content/manage-pages.mdx` around lines 181 - 185, Standardize the
deletion action labels in the page-management documentation: update the visible
references around “Bulk Actions” and the per-page action so “Move to trash” and
“Delete permanently” use consistent casing throughout the flow.
Summary
Testing
Summary by CodeRabbit