Skip to content

Thread details card hides Automations when a thread has many bound automations #28580

Closed

Description

@cyppe

Version: 0.1.7-nightly.20261101.4016 (commit 7195b699547b), Linux desktop (Wayland). Also present in 0.1.6-nightly.20261030.3904.

Repro

  1. Bind about 25 scheduled tasks to one thread (for example schedule_task with bindToCurrentThread: true, or create them from that thread).
  2. Open that thread with the right-side thread details card inline, in a normal-height window (about 1,400 px).

Expected

The Automations section is shown, with a height-limited, scrolling list.

Actual

The card falls back to the compact layout and shows only "Open in", project scripts, Branch and Changes. Environment, Servers, Automations and Lineage all disappear, so it looks as if the thread has no automations. Zooming the app out (Ctrl+−) until the full card fits brings them back.

Cause (from reading the source)

  • ThreadDetailsCard.tsx:81-87 leaves the PR list, lineage and side-chats lists out of the height measurement, but not [data-thread-automations-panel].
  • That list (ThreadAutomationsPanel.tsx:157) has no max height and doesn't scroll. Each row is about 44 px, so 25+ rows alone are taller than the window.
  • resolveThreadDetailsCardDensity (threadDetailsCardLayout.ts:12) then measures the full content as taller than the window and picks compact.
  • ThreadDetailsPanel.tsx:245 renders Automations only in the full layout.

The section that makes the card too tall is the one that gets hidden.

Suggested fix

Give the automations list a bounded, scrolling container, like the PR list, and add its selector to the left-out lists in ThreadDetailsCard.tsx. Optionally, show a count with a "show all" link to Settings → Scheduled tasks when the list is long.

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