Files
SnowLuma/packages
DrSmoothl 72e0d6bcca feat(webui): static note / link / account widgets (B2)
Three opt-in static widgets join the GRID_WIDGETS catalogue (hidden by default
— enabled from the layout editor), with content stored in block.config:

- 便签 (note): pre-wrap plain text, capped at 4000 chars (under the server's
  4096-byte config cap). No Markdown.
- 链接卡 (link): label + http(s)-only url (javascript:/data: rejected) + an
  icon from a curated lucide set; renders as a clickable card.
- 账号快捷卡 (account): a specified uin's avatar/nickname/online dot, with a
  datalist of connected accounts in the config form.

GridWidgetSpec gains `defaultVisible`, honored by defaultOverviewGrid/Mobile and
migrateOverviewBlocks; reconcileLayoutItems gains a `hiddenByDefault` set so the
mobile catalogue appends these hidden too. parse* validators keep config total
over corrupt input.
2026-06-16 14:28:56 +08:00
..
2026-06-15 13:57:38 +08:00
2026-06-15 13:57:38 +08:00
2026-06-15 13:57:38 +08:00
2026-06-15 13:57:38 +08:00
2026-06-15 13:57:38 +08:00
2026-06-15 13:57:38 +08:00