feat(feed): Show chips in the toolbar + key+direction sort
1) Move the Show view filter (Unwatched/In progress/All/Watched/Hidden) up into the toolbar chip row as its own single-select group, divided from the content-type chips; removed the 'show' sidebar widget (sidebar now = Upload date / Language / Topic). 2) Rework ordering like the Playlists page: a sort-key dropdown (Date, Popular, Duration, Name, Channel subscribers, Channel priority, Surprise me) + a single asc/desc arrow toggle, instead of separate directional entries. 'Most viewed' is now 'Popular'. Backend gains the missing directions (views_asc, title_desc, subscribers_asc, priority_asc); the frontend maps (key, dir) -> the backend sort string, so FeedFilters is unchanged. Trilingual (feed.sortKey.*, feed.dirAsc/dirDesc). Feed.tsx normalized to LF.
This commit is contained in:
parent
a44bdf7fdc
commit
4921a95d09
7 changed files with 115 additions and 46 deletions
|
|
@ -9,6 +9,17 @@
|
|||
"videoCount_one": "{{formattedCount}} Video",
|
||||
"videoCount_other": "{{formattedCount}} Videos",
|
||||
"sortLabel": "Sortierung",
|
||||
"dirAsc": "Aufsteigend",
|
||||
"dirDesc": "Absteigend",
|
||||
"sortKey": {
|
||||
"date": "Datum",
|
||||
"popular": "Beliebt",
|
||||
"duration": "Dauer",
|
||||
"title": "Name",
|
||||
"subscribers": "Kanal-Abonnenten",
|
||||
"priority": "Kanal-Priorität",
|
||||
"shuffle": "Überraschung"
|
||||
},
|
||||
"loadingMore": "Mehr wird geladen…",
|
||||
"hiddenNamed": "Ausgeblendet: „{{title}}”",
|
||||
"hidden": "Video ausgeblendet",
|
||||
|
|
|
|||
|
|
@ -9,6 +9,17 @@
|
|||
"videoCount_one": "{{formattedCount}} video",
|
||||
"videoCount_other": "{{formattedCount}} videos",
|
||||
"sortLabel": "Sort",
|
||||
"dirAsc": "Ascending",
|
||||
"dirDesc": "Descending",
|
||||
"sortKey": {
|
||||
"date": "Date",
|
||||
"popular": "Popular",
|
||||
"duration": "Duration",
|
||||
"title": "Name",
|
||||
"subscribers": "Channel subscribers",
|
||||
"priority": "Channel priority",
|
||||
"shuffle": "Surprise me"
|
||||
},
|
||||
"loadingMore": "Loading more…",
|
||||
"hiddenNamed": "Hidden “{{title}}”",
|
||||
"hidden": "Video hidden",
|
||||
|
|
|
|||
|
|
@ -9,6 +9,17 @@
|
|||
"videoCount_one": "{{formattedCount}} videó",
|
||||
"videoCount_other": "{{formattedCount}} videó",
|
||||
"sortLabel": "Rendezés",
|
||||
"dirAsc": "Növekvő",
|
||||
"dirDesc": "Csökkenő",
|
||||
"sortKey": {
|
||||
"date": "Dátum",
|
||||
"popular": "Népszerű",
|
||||
"duration": "Hossz",
|
||||
"title": "Név",
|
||||
"subscribers": "Csatorna feliratkozók",
|
||||
"priority": "Csatorna prioritás",
|
||||
"shuffle": "Meglepetés"
|
||||
},
|
||||
"loadingMore": "Továbbiak betöltése…",
|
||||
"hiddenNamed": "Elrejtve: „{{title}}”",
|
||||
"hidden": "Videó elrejtve",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue