Files
ELY-Browser/crates/ely_app/src/shell
ZacharyZhang-NY 85d1e09916 Add a draggable sidebar resize handle
User reports the sidebar can't be resized. Until now sidebar width
was only mutable through the COLLAPSED/DEFAULT toggle and through
typed settings. Real browsers (Arc, Dia, Zen) all let you drag the
right edge of the sidebar to size it live.

Wire it through the existing space.sidebar_width_px:

* `ElyShell.sidebar_resize_origin: Option<(f32, u16)>` records the
  cursor-x and width-px at the moment the handle is grabbed.
* `begin_sidebar_resize` / `end_sidebar_resize` set and clear it.
* Window-level `on_mouse_move` consults the origin first; while held,
  it forwards the delta to `set_active_sidebar_width` clamped to
  220–480 px so you can't accidentally annihilate either pane.
* Window-level `on_mouse_up` releases the drag.
* The handle itself is a 6 px transparent strip pinned to the right
  edge of the expanded sidebar, `cursor_col_resize`, with a soft white
  hover. mouse-down captures the origin; the rest is window events.

cargo test --workspace: 440 passed, 0 failed.
2026-05-09 21:16:23 -04:00
..
2026-05-08 06:14:31 -04:00
2026-05-08 12:43:38 -04:00
2026-05-09 21:16:23 -04:00
2026-05-08 06:59:03 -04:00
2026-05-09 00:44:15 -04:00
2026-05-08 06:29:16 -04:00
2026-05-08 23:22:55 -04:00
2026-05-08 07:24:01 -04:00
2026-05-08 10:23:58 -04:00
2026-05-09 16:27:40 -04:00
2026-05-09 16:27:40 -04:00
2026-05-09 16:27:40 -04:00
2026-05-09 16:27:40 -04:00
2026-05-09 16:27:40 -04:00