Skip to content

Floating diagram mode: implement variable-width reflow and scroll-safe rendering #34

Open

Description

@1jehuang

Split from #3.\n\nImplement the rendering behavior for floating diagrams where chat text reflows around a right-anchored diagram.\n\n## Scope\n- support per-line wrap widths for rows overlapping the floating diagram\n- render text above/below at full width\n- keep left-side-only reflow beside the diagram\n- make scroll/caching logic stable and test-covered\n\n## Success criteria\n- diagram floats on the right and remains vertically centered in viewport\n- rows overlapping the diagram use narrower wrap width on the left side only\n- rows outside overlap use full width\n- scrolling does not produce unstable line counts or visual glitches\n- cache invalidation includes scroll/diagram-relative state where needed\n- visual or automated tests cover representative overlap/scroll cases\n\nBlocked by: #33\nParent: #3

Activity

  1. added
    enhancement
    priority: low
    triage: needs-decision
    on May 31, 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

    enhancementpriority: lowtriage: needs-decision

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions