From 3b5ce24acb65f7ff402453894c3e30cdafd6dc19 Mon Sep 17 00:00:00 2001 From: Koosha Paridehpour <42529354+KooshaPari@users.noreply.github.com> Date: Mon, 14 Sep 2026 20:07:50 -0700 Subject: [PATCH] fix(playground): allow Compare columns to scroll independently (#13532) Playground Compare columns scroll independently. Each column root is a bounded flex column (`min-h-0 overflow-hidden`), and the grid clips only horizontally (`overflow-x-hidden min-h-0`), so a long answer in one column no longer drags the whole comparison (#13316). Maintainer addition: `tests/unit/playground-compare-column-scroll-13316.test.ts`, a source-level guard in the same style as the other layout guards, pins both class sets (fails on the release tip). Validated in one consolidated batch of this series (37 PRs boarded together on `release/v3.8.51`): `typecheck:core`, `check:open-sse-typecheck` and `check:dashboard-typecheck` clean; ESLint clean on every changed file; file-size, complexity, cognitive-complexity, changelog-integrity, docs-counts, docs-sync and migration-numbering gates green (only the pre-existing `open-sse/utils/stream.ts` file-size red remains, inherited from the base); 3,743 focused `node:test` cases plus 34 vitest cases green. Thanks @KooshaPari! --- .../playground/components/CompareColumn.tsx | 2 +- .../playground/components/tabs/CompareTab.tsx | 2 +- ...ground-compare-column-scroll-13316.test.ts | 35 +++++++++++++++++++ 3 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 tests/unit/playground-compare-column-scroll-13316.test.ts diff --git a/src/app/(dashboard)/dashboard/playground/components/CompareColumn.tsx b/src/app/(dashboard)/dashboard/playground/components/CompareColumn.tsx index 4b4923356a..4b4950f843 100644 --- a/src/app/(dashboard)/dashboard/playground/components/CompareColumn.tsx +++ b/src/app/(dashboard)/dashboard/playground/components/CompareColumn.tsx @@ -33,7 +33,7 @@ export default function CompareColumn({ column, onCancel, onRemove }: CompareCol const { id, model, status, metrics, response, errorMessage } = column; return ( -