ShareLinks: disable tag links, actually hide add-to-playlist/collection

The movie detail page's Tags section lives in its own .itemTags container,
not inside .detailsGroupItem like genres/studios/cast, so tag chips stayed
clickable for guests. Disable those links too.

The add-to-playlist and add-to-collection entries in the item's "..."
menu render with data-id="playlist"/data-id="addtocollection", not
data-action="addtoplaylist"/"addtocollection" as previously assumed —
that selector matched an unrelated list-row button and never hid the
actual menu items. Target the correct attribute so both are hidden.

Also drop the specific plugin name from the guest-hidden-selectors
description in favor of generic wording; the default selector value
is unchanged.
Cette révision appartient à :
Franciskid
2026-07-07 09:05:18 +02:00
Parent 1f7928527e
révision ceb3c03c87
5 fichiers modifiés avec 17 ajouts et 12 suppressions
+3 -2
Voir le fichier
@@ -45,8 +45,9 @@ public class PluginConfiguration : BasePluginConfiguration
/// <summary>
/// Gets or sets a comma-separated list of CSS selectors that are hidden from guest
/// sessions in the web client. Used to suppress other plugins' injected UI (search
/// bars, floating buttons) so a guest only sees the shared title. Defaults to the
/// AI Search plugin's elements.
/// bars, floating buttons) so a guest only sees the shared title. The default value
/// hides the elements of a plugin that injects its own floating button and panel
/// into the web client; edit or clear it to match whatever else you run.
/// </summary>
public string GuestHiddenSelectors { get; set; } = ".ais-fab,.ais-overlay,#ais-styles";
}