Files
iptvnator/apps/web
4grayandClaude Fable 5 ba69d4b75d feat(search): collapse language/quality variants in global search
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>
2026-07-19 20:03:39 +02:00
..
2025-10-07 18:02:13 +02:00