José Almeida
4e393b2448
fix(layout): swap drag-mouse e2e for programmatic resize + claude/cr followups
...
Round 2 of PR review fixups:
- e2e: convert pane-resize-right/sidebar/edge-cases specs from
`page.mouse` drag-by-delta to a programmatic `splitview.resizeView()`
call. The mouse-drag approach was flaky in headless CI (5 chromium
failures across shards 2-4); the programmatic path tests the same
cap-enforcement and persistence contract without depending on
pointer-events targeting through a 1px .dv-sash overlay.
- dockview-layout-setup: remove an unreachable guard in
trackPinnedWidths — `rightIdx === 0 && sidebarVisible` cannot occur
given the `sv.length < 2` early return (Claude).
- dockview-layout-setup: cancel any in-flight debounce timer in the
setupLayoutPersistence disposer so a fire can't race with teardown
and persist stale layout (CodeRabbit).
- constants: document why LAYOUT_SIDEBAR_RATIO and LAYOUT_RIGHT_RATIO
are both 0.25 today — separate constants stay decoupled so a future
tweak to one doesn't silently change the other (Claude).
2026-05-22 01:56:14 +01:00
..
2026-05-17 20:16:15 +01:00
2026-05-17 20:16:15 +01:00
2026-05-21 09:24:34 +01:00
2026-04-27 10:22:58 +01:00
2026-05-21 23:22:31 +01:00
2026-05-03 16:15:28 +01:00
2026-05-17 20:16:15 +01:00
2026-05-18 23:08:14 +01:00
2026-05-17 20:16:15 +01:00
2026-05-19 19:14:21 +01:00
2026-05-21 09:24:34 +01:00
2026-05-03 16:15:28 +01:00
2026-05-21 09:24:34 +01:00
2026-04-24 17:14:03 +01:00
2026-05-14 21:26:09 +01:00
2026-05-21 09:24:34 +01:00
2026-05-18 22:04:31 +01:00
2026-05-05 09:03:42 +01:00
2026-05-01 21:02:41 +01:00
2026-05-22 01:56:14 +01:00
2026-04-17 23:12:45 +01:00
2026-05-02 20:26:42 +01:00
2026-02-19 22:18:01 +00:00
2026-05-01 13:24:12 +01:00
2026-05-16 20:07:57 +01:00
2026-05-08 16:32:06 +01:00
2026-05-08 16:32:06 +01:00
2026-02-19 22:18:01 +00:00
2026-02-24 00:48:55 +00:00
2026-03-07 18:55:03 +00:00
2026-04-25 23:53:43 +01:00
2026-02-19 22:18:01 +00:00
2026-04-15 13:22:32 +01:00
2026-05-12 01:10:22 +01:00
2026-04-27 22:50:08 +01:00
2026-02-19 22:18:01 +00:00
2026-04-01 23:29:49 +01:00
2026-05-12 18:54:14 +01:00
2026-05-01 15:18:18 +01:00
2026-05-01 15:18:18 +01:00
2026-05-10 19:44:56 +01:00
2026-05-18 23:08:14 +01:00
2026-05-11 13:33:18 +01:00
2026-05-21 22:58:14 +01:00
2026-05-05 14:13:43 +01:00
2026-05-11 17:51:26 +01:00
2026-05-11 17:51:26 +01:00
2026-05-05 14:13:43 +01:00
2026-05-21 22:58:14 +01:00
2026-05-05 14:13:43 +01:00
2026-05-17 20:16:15 +01:00
2026-05-11 13:33:18 +01:00
2026-02-19 22:18:01 +00:00
2026-05-01 15:18:18 +01:00
2026-05-19 19:14:21 +01:00
2026-05-10 19:44:56 +01:00
2026-02-19 22:18:01 +00:00
2026-03-29 15:33:40 +01:00
2026-03-05 00:47:58 +00:00
2026-04-20 22:31:09 +01:00
2026-04-20 13:44:24 +01:00
2026-02-19 22:18:01 +00:00
2026-02-19 22:18:01 +00:00
2026-04-16 10:14:45 +01:00
2026-05-03 22:45:52 +01:00
2026-05-03 22:45:52 +01:00
2026-05-14 21:26:09 +01:00
2026-05-01 21:02:41 +01:00
2026-05-16 20:07:57 +01:00
2026-05-19 22:04:28 +01:00
2026-05-14 21:26:09 +01:00
2026-05-14 21:26:09 +01:00
2026-05-14 21:26:09 +01:00
2026-05-14 21:26:09 +01:00
2026-04-25 23:53:43 +01:00
2026-05-16 20:07:57 +01:00
2026-05-03 16:15:28 +01:00
2026-05-12 01:10:22 +01:00
2026-05-02 20:26:42 +01:00
2026-05-05 22:05:01 +01:00
2026-05-12 01:10:22 +01:00
2026-05-02 20:26:42 +01:00
2026-05-14 21:26:09 +01:00
2026-05-17 20:16:15 +01:00
2026-05-03 16:15:28 +01:00
2026-05-11 22:58:54 +01:00
2026-05-14 21:26:09 +01:00
2026-05-14 21:26:09 +01:00
2026-05-16 20:07:57 +01:00
2026-05-12 01:10:22 +01:00
2026-05-02 20:26:42 +01:00
2026-05-18 22:04:31 +01:00
2026-05-12 01:10:22 +01:00
2026-05-12 01:10:22 +01:00
2026-05-01 21:02:41 +01:00
2026-05-17 20:16:15 +01:00
2026-05-12 01:10:22 +01:00
2026-05-19 22:04:28 +01:00
2026-05-19 22:04:28 +01:00
2026-05-01 18:01:17 +01:00
2026-02-19 22:18:01 +00:00
2026-02-19 22:18:01 +00:00
2026-03-05 00:47:58 +00:00
2026-05-02 20:26:42 +01:00
2026-05-02 20:26:42 +01:00
2026-05-12 18:54:14 +01:00
2026-02-19 22:18:01 +00:00