Panes: a covered pane peeks only with Shift or Control held, and a column is laid out again after a click on a peeking pane

A plain hover no longer peeks, so text being read does not jump and an
edge stays put to be dragged. A click on a peeking pane laid its column
out while the peek skewed the measurements; it is laid out again once
the pane is back, so the active pane takes its full height.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
This commit is contained in:
thalladaandClaude Fable 5.2 committed 2026-11-18 17:44:57 -05:00
1 parent 9dec4df1fd
commit 3f89c3cd2c
9 files changed
+302 -36

No files matched your search

+3
View File
@@ -65,6 +65,8 @@ test("peeking in a busy forest: every other curve leaves the peeking pane's plac
}),
);
expect(cut.length).toBeGreaterThan(1);
// Shift held, as the mouse comes onto each.
await page.keyboard.down("Shift");
for (const c of cut) {
await page.mouse.move(c.x, c.y);
await expect(page.locator(`.pane[data-tid="${c.tid}"]`)).toHaveAttribute("data-peek", "");
@@ -76,6 +78,7 @@ test("peeking in a busy forest: every other curve leaves the peeking pane's plac
await expect(page.locator(`.pane[data-tid="${c.tid}"]`)).not.toHaveAttribute("data-peek", "");
await noFaults(page, `after ${c.tid}`);
}
await page.keyboard.up("Shift");
});
test("a pane's title and its tab never show together, and the curve lands in whichever shows, as a crowded column scrolls through its panes", async ({ page }) => {