Skip to content

Draw the margin's annotations once per thread pass #4076

Closed

Description

@max-sixty

Draw the margin's annotations once per thread pass. They draw from their own watcher, which waits only for the projection's chrome, and again when the thread presentation commits (untracked(renderAnnotations), thread/presentation.js): 22 ms of applying a comment's answer, profiled. Making the watcher wait for the thread region drew the margin once (11 ms) but broke reply continuity (continueReplies, thread/focus.js, which expects the margin's cards drawn; seven cases in tests/browser/threads/test_seated_threads.py), and a held thread pass would withhold every margin paint. A fix needs continuity to wait for the margin's paint and the margin to stop depending on the thread region committing.


Migrated from TODO.md, Etc › Implementation candidates: item 27 of 40 in Etc, in the order TODO.md listed them.

Activity

  1. added
    backlog
    etc
    on Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogetc

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions