Skip to content

Configuration Effects (Visual) ​

This page documents the visual effect of each configuration switch: an off/on screenshot pair plus a transition GIF, regenerated by scripts/docs_gif.sh. It complements Client Settings with the before/after evidence and doubles as a configuration-effect regression gate (the pipeline fails if an off/on pair shows no pixel difference).

Every entry below is a switch whose flip has a visible effect. The off image is the state before the switch, the on image after, and the GIF is the transition (a crossfade between the two).

Theme (light / dark) ​

Where: Settings → General → 主题 (theme dropdown). Switching from light to dark restyles the whole client (chat window, lists, dialogs, and the settings panel itself). Off = light, on = dark.

off (light)on (dark)
theme offtheme on

theme transition

New-message popup ​

Where: Settings → 消息 → 新消息通知 (popup_message). Off = an incoming message only lands in the conversation (no popup); on = a desktop notification popup shows the sender and a summary.

offon
popup offpopup on

popup transition

Notification sound ​

Where: Settings → 消息 → 提示音 (sound_mode, three levels). Off = all sounds disabled (level 0); on = sounds played per event type (level 2).

offon
sound offsound on

sound transition

Do-not-disturb ​

Where: Settings → 消息 → 免打扰 (dnd). Off = notifications follow the normal per-level policy; on = during the DND time window, normal and important notifications are silenced (urgent still requires confirmation).

offon
dnd offdnd on

dnd transition

Subnet blacklist ​

Where: Settings → 高级 → 网段黑名单 (net_blacklist). Off = allow every subnet; on = a segment-table hit means the discovery packet gets no reply and a new inbound connection is dropped on the spot.

offon
blacklist offblacklist on

blacklist transition

Where: memex_server serve --uplink-port <port> (R23-4). Off = no external ingress face (the server only listens on the intranet); on = a separate one-way upload face (/uplink/*, no download/read of intranet data) is created and logged on startup.

offon
uplink offuplink on

uplink transition

Pipeline ​

scripts/docs_gif.sh is re-runnable and regenerates everything:

  1. Rebuilds test_settings_window and test_mode_switch.
  2. Re-runs them (the settings-window test block ⑨ emits the config-effect-* off/on PNGs; the mode-switch test emits the layout-chat-* theme pair).
  3. Asserts each off/on pair differs in pixels (compare -metric AE > 0) — a switch with no visible effect fails the pipeline (regression gate).
  4. Fuses each pair into a GIF with ffmpeg xfade (crossfade, palette-optimized).
  5. For the CLI switch, captures the real serve --uplink-port output and renders it into terminal-style frames (asciinema is not available in this environment; the frames are rendered from the real command output instead).

Artifacts land in docs/src/public/screenshots/ and docs/src/public/screenshots/gifs/.

Intranet office IM · Dual-engine clients · Traceability first