Repository navigation
Conversation
The pane and the dialog were opened with holdToasts, which holds every toast while the pane is shown: other plugins' and the app's own, as this plugin's. Nothing in the mod relies on the hold, and a toast no longer lands between the pane and the prompt, so the option goes from both opens.
An open the engine answers no-surface (nothing is attached that draws it yet, as before a host's page attaches) was withdrawn like one left waiting for width, so the pane was lost. It is kept: /diff says so, nothing polls or refreshes while no one sees the pane, and its first drawing reads the repository again and counts it shown.
poteat
enabled auto-merge (squash)
October 3, 2026 04:17
This was referenced Oct 3, 2026
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.
Summary
Stacked on #99118: its one commit shows here until that merges.
Notes
Where nothing is attached that draws a pane yet (a host whose page has not attached), the engine answers an open
isPlaced: falsewith a reason that startsno-surface. The mod read every unplaced open as one left waiting for width and withdrew it, so the pane was lost: it never showed once the page attached.no-surface/diffanswers "Nothing here can draw the diff panel yet; it opens as soon as something can"Test Plan
claude plugin test mods/diffpasses: 215 pass, 0 fail/difftyped where nothing draws yet: the pane is kept, HEAD is read once and not polled, nothing is counted shown; the first drawing has what the open read, reads again, and counts it/diffagain closes it, as an open paneChangelog
Fixed the
/diffpane being lost when/diffran before the page that draws it had attached