Commit Graph
48 Commits
Author SHA1 Message Date
nerandClaude Opus 5 d67a0d4df6 feat(analytics): self-hosted openpanel with a typed event catalogue
Replaces Vercel Analytics with OpenPanel, driven entirely by env vars so the
whole layer is inert until NEXT_PUBLIC_OPENPANEL_CLIENT_ID is set.

Zero initial load cost. next/script emits a rel=preload even on lazyOnload,
which pulls the sdk during the first paint, so the component skips it: it
inlines the 416 byte official stub (window.op queues calls immediately) and
appends the real script itself on window load plus requestIdleCallback. The
built html carries no preload and no script src for the analytics host.

Events live in one typed catalogue (lib/analytics/events.ts) and track() is
keyed to it, so a wrong name or payload is a type error rather than a silent
bad row. Emitters sit in the hooks that already own the behaviour instead of
being sprinkled through components:

- useShowState covers every favourite and watchlist toggle
- useInfiniteList covers pagination for all six lists
- useTorrents covers all three providers
- Preview, Person and useSearch use a shared useTrackOnce hook

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 12:08:16 +03:00
nerandClaude Fable 5 8b56268430 refactor(preview): restore in-place modal, keep crawlable links
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-07 16:48:11 +03:00
nerandClaude Fable 5 25a5d535a4 feat(seo): crawlable show links, intercepted preview modal, real 404s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-07 16:33:59 +03:00
ner cd3fabc0d8 feat: customer's torrent streamer can be set 2025-08-14 14:29:30 +03:00
ner 3615d5538d fix: titles 2024-11-19 14:44:17 +02:00
ner bbae7abaf5 fix: auth retry 2024-11-16 15:43:37 +02:00
ner fbbd7b52e3 fix: authorization 2024-11-11 19:32:52 +02:00
ner 183c7231a1 feat: show page 2024-11-06 22:12:19 +02:00
ner 18b110a269 fix: theme color 2024-11-04 13:45:25 +02:00
ner 25866b9eb9 feat: static generation 2024-11-04 12:35:39 +02:00
ner 99255f4f13 fix: search 2024-11-03 19:22:19 +02:00
ner e509bb8127 feat: dark favicon 2024-10-30 13:27:46 +02:00
ner 3b954279f7 fix: proper prefetch 2024-10-29 19:39:41 +02:00
ner a268f7c38d feat: change torrents search query 2024-10-29 16:45:32 +02:00
ner 97d55b24a1 refactoring: server actions => tmdb proxy 2024-10-28 20:04:36 +02:00
ner dfdfb79169 fix: SITE_URL 2024-10-28 17:20:05 +02:00
ner 5cbf93b3b8 refactoring: server actions data fetching -> api routes 2024-10-26 21:33:39 +03:00
ner 38aebcbe28 refactoring: improvements for lighthouse 2024-10-21 15:35:08 +03:00
ner 988085ac8b feat: current episode by magnet is saved into localstorage 2024-10-20 17:41:57 +03:00
ner 8858e47d38 feat: favorite & watch lists 2024-10-19 16:09:15 +03:00
ner 043375f44a feat: account 2024-10-18 18:56:34 +03:00
ner df0f7c943b feat: auth using sse 2024-10-17 21:47:55 +03:00
ner fdec33ae64 feat: auth 2024-10-16 22:44:14 +03:00
ner 22ad393a44 fix: modal border radius 2024-10-15 22:25:45 +03:00
ner a747461505 fix: search autocomplete 2024-10-15 20:06:10 +03:00
ner c31058c4f7 feat: vidstack 2024-10-12 22:26:39 +03:00
ner 3b03df3ff5 fix: order of tailwind classes 2024-10-05 17:23:37 +03:00
ner 6788dea0cd fix: search fetch order 2024-09-30 19:44:35 +03:00
ner ebf599eed6 refactor: clean code and remove unnecessary dependencies 2024-09-30 18:54:13 +03:00
ner e3b9ed78f2 feat: movie groups on main page 2024-09-13 15:27:28 +03:00
ner 279a61ddcd feat: aspect-ratio instead of width measurer 2024-08-31 21:36:16 +03:00
ner 375ebf93d9 feat: reduced countries list 2024-08-29 22:03:33 +03:00
ner 29f6de300b feat: upgrade nextjs 2024-08-29 17:06:53 +03:00
ner 750d5b12c8 feat: new nav 2024-08-29 12:58:49 +03:00
ner 5733bc0af0 feat: native carousel 2024-08-25 21:48:03 +03:00
ner 1e31520c92 feat: series 2024-06-19 18:28:17 +03:00
ner b2eef6c494 fix: search autofocus 2024-04-04 18:30:11 +03:00
ner a903752f9d feat: pull to close modal window 2024-04-03 20:20:12 +03:00
ner 1aa145a98c fix: swiper 2024-03-25 15:31:17 +02:00
ner cd8928ab54 fix: mobile menu 2024-03-22 14:28:49 +02:00
ner 1a762d00c5 fix: header 2024-03-22 13:41:31 +02:00
ner 7f77f960d9 fix: theme-color 2024-03-20 18:47:39 +02:00
ner 585094dd24 fix: navigation 2024-03-20 16:01:25 +02:00
ner c6d306cb7b fix: torrent size 2024-03-19 20:15:42 +02:00
ner 03cfacf91c refactoring: upgrade nextjs; api => server actions 2024-01-06 12:55:11 +02:00
ner 83969a61a3 fix: animations 2023-12-31 16:45:06 +02:00
ner 7b55619cf5 feat: animations 2023-12-29 17:18:06 +02:00
ner e4788ae384 feat: open magnets in elementum 2023-12-21 18:23:45 +02:00