Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web): keep workspace options when expanding lineage #16635

Mergedmaria-rcksmerged 1 commit intomain fromrefs/pull/16635/headmerged by maria-rcks View on GitHub

maria-rckscommented

Note

Written by gpt-6.1-sol on behalf of Maria

Expanding "Previous agents" or clicking "Show 12 more" could switch the workspace card to compact mode, hiding lineage, the workspace selector, and git actions. Exclude lineage from density fitting while retaining its rendered height for preview placement, so expanded rows use the existing scroll areas.

Verified the failure and fix in the real web client with 34 copied agent records at 1280 × 630, including paging to the final row and opening a child thread. The 900 × 630 popover also preserves options after expansion in light and dark themes. Blacksmith: 41 focused tests, targeted lint, and web typecheck passed. Both independent reviewers approved dafe88b4f07b269d0e81f380e0bb2269d3abb853. Desktop shares the web component; native mobile and provider behavior are unaffected. Expanded lineage with preview drag/resize was not exercised in the app; existing canvas/layout checks passed.

Before clicking "Show 12 more", lineage was expanded. Clicking it removed the section and workspace actions:

before: show more hides lineage and workspace actions

before: expanding and paging lineage collapses the workspace card

After the same click, the card retains workspace actions and the expanded lineage list:

after: lineage expands while workspace actions remain visible

after: expanding and paging lineage preserves the workspace card

Model: gpt-6.1-sol; harness: Codex in T3 Code.

    1. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted

    2. Approvability

      Verdict: Approved at dafe88b

      Macroscope's review found this PR approvable — This is a small, contained web UI bug fix that adjusts thread-card height measurement so expanding lineage preserves workspace controls. It introduces no schema, infrastructure, security-sensitive, default, or static-analysis changes.

      You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).
    3. coderabbitai[bot](GitHub profile, opens in a new tab)commented
      Review in Change Stack →

      No actionable comments were generated in the recent review. 🎉

      ℹ️ Recent review info
      ⚙️ Run configuration
      • Configuration used: Path: .coderabbit.config.ts
      • Review profile: CHILL
      • Plan: Advanced
      • Run ID: 8563392c-72eb-4360-a7c8-5961e93b500a
      📥 Commits

      Reviewing files that changed from the base of the PR and between ab28039ef77ca8847c6bfe845c3502ff7e348c30 and dafe88b4f07b269d0e81f380e0bb2269d3abb853.

      📒 Files selected for processing (1)
      • apps/web/src/components/chat/ThreadDetailsCard.tsx

      Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.


      📝 Walkthrough

      Walkthrough

      ThreadDetailsCard now separates the height used for density decisions from the full-content height used for inline card-bottom reporting.

      Changes

      Thread details card height measurement

      Layer / File(s)Summary
      Separate density and full-content heights
      apps/web/src/components/chat/ThreadDetailsCard.tsx
      Density measurements exclude the relationships panel’s height. When density is full, the card stores the unadjusted content height separately and uses it for keyed inline card-bottom reporting.

      Priority: ⬇️ Low

      Estimated code review effort: 2 (Simple) | ~10 minutes

      Change: Bug fix

      Suggested reviewers: t3dotgg

      Merge Risk: ⚪ Minimal · up to dafe8

      The change separates density fitting from the full-card placement bound while preserving the existing layout behavior. The checked placement concern was refuted; no merge-blocking risk is established.

      🚥 Pre-merge checks | ✅ 4
      ✅ Passed checks (4 passed)
      Check nameStatusExplanation
      Linked Issues check✅ PassedCheck skipped because no linked issues were found for this pull request.
      Out of Scope Changes check✅ PassedCheck skipped because no linked issues were found for this pull request.
      Title check✅ PassedThe title clearly summarizes the main change: keeping workspace options visible when lineage expands.
      Description check✅ PassedThe description explains the problem and change, reports focused verification results, includes before-and-after UI evidence, and notes an untested interaction. It also reports reviewer approval, thou…
      ✨ Finishing Touches
      🧪 Generate unit tests (beta)
      • Create a new PR
      • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

      Comment `@coderabbitai help` to get the list of available commands.
    4. maria-rcks merged this847c53d

    5. maria-rcks closed this

Sign in to join this conversation.