Repository navigation
Move or correct comments that name code and headings that are gone - #5938
Merged
Merged
Conversation
- composing/surface.js: the comment on what a plain click means sat above `fabAnchorAt`, two hundred lines from the click listener it describes, and named a `setPanel()` that no longer exists and a rule the file no longer carries. It now sits on the listener without those two references. Two comments with no code under them now sit on `selectionChanged` and the keyup listener they describe. - default/styles/board.css: the grip's ring comment cited the columns' old 10rem floor; the floor is `--lf-reading-column-floor`. - evals/correction-edits-the-standing-reply: threads.md has no "Correct a message" heading; the paragraph it scores is under "Progress messages". - tests/browser/test_render_navigation.py: the module docstring was copied from the journeys module of the same name and described tests that live there; it now describes this file's. A second `import pytest` at the file's end is gone. - tests/journeys/test_interact_product.py: a second import block repeated `pytest` and `ROOT`; its names join the top block. No behavior changes.
This was referenced Nov 14, 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.
This PR moves or corrects comments that point at code or headings that no longer exist, and drops two duplicate imports. Nothing changes behavior. The nightly survey found each one, and I checked each against the tree with grep.
browser/runtime/composing/surface.js: the block explaining what a plain click on the page means sat abovefabAnchorAt, about 200 lines from theclicklistener it describes. It named asetPanel()that exists nowhere inbrowser/, and cited "the rule this file already carries", which the file no longer has. The block now sits on the listener, without those two references. Two comments with no code under them now sit onselectionChangedand thekeyuplistener they describe.packages/default/styles/board.css: the grip ring's comment cited the columns' old 10rem floor. The floor is now--lf-reading-column-floor, as the file's header says.evals/correction-edits-the-standing-reply/case.yaml: pointed at a "Correct a message" heading thatskills/leaf/references/threads.mdhas never had. The paragraph the case scores is under "Progress messages".tests/browser/test_render_navigation.py: the module docstring was copied fromtests/journeys/test_render_navigation.pyand described tests that live there. It now describes this file's six tests. A secondimport pytestat the end of the file is gone.tests/journeys/test_interact_product.py: a second import block, left from joining two files, repeatedpytestandROOT. Its names now join the top block.Both test modules collect (60 tests). Prettier and ruff pass on the changed files.