mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-18 08:36:13 +00:00
Fourth piece of #591 — the "minimal and future-proof at once" move from the design doc: no new notice UI, just one new entry in the #419 announcements list, which is already rendered in both the admin UI and the player and already has per-ID dismissal. Added Announcement.MessageFunc/DismissKeyFunc (nil = use the static Message/ID, as before, so the existing #419 entry is unaffected) since this entry's text names a specific version and its dismissal must be per-version — dismissing the notice for v1.2.0 must not suppress a later notice for v1.3.0. HandleListAnnouncements/HandleDismissAnnouncement now compute the effective key through Announcement.dismissKey(s) rather than reading the static ID field directly. Refs #591