release: 0.66.0 — E5 Plex epic (scoped search, HU localization, toolbar/header)
Ships the E5 sprint stack (S1–S7): field-scoped Plex search + typeahead, cast & crew pages, the HU-overlay Hungarian metadata + language-aware serving, the IMDb/audience rating split, the toolbar relocation, and the narrow/mobile header fix — plus the underlying Plex-module refactors (feedquery/plex.cards/plex.query extraction, db.query→2.0 select). - VERSION 0.65.2 → 0.66.0 - releaseNotes.ts: 0.66.0 user-facing entry - prettier-format the E5-touched frontend files (release hygiene) Merged main (0.65.2 download-gc hotfix) in first; no code conflicts (E5 is Plex-only, the hotfix was notifications/downloads).
This commit is contained in:
@@ -4,13 +4,7 @@
|
||||
|
||||
export type PlexSearchField = "all" | "title" | "people" | "summary" | "episode";
|
||||
|
||||
const PLEX_SEARCH_FIELDS: PlexSearchField[] = [
|
||||
"all",
|
||||
"title",
|
||||
"people",
|
||||
"summary",
|
||||
"episode",
|
||||
];
|
||||
const PLEX_SEARCH_FIELDS: PlexSearchField[] = ["all", "title", "people", "summary", "episode"];
|
||||
|
||||
// i18n label key per scope (see plex.searchField.* in the locale files).
|
||||
export const plexFieldLabelKey = (f: PlexSearchField): string => `plex.searchField.${f}`;
|
||||
@@ -18,9 +12,7 @@ export const plexFieldLabelKey = (f: PlexSearchField): string => `plex.searchFie
|
||||
// Episodes only exist under show libraries, so the Episode scope is offered only when shows are in
|
||||
// scope (show | both) — mirroring the backend, which returns nothing for episode+movie-only.
|
||||
export function availablePlexFields(scope: string): PlexSearchField[] {
|
||||
return scope === "movie"
|
||||
? PLEX_SEARCH_FIELDS.filter((f) => f !== "episode")
|
||||
: PLEX_SEARCH_FIELDS;
|
||||
return scope === "movie" ? PLEX_SEARCH_FIELDS.filter((f) => f !== "episode") : PLEX_SEARCH_FIELDS;
|
||||
}
|
||||
|
||||
// Heal a stored/selected field against the current scope: a movie-only scope can't hold Episode, so
|
||||
|
||||
Reference in New Issue
Block a user