Files
ELY-Browser/crates/ely_browser_core/tests
ZacharyZhang-NY 3108f3265b Add translucency setting + apply to runtime panel alpha
Domain:
- AppearanceSettings gains translucency_pct (u8, 0..=100, default 40)
  with a clamping setter and serde round-trip coverage.
- DEFAULT_TRANSLUCENCY_PCT and MAX_TRANSLUCENCY_PCT exported for the
  shell.

Core:
- BrowserCore::set_translucency_pct delegates to the appearance struct;
  the existing reset_appearance covers the reset path.
- Integration test covers persistence into snapshot.appearance.

Render:
- chrome::sidebar::panel_bg(snapshot) replaces the static PANEL_BG
  constant, mapping the user's translucency_pct linearly into the alpha
  byte 0xff..0xb3. Sidebar (expanded + compact) and main pane consume
  the helper so changing the setting at runtime updates every glass
  surface in lock-step.

Form:
- Translucency row in chrome::appearance_form mirrors the design's
  static track + thumb visual driven by the persisted percentage, plus
  three preset chips (Solid 0 / Default 40 / Glassy 75) that mutate the
  setting through shell.set_translucency_pct.

Strict UX rule preserved: alpha never drops below 0xb3 so panels stay
readable without backdrop blur (which GPUI 0.2.2 doesn't expose).
2026-05-09 19:39:11 -04:00
..
2026-05-08 01:36:56 -04:00
2026-05-09 12:54:24 -04:00
2026-05-08 05:58:05 -04:00
2026-05-08 06:59:03 -04:00
2026-05-09 00:44:15 -04:00
2026-05-09 00:31:40 -04:00
2026-05-09 11:38:45 -04:00
2026-05-08 08:11:49 -04:00
2026-05-08 07:55:15 -04:00
2026-05-08 06:53:31 -04:00
2026-05-08 10:57:57 -04:00
2026-05-08 05:53:02 -04:00
2026-05-09 00:16:12 -04:00
2026-05-08 10:23:58 -04:00
2026-05-09 03:58:11 -04:00
2026-05-09 12:32:44 -04:00