Repository navigation
Suggestion mode 8/10: overlapping suggestions - #86206
adamsilverstein wants to merge 28 commits into
Conversation
Characters and blocks can now carry several suggestions at once, in the Google Docs model, instead of refusing edits that overlap another author's suggestion. Accept and reject in any order reach the same text. This moves the overlap work below the docs and e2e layers of the stack, so those layers describe and test the final behavior. The docs and e2e edits from the earlier overlap branch move into those layers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018vwYjThZWj6b6d3BwR27T2
🤖 PR meta 🤖🎉 PropsIf 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. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
Updated as activity occurs, without notifying anyone named here. Add the 🏷️ LabelsThis pull request needs exactly one label indicating its type, and has 0.
Read more about Type labels in Gutenberg. If you cannot add labels yourself, a reviewer can do it for you. 📦 Bundle sizeSize Change: +4.2 kB (+0.05%) Total Size: 8.75 MB 📦 View Changed
From 🏁 Flaky testsSome tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information. As a user I want to be able to add multiple close buttons so that users can close the overlay from different positions in
|
# Conflicts: # packages/block-editor/CHANGELOG.md
#86206 replaces #85794 as the overlap layer of the stack. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018vwYjThZWj6b6d3BwR27T2
PHPCS flagged the misaligned double arrows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018vwYjThZWj6b6d3BwR27T2
Trunk typed the core-data actions (#85070), so receiveCurrentUser now wants a full User record. The tests only need the id. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018vwYjThZWj6b6d3BwR27T2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018vwYjThZWj6b6d3BwR27T2
# Conflicts: # packages/editor/src/components/suggestion-mode/anchor-index.ts # packages/editor/src/components/suggestion-mode/use-suggestion-decisions.ts
…est/overlap # Conflicts: # packages/block-editor/CHANGELOG.md
The overlapping-suggestions code now lives in the layers below, so every conflict resolves to this branch's existing version and the tree is unchanged. Claude-Session: https://claude.ai/code/session_018vwYjS1afuMwCEzNKqAxg6
Part of #73411
Closed, not dropped. This layer was folded into the rest of the stack on 2026-11-21, and each piece now sits in the layer that owns it: the rules, formatting deltas and shared fixtures in #80431, the editor wiring and the server side in #80433, and the e2e specs in #82048. The description below is kept as it was when this was layer 8 of 10.
Replaces #85794, which GitHub closed as merged into
suggest/e2ewhile the stack was being reordered. This layer now sits right after inline live wiring, so the docs and e2e layers above it describe and test the final behavior. The overlap edits to the architecture docs moved into #82047, and the overlap e2e specs moved into #82048. The code is unchanged: the top of the stack has the same tree as before.Claude and a small team of agents built this from the overlap plan, summary below:
Suggestion mode stack
Combined testing branch: #78994
AI Use
A group of 🤖 Claude Code agents wrote the code and this description from my overlap plan, and Claude Code also did the restack that moved it here. I will review and test.
🤖 Generated with Claude Code
https://claude.ai/code/session_018vwYjThZWj6b6d3BwR27T2