mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-11 02:46:16 -08:00
Global search for a popular title returns dozens of near-duplicate
cards — one per language/quality/provider tag ("DE| The Pitt",
"4K-TR - The Pitt (2025) (US)", "|ALB| The Pitt"). A new "Group similar
titles" toggle (default on, persisted) collapses variants sharing a
normalized title and content type into a single card with a "×N" badge.
- groupResultsByVariant() keys on normalizeTitleKeys(title).base + type
(from PR #1211), so a movie and a series with the same name never
merge; the collapsed card shows the cleanest member title
- clicking a multi-variant card expands it inline to reveal every
version (the raw titles show the language); clicking again collapses;
a single-variant group opens directly
- composes with the existing "group by playlist" toggle: variants
collapse within each playlist section, or globally in the flat list
- ContentCardComponent gains an optional countBadge input
- SEARCH_VIEW.GROUP_SIMILAR_TITLES added to all 18 locales
The version picker (choose language up front) stays a follow-up; this
change removes the visual flood without a new picker component.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>