Files
dsh-context/tests
Bowen Liang 92e50e9376 fix(context): address Copilot review findings (#169)
- pass the active locale into the /context modal's browser so memoized step
  labels re-translate while the dialog stays open;
- re-run the height-cap measurement and its ResizeObserver after the hidden
  sidebar copy remounts;
- restore DNA band hover reveal for off-window rows: keyed rows, key→index
  map, scroll the window into place, then reveal after the commit;
- only window the file list when every row measures the same height: real
  long-path wrapping made the fixed-pitch spacers too short (scroll jumps);
- re-clamp the chart tip when a different DNA band changes its width;
- keep a tiny DNA bar's colour instead of emitting an empty gradient.

Tests cover the off-window band reveal, the mixed-height file-list fallback,
and the sub-pixel DNA bar.
2026-10-19 08:01:49 +08:00
..