Files
SnowLuma/packages
DrSmoothl 3258300539 feat(webui): per-widget config — alerts levels/count, sessions sort/filter (phase 5)
Overview widgets can carry an opaque `config` (stored per grid item). v1:
- alerts: how many entries + which log levels (was fixed at 5 warn/error);
  the alert row colour now uses the full 6-level palette instead of a
  warn/error binary.
- sessions: sort (recent / uin / nickname) + a nickname/uin filter.

A gear in the layout editor opens an inline config form per configurable
widget; edits apply live (no grid re-init — config isn't in the grid key) and
persist via the section-merge save. Config is parsed client-side with total,
clamping parsers (count 1-50, known levels only, filter <=100 chars); the
server stores it opaquely within a 4KB bound. Widgets with no config render
exactly as before. Verified across 2 adversarial review rounds.
2026-06-13 21:17:23 +08:00
..
2026-06-11 16:42:23 +08:00
2026-06-11 16:42:23 +08:00
2026-06-11 16:42:23 +08:00
2026-06-11 16:42:23 +08:00
2026-06-11 16:42:23 +08:00
2026-06-11 16:42:23 +08:00
2026-06-11 16:42:23 +08:00
2026-06-11 16:42:23 +08:00
2026-06-11 16:42:23 +08:00