github ZL154/AchievementBadges_for_Jellyfin v1.7.10
v1.7.10 - showcase race fix + admin force-hide propagation + SVG specifics

latest releases: v2.4.0, v2.3.1, v2.3.0...
5 months ago

What's fixed

🏆 Showcase toggle clunky hide

Flipping "Show equipped showcase" OFF sometimes kept showing the pills until a hard refresh. Root cause was a race: the ab:showcase-pref-changed broadcast fired BEFORE the preference POST had landed on disk, and sidebar.js was responding by re-fetching /preferences which returned the OLD true state.

Fix: sidebar.js now reads detail.show directly from the event payload and applies it without a server round-trip. DOM gets removed instantly.

🔒 Admin force-hide propagation

When the admin toggled ForceHideEquippedShowcase in Feature Controls, it didn't affect any other user's open session until they manually refreshed — the admin has no way to broadcast across tabs.

Fix: sidebar.js now periodically re-resolves (every 60 seconds) by re-fetching public-config + user prefs. Admin-side changes propagate to every open client within a minute without anyone having to reload.

🎨 SVG upload

Two fixes stacked:

  1. Specific error messageSvgWarning now includes the actual sanitizer reason (disallowed element, malformed XML, > 100 KB, etc.) instead of a generic "rejected" so you know exactly what to fix.
  2. <use> allowed for same-document refs — blanket-blocking <use> was rejecting many legitimate icon SVGs that reference internal <symbol> definitions. Now allowed if href / xlink:href is a same-document anchor (#id). External URIs still blocked.

📘 README

  • Expanded the Friends section with the privacy toggles (appear offline, hide now playing), Jellyfin avatar support, relaxed online check (15-minute LastActivity grace window so casual browsing counts as online), and compact request rows
  • Version badge bumped to 1.7.10

MD5: DBC5453481D4E417485F790EB2FC6895

Don't miss a new AchievementBadges_for_Jellyfin release

NewReleases is sending notifications on new releases.