feat(torrents): launched state, year-scoped Toloka search, stacked modal backdrops

- replace pin-to-top with persistent launched-once state (filled play/cast icons)
- move download/vlc actions into a more-options dropdown when cast is available
- scope Toloka search query by show year (no IMDB filter on the tracker)
- strip session sid from Toloka download hrefs so cached magnets stay valid
- restore row hover, subtle row borders, taller rows; drop table rounding
- stacked modal backdrops: :has(~ [data-overlay]) instead of :not(:last-of-type)
- only count search in analytics after the query has settled (1s debounce)
This commit is contained in:
ner committed 2026-09-13 14:06:27 +03:00
1 parent 66776c582f
commit c52d798221
12 files changed
+194 -107

No files matched your search

+3 -1
View File
@@ -49,7 +49,9 @@ export const getMagnetHash = (link: string) => {
};
export const torrentKey = (torrent: Torrent) =>
torrent.download || getMagnetHash(torrent.magnet) || torrent.hash || torrent.id;
torrent.download
? torrent.download.replace(/[?&]sid=[^&]*/, '')
: getMagnetHash(torrent.magnet) || torrent.hash || torrent.id;
export const parseSeasonEpisode = (value?: string): { season?: number; episode?: number } => {
const [, season, episode] =