Repository navigation
docs: D0 site-editor UX research + macro design brief - #373
Conversation
Commits `docs/design/site-editor-ux.md` — the site-editor design brief that gates Phase D (D1–D5). Catalogues 16 documented WP Site Editor friction patterns with source links, scans four non-WP tools (Webflow, Framer, Craft CMS, Squarespace Fluid Engine) across three axes, and synthesizes an IA + mode model + flows + 10 UX principles that D1–D5 implement against. Key positions the brief commits V1 to: - Spatial, not modal, scope communication (URL-per-section). - Site editor and post editor are siblings, not nested. - Typed-reference menu items with config-driven menu locations. - Nav section uses a tree editor, not the block-editor iframe. - Style Book is the default canvas of the Styles section; variations picker ships in V1 with duplicate-and-modify authoring only. - Unsynced patterns are pure block-tree copies; "Convert to unsynced copy" replaces Gutenberg's "Detach". - Every Save button names its scope — no bare "Save" anywhere. Answers three open questions from the V1 plan (§8): style variations picker in V1, config-driven menu locations, unsynced patterns as pure copies. Closes #367
📝 WalkthroughWalkthroughA comprehensive design brief document for the site-editor is added, outlining WordPress site-editor friction points, competitive analysis across four non-WP tools, information architecture specifications, mode and save-scope models, key user flows, and foundational UX principles to guide D1–D5 implementation phases. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~15 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
docs/design/site-editor-ux.md (1)
453-453: Consider adding language identifiers to code blocks.The 9 fenced code blocks in this document lack language specifiers, which affects syntax highlighting in some markdown renderers. For ASCII diagrams (shell regions, inspector patterns), use
text. For flow storyboards, usetextas well.♻️ Suggested improvement
For example, line 453 (entry model):
-``` +```text Dashboard ├── Posts ← post-editor (already shipped)Line 474 (shell diagram):
-``` +```text ┌──────────────────────────────────────────────────────────────────────────┐Lines 798+ (flow storyboards):
-``` +```text Admin nav: click "Site Editor" → "Templates"Apply the same pattern to all 9 code blocks flagged by markdownlint.
As per coding guidelines (markdownlint MD040), fenced code blocks should specify a language for consistent rendering.
Also applies to: 474-474, 699-699, 798-798, 824-824, 847-847, 875-891, 903-903
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@docs/design/site-editor-ux.md` at line 453, Add explicit language identifiers to the nine fenced code blocks flagged by markdownlint (MD040): update the entry model block containing "Dashboard ├── Posts" to start with ```text, the shell diagram block beginning with "┌─────────────────" to start with ```text, and all flow storyboard blocks (e.g., "Admin nav: click \"Site Editor\" → \"Templates\"" and other ASCII diagrams/inspector patterns) to start with ```text so each fenced block specifies a language for consistent syntax highlighting.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@docs/design/site-editor-ux.md`:
- Line 453: Add explicit language identifiers to the nine fenced code blocks
flagged by markdownlint (MD040): update the entry model block containing
"Dashboard ├── Posts" to start with ```text, the shell diagram block beginning
with "┌─────────────────" to start with ```text, and all flow storyboard blocks
(e.g., "Admin nav: click \"Site Editor\" → \"Templates\"" and other ASCII
diagrams/inspector patterns) to start with ```text so each fenced block
specifies a language for consistent syntax highlighting.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 68943eca-1bbc-457e-9dbc-02f5ce83e1c2
📒 Files selected for processing (1)
docs/design/site-editor-ux.md
Description
Adds
docs/design/site-editor-ux.md— the D0 site-editor design brief that gates Phase D (D1–D5). This is a research + design PR, not an implementation PR. The only artifact is the doc.Closes: #367
Type of Change
Related Issue
Issue: #367
Motivation and Context
The V1 expansion plan (§2.2) commits to building the site-editor shell ourselves rather than depending on
@wordpress/edit-site, to preserve the #309 premise of owning admin chrome. That ownership is only valuable if we don't clone WordPress's IA by default. D0 is where we earn that decision — before D1–D5 start relitigating layout and mode-switching across five PRs.Changes Made
Single-file PR —
docs/design/site-editor-ux.md(1,045 lines). Contents:Key positions the brief commits V1 to
How Has This Been Tested?
Testing Environment:
Tests Performed:
Accessibility Tests Run
Tests Added
Documentation
docs/design/site-editor-ux.mdDocumentation details:
This doc is the deliverable for issue #367. Follow-up: D1–D5 issues (#368–#372) will be updated to reference this brief in their descriptions so downstream implementers pick it up when they start those phases.
Pre-Submission Checklist
Reviewer focus
Key review questions:
Approval gates D1 kickoff.
Summary by CodeRabbit
Documentation