Edit the latest own message with Up in the existing composer - #192
Conversation
Signed-off-by: Brain <1a02c72794dcd0f07058a353bc3a81f4028b8c77c92c87fce6d5c8b85970a20b@buzz.block.builderlab.xyz>
Signed-off-by: Brain <1a02c72794dcd0f07058a353bc3a81f4028b8c77c92c87fce6d5c8b85970a20b@buzz.block.builderlab.xyz>
Signed-off-by: Brain <1a02c72794dcd0f07058a353bc3a81f4028b8c77c92c87fce6d5c8b85970a20b@buzz.block.builderlab.xyz>
wesbillman
left a comment
There was a problem hiding this comment.
Carl, an automated reviewer, commenting via Wes’s GitHub account.
Review clear: no actionable code, product or security blocker established. Reviewed head 7f556a9334a47152ef215d089ef54b0ce16934f5 against base fe897a10f1bfa6590092b0f82d943e9b555c42c3, with an independent composer/keyboard lane.
Traced target eligibility and conversation scope, draft/application-undo restoration, raw attachment and original recipient preservation, edit/outbox delivery and exact-event retry, stale/deleted targets, emoji-preparation recovery, and broker admission. A thread’s visible root is not excluded by the documented edit contract; a replies-only restriction would be a new requirement, not a proven fix.
Validation: read-only source review on Blox, with no PR-code execution or test reruns. Independently verified exact-head CI: successful JavaScript, Rust/tool integration, browser measurements, and Chromium/WebKit journey shards. Windows native validation was skipped; this review adds no live/native acceptance evidence. Author-reported tests and human acceptance remain separate evidence.
This is a COMMENTED review, not approval. Required maintainer/code-owner approval remains before merge.
wesbillman
left a comment
There was a problem hiding this comment.
Carl, an automated reviewer, commenting via Wes’s GitHub account.
Changes needed: one P2 completeness defect. Wire the media-review image/video comment composer into the existing edit target contract and cover that real consumer; no new editor or delivery owner is needed. The optional dismissal-recovery note is non-blocking and does not imply lost durable text.
Reviewed head 7f556a9334a47152ef215d089ef54b0ce16934f5 against base fe897a10f1bfa6590092b0f82d943e9b555c42c3, integrating three independent review lanes. Hosted CI is green: 2,564 Vitest tests and 267 browser journeys per engine (Chromium/WebKit), including the new edit journey. Review was source/diff plus hosted evidence; no duplicate local suites, live-account edit, or packaged-native acceptance claimed.
Merge criterion: resolve the P2 inline finding with image/video surface wiring coverage and validate the updated head. Existing session/outbox ownership, original recipient/attachment preservation, and relay-side edit authorization do not require redesign.
GitHub rejected a formal CHANGES_REQUESTED review because the authenticated account also authored this PR. This COMMENTED review records the blocking recommendation; it is not approval. It adds a verified production-consumer omission not covered by the earlier clear review.
Signed-off-by: Brain <1a02c72794dcd0f07058a353bc3a81f4028b8c77c92c87fce6d5c8b85970a20b@buzz.block.builderlab.xyz>
Signed-off-by: Brain <1a02c72794dcd0f07058a353bc3a81f4028b8c77c92c87fce6d5c8b85970a20b@buzz.block.builderlab.xyz>
Signed-off-by: Brain <1a02c72794dcd0f07058a353bc3a81f4028b8c77c92c87fce6d5c8b85970a20b@buzz.block.builderlab.xyz>
Signed-off-by: Brain <1a02c72794dcd0f07058a353bc3a81f4028b8c77c92c87fce6d5c8b85970a20b@buzz.block.builderlab.xyz>
Signed-off-by: Brain <1a02c72794dcd0f07058a353bc3a81f4028b8c77c92c87fce6d5c8b85970a20b@buzz.block.builderlab.xyz>
Signed-off-by: Brain <1a02c72794dcd0f07058a353bc3a81f4028b8c77c92c87fce6d5c8b85970a20b@buzz.block.builderlab.xyz>
* origin/main: fix: restore avatar presence controls and active-input sensing (#198) Add legacy diff messages with inline and expanded viewing (#202) Edit the latest own message with Up in the existing composer (#192) Signed-off-by: Carl <c217fe6b9d958f41c3a5e030dccc7f626775a923089cb6491305eade75ea1f1b@buzz.block.builderlab.xyz>
…embers-dialog * morganm/channel-members-support: Preserve member-add recovery across dialog lifetimes fix: restore avatar presence controls and active-input sensing (#198) Add legacy diff messages with inline and expanded viewing (#202) Edit the latest own message with Up in the existing composer (#192) Add complete reaction toggles to the message menu (#185) Signed-off-by: Carl <c217fe6b9d958f41c3a5e030dccc7f626775a923089cb6491305eade75ea1f1b@buzz.block.builderlab.xyz> # Conflicts: # src/shared/design-system/ui/Dialog.tsx
…o-player-polish * origin/main: (38 commits) Fix diff content fallback, keyboard scrolling and edit selection (#205) Standardize form controls and field feedback across Buzz (#174) Keep image review downloads and external opens distinct (#144) Verify media review comments (#166) Follow system appearance (#210) Add rich composer formatting and spoiler rendering (#203) feat: show roster-backed channels and managed instances in profiles (#188) Add new direct message flow (#156) Remove Home, start in Messages, and keep Channels enabled (#194) fix: restore avatar presence controls and active-input sensing (#198) Add legacy diff messages with inline and expanded viewing (#202) Edit the latest own message with Up in the existing composer (#192) Add complete reaction toggles to the message menu (#185) feat: add persistent community navigation rail (#191) test: add margin to warm-switch performance gate (#195) Add composer attachments and compatible media preparation (#183) Add reply and copying to the shared message menu (#182) fix: avoid idle workspace re-renders from activity and label churn (#186) feat: add devtools trace capture to web profiling (#180) Add optional channel templates, teams and personal group defaults (#181) ... Signed-off-by: Zach Marley <zmarley@squareup.com>
…-content-compat * origin/main: (38 commits) Fix diff content fallback, keyboard scrolling and edit selection (#205) Standardize form controls and field feedback across Buzz (#174) Keep image review downloads and external opens distinct (#144) Verify media review comments (#166) Follow system appearance (#210) Add rich composer formatting and spoiler rendering (#203) feat: show roster-backed channels and managed instances in profiles (#188) Add new direct message flow (#156) Remove Home, start in Messages, and keep Channels enabled (#194) fix: restore avatar presence controls and active-input sensing (#198) Add legacy diff messages with inline and expanded viewing (#202) Edit the latest own message with Up in the existing composer (#192) Add complete reaction toggles to the message menu (#185) feat: add persistent community navigation rail (#191) test: add margin to warm-switch performance gate (#195) Add composer attachments and compatible media preparation (#183) Add reply and copying to the shared message menu (#182) fix: avoid idle workspace re-renders from activity and label churn (#186) feat: add devtools trace capture to web profiling (#180) Add optional channel templates, teams and personal group defaults (#181) ... Signed-off-by: Zach Marley <zmarley@squareup.com> # Conflicts: # docs/channels.md
Implemented by Brain on behalf of Wes.
Summary
No formatting-branch changes, new persistence/delivery owner, or merge request. Independent review by Pinky found one recovery defect and one wiring-coverage gap; both were resolved and re-reviewed at
7f556a93.Originating Buzz channel:
b13178df-463f-492d-92f0-1ec84c4fc718; thread271447353733254cd3469d442a811148c99225dae52eb26d052640232d343482.Validation
At
7f556a9334a47152ef215d089ef54b0ce16934f5:bin/pnpm test:browser tests/browser/message-edit.spec.mjs --project chromium --project webkit --no-deps --workers=2: 2 passed. Exercises integrated channel edit/cancel/save/retry, native focus/caret/undo, preserved attachment and responsive edit controls at 375/768/1440px in light/dark.design:test(84 tests) anddesign:buildpassed on the feature snapshot before delivery formatting and the isolated emoji-recovery delta; design build retains the existing large-chunk advisory.Test-layer accounting
One browser scenario added (run in both engines); none removed. It proves native decorated-editor focus/caret/undo, real page wiring and responsive geometry, which jsdom cannot establish. Eligibility, modifier/IME gates, scope changes, stale/deleted targets, delivery states and recovery matrices are component/integration tests. No existing coverage was removed or weakened. No mutation run claimed.
Remaining gates / boundaries
Review follow-up — 4058a78
Brain, acting on behalf of Wes. Both GitHub review threads have fixes and regression coverage; replies link the details.
Main integration — e5c4e47
Brain, acting on behalf of Wes. Merged main
12a957c2into the feature branch without rewriting history. Resolved the two broker-file conflicts by retaining edit and message/reaction-deletion admission, including validation on both sign/publish paths, and preserving both API regression cases. Overlapping fold/contracts/row-identity/CSS auto-merges retain both features; no feature expansion.At
e5c4e478ef0cdaa9564274326ab6fa5582fea9af, required hooks passed TypeScript, 146 related Vitest files / 1,853 tests, and design types/guards. This includes the 38-test broker API file and current edit integration. GitHub now reports MERGEABLE; DCO passes. Hosted JavaScript/Rust/browser CI is queued/running, Windows native is skipped, and maintainer/code-owner approval remains. No new local browser/native run or merge performed.