Repository navigation
Read an edited message once across panel and inline views - #1824
Merged
Merged
Conversation
leaf-agent
added a commit
that referenced
this pull request
Oct 6, 2026
Opening held thread news now releases that thread in every live view. The panel notice previously released only its own seat, leaving an inline copy of an edited agent message at its old text. This fixes the browser regression exposed by the shared-view assertion added in #1824. The [failed main run](https://github.com/max-sixty/leaf/actions/runs/37521493366) reported five browser failures. The two phone failures were addressed by #1923, and the hidden-tab test passes on current main. The growing comment-box failure still reproduces on main and is covered by the open #1784; this PR changes only the message-edit failure. Verification: the message-edit test failed before this change and passes after it on the current main base; two adjacent held-news cases and all 225 runtime tests also pass. The PR retains the existing local release for newly arriving threads beside the clicked notice. Co-authored-by: leaf-agent <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The edited-message browser test clicked “1 new reply” in the panel and then tried to click the same unread action in the inline view. Both views share the thread's unread state, so the first click removes the second action. Read the edit once in the panel and keep the existing assertions that the inline and panel message nodes, edited labels, and frozen widget all update correctly. The focused test passes.
Refs #1592. Other failures from the same default-branch run are being handled separately.