Skip to content

Anchor chat timeline bottom line on pane width change (minimal redesign) #307

Backlog

Description

@orbitingflea

Goal

When opening, closing, or dragging a side panel changes the chat timeline's width, keep the bottom visible line anchored so rewrapped message text expands upward rather than pushing downward. Today's timeline anchors the top visible line instead.

Context & Prior Attempts (Deferred)

Two earlier implementation attempts were stopped after hitting review complexity limits. Chasing sub-pixel (<= 1 px) bottom-edge character anchoring collided with the composer, working indicator, footer, end-of-list threshold, and live streaming, growing to 863 production lines across 8 interleaved subsystems while still unable to eliminate LegendList's 1-frame shrink flicker.

Suggested Future Direction

Do not build on the earlier sub-pixel approach. When revisiting this later:

  1. Keep the timeline on the current top-anchor behavior until a minimal design is ready (and consider whether upstream #41184's preserveReadingPosition.ts can simplify the current reader-line helper).
  2. If upward rewrap on width change is still wanted, design a minimal single-mark bottom anchor (~160–200 lines) with zero edits to ChatView.tsx, accepting ~1 line (20–28 px) of tolerance rather than sub-pixel character tracking.

Status: Deferred — do not start without explicit sign-off.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions