Files
vscode/build/lib
432a7e8606 sessions: Fix dock rail dots, flyout placement and hover flicker (#327705)
* sessions: Fix dock rail dots, flyout placement and hover flicker

The dock variant of the prompt timeline had four issues:

- The resting dots never reflected scroll position. The rail already
  received the active prompt on every scroll, but only the flyout rows
  were styled; the dot for the current prompt now takes the accent.
- Dots were capped at the first 50 prompts, so in longer sessions the
  current prompt often had no dot at all. They are now evenly sampled
  across the session, so every dot maps to a real prompt.
- The flyout was placed on top of the dots, which forced the handle to
  fade out on reveal. It now opens to the right of the dots, so they
  stay visible and interactive while it is open.
- Approaching the handle from the left flickered: hover nudged it 1px
  out from under the pointer, the handle then went pointer-transparent
  while the panel slid right across it, and the collapse was instant.
  The nudge and the slide are gone and the collapse is debounced.

Hovering an individual dot now previews its prompt, highlighting the
row and scrolling it into view within the flyout.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* sessions: Address review feedback on the dock rail

- Reduced motion now keys off the workbench-managed .monaco-reduce-motion
  class instead of the prefers-reduced-motion media query. The query only
  reflects the OS preference, so it diverged from the effective
  workbench.reduceMotion setting in both directions when that setting was
  forced on or off. Converted every block in the file, not just the new
  one, so the stylesheet uses a single mechanism.

- Dropped the 150ms collapse debounce. It was masking a gap that placing
  the flyout at the handle's right edge had already closed, and it made
  collapse timing-dependent. The handle and flyout are now laid out flush
  via shared vars, so they are one contiguous hover region and a leave
  detected from relatedTarget is always a real leave.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-27 21:50:31 +00:00
..
2026-06-23 07:22:42 +00:00
2026-07-14 12:34:04 +02:00