Skip to content

Add per-channel visibility checkbox (temporary on/off) #66

@yulewu

Description

@yulewu

Feature request

In the channel controls, add an on/off checkbox next to each displayed channel to temporarily hide/show that channel without removing it from the current channel selection.

Motivation / problem

UELer’s UI includes a “Channel Selection” workflow (with multi-select behavior, e.g., holding Shift) that determines which channels are shown. Users often need to quickly toggle a single channel off (e.g., to check bleed-through, verify colocalization, or compare overlays) and then toggle it back on, without losing the current multi-channel selection state.

Proposed behavior (UX)

  • In the channel list/panel, render a checkbox per channel row:
    • Checked = channel is visible in the viewer (and any linked visualizations that use the current displayed channels).
    • Unchecked = channel is temporarily hidden, but remains selected (so it can be re-enabled with one click).
  • Toggling should be fast and not require re-selecting channels.
  • The toggle state can be session-scoped by default (no persistence required unless easy to support).

Acceptance criteria

  • Each displayed channel has an on/off checkbox next to it in the channel controls.
  • Unchecking a channel removes it from the rendered composite/overlay immediately (or on next redraw) without altering the underlying “selected channels” set.
  • Re-checking restores the channel with its previous color/range settings.
  • Behavior works when many channels are selected (typical MIBI panel sizes).
  • No regression to marker set loading / channel palette behavior.

Validation steps

  1. Launch the viewer via /script/run_ueler.ipynb.
  2. Select multiple channels.
  3. Toggle one channel off and confirm it disappears from the viewer while the selection remains intact.
  4. Toggle it back on and confirm previous rendering settings are preserved.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions