fix(playground): improve Compare response scrolling and copy actions - #13317
Conversation
|
Thanks for this — the copy-to-clipboard addition on individual Compare columns is a nice, |
74c12f6 to
6a18966
Compare
|
Done — I rebased the branch onto the latest release/v3.8.51 and removed the already-merged scrolling and Vitest configuration changes. The diff is now limited to the per-column copy action and its unit tests. Thanks for the guidance! |
Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
|
Thanks @ventulus95 — merging via the release merge-train. Validated in local merge-train (merge-train-20260918-120911-suite.log) on the devbox @ train tip 8c305709478b7052fb981a75852bbf88fe3a959d with the sibling PRs of this batch: typecheck:core, file-size, complexity, cognitive-complexity, changelog-integrity green; changed-area node:test 310/311 (the single red, hard-lease inventory, reproduces on the pure release tip) + vitest green (fast parity mode — full suite ran today on the tip via the base-red and 3b trains). Merged --admin per merge-gates §4/§7. |
…iegosouzapw#13317) * feat(playground): copy individual compare responses * docs(changelog): add fragment for Compare column copy-to-clipboard Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com> --------- Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
Summary
Root cause
The response body already used
overflow-y-auto, but its grid/flex ancestors did not consistently allow shrinking. Withoutmin-h-0through the height chain and a bounded grid row, the response content expanded the panel instead of producing an internal scroll area.Before the fix, browser measurements showed
clientHeight === scrollHeight === 4308for long output even though computed overflow wasauto.Validation
npm run lint: passed with only the existing suppression noticenpm run typecheck:core: passedgit diff --check: passedFixes #13316