Author SHA1 Message Date
Claude 614f566662 Index pour les notifications d'abonnement (migration 20261128130000, appliquée)
deploy / deploy (push) Successful in 41s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
2026-11-27 17:53:59 +00:00
Claude aad97867aa Fluidité et ménage
- Catalogue : grille affichée par tranches de 60 au fil du défilement (sans revenir en haut
  quand une fiche change), images décodées en arrière-plan, avatars chargés à la demande
- Réglage « couleur d'accent » retiré des réglages, de la synchro et des sauvegardes (n'existait plus)
- CLAUDE.md à jour (adresse du site, état au 28 nov.)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
2026-11-27 17:44:55 +00:00
Claude 71b1e91947 Démarrage plus léger : écrans rares chargés à la demande
- Stats, Réglages, Admin, Roulette, Calendrier, fiche personne, saisie manuelle et écrans sociaux
  (profil, recherche de membres, abonnés, avis, notifications, aperçu) chargés à la demande,
  puis préchargés dès que l'app est au repos : ils s'ouvrent ensuite sans attente
- Carte de partage chargée au moment du partage
- Fichier principal : 784 Ko → 620 Ko
- Noms de fichiers exportés : bobinoo-… au lieu de kino-…

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
2026-11-27 17:40:02 +00:00
Claude 81c6a447d9 Nettoyage serveur et client : restes des anciennes notifications
- Migration 20261128120000 (appliquée) : azuu_notify (vide) supprimée et ses appels retirés
  de 6 fonctions ; table notifications réduite aux colonnes utiles (abonnements)
- Fonction serveur send-push remplacée par une version qui refuse tout (410) : à supprimer
  depuis le tableau de bord Supabase
- src/lib/push.ts (résiliation des anciens abonnements push) retiré

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
2026-11-27 17:37:51 +00:00
Claude e366f38727 Nettoyage : variables inutilisées, textes inutilisés, fichiers parasites
- TypeScript refuse désormais les variables et paramètres inutilisés (noUnusedLocals/Parameters)
- 9 lectures de réglages devenues inutiles (échelle de notes) retirées
- 2 textes plus utilisés retirés des 18 langues
- Dossier « Claude outputs » (copie d'une ancienne migration) et tsconfig.tsbuildinfo retirés du dépôt

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
2026-11-27 16:57:30 +00:00
Claude f7160e3401 Fiche : « Valider » sur toutes les fiches d'un titre de la bibliothèque
deploy / deploy (push) Successful in 41s
Plus seulement depuis la recherche : depuis l'accueil, le catalogue, un profil… le bouton
ferme toutes les fenêtres ouvertes et revient à l'accueil.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
2026-11-27 16:52:41 +00:00
Claude cb305bcfe1 Fiche : « Valider » aussi pour un titre déjà dans la bibliothèque, image du haut au format 16/9 sur téléphone
deploy / deploy (push) Successful in 39s
- Le bouton « Valider » s'affiche dès que la fiche est ouverte depuis la recherche,
  que le titre vienne d'être ajouté ou qu'il soit déjà dans la bibliothèque
- Sur téléphone, l'image du haut garde son format 16/9 au lieu d'être recadrée (et agrandie)
  dans un cadre plus haut ; certaines images TMDB ne font que ~950 px de large et restaient floues

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
2026-11-27 16:48:56 +00:00
Claude db6c504325 Fiche : image du haut nette sur téléphone, bouton « Valider » après un ajout
deploy / deploy (push) Successful in 42s
- L'image de scène (16/9) est recadrée dans un cadre plus haut sur téléphone : le navigateur
  chargeait une image trop petite, agrandie et floue. On demande maintenant une image assez large.
- Après avoir ajouté un titre depuis la recherche, un bouton « Valider » ferme la fiche et la
  recherche d'un coup et revient à l'accueil (au lieu de toucher deux fois la croix). 18 langues.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
2026-11-27 16:35:32 +00:00
Claude 6ce972179e Merge branch 'claude/notes-etoiles' : notes en étoiles uniquement
deploy / deploy (push) Successful in 38s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
2026-11-27 16:25:27 +00:00
Claude d0681c62ab Doc : Claude fusionne directement dans main
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
2026-11-27 16:25:25 +00:00
45 changed files with 233 additions and 336 deletions

No files matched your search

+1
View File
@@ -10,3 +10,4 @@ supabase/.temp
supabase/.branches
_to_delete
.env.deploy
tsconfig.tsbuildinfo
+7 -5
View File
@@ -19,9 +19,9 @@ npm run build # build de prod
## Déploiement
- Remote git : **Gitea** `https://gitea.rdacet.fr/romain/kino.git` (branche `main`).
- Claude Code (cloud) accède directement à Gitea : jeton `GITEA_TOKEN` en « network secret » de l'environnement (portée `write:repository`). Claude pousse sur une branche `claude/…` ; Romain fusionne dans `main` depuis Gitea (ce qui déploie). Plus de dépôt GitHub.
- Claude Code (cloud) accède directement à Gitea : jeton `GITEA_TOKEN` en « network secret » de l'environnement (portée `write:repository`). Depuis le 27 nov. 2026, Romain demande que Claude **fusionne et pousse directement dans `main`** sans redemander (ce qui déploie), puis vérifie le déploiement (Gitea Actions + site en ligne). Plus de dépôt GitHub.
- Push via **PowerShell** : `git push`.
- **Gitea Actions** (`.gitea/workflows/deploy.yml`) build et publie sur le **VPS** (nginx en LXC) à chaque push sur `main`. Site : https://azuucine.rdacet.fr
- **Gitea Actions** (`.gitea/workflows/deploy.yml`) build et publie sur le **VPS** (nginx en LXC) à chaque push sur `main`. Site : https://kino.rdacet.fr (azuucine.rdacet.fr ne répond plus)
- `vite.config.ts` contient un garde-fou : le build échoue si `VITE_SUPABASE_URL` / `VITE_SUPABASE_ANON_KEY` manquent en CI (variables/secrets Gitea Actions). La CSP et les en-têtes de sécurité y sont aussi définis (source unique → convertis en conf nginx par `deploy/headers-to-nginx.mjs`).
## Supabase
@@ -60,9 +60,11 @@ npm run build # build de prod
- Garder les fichiers idempotents côté SQL.
- RTL géré (arabe) : préférer les classes logiques (`ps-`/`pe-`, `ms-`/`me-`, `start-`/`end-`, `border-e`).
## État (au 24 nov. 2026)
- **Toutes les migrations de `supabase/migrations/` sont appliquées en ligne**, jusqu'à `20261122140000_audit_hardening.sql` incluse.
- **Notifications retirées (22 nov. 2026)** : plus de cloche ni de push. Table `notifications` gardée vide (des fonctions de listes partagées y font encore référence), `azuu_notify` ne fait plus rien. Ne pas les réintroduire sans demande.
## État (au 28 nov. 2026)
- **Toutes les migrations de `supabase/migrations/` sont appliquées en ligne**, jusqu'à `20261128130000_notifications_actor_index.sql` incluse.
- **Notifications : abonnements uniquement** (27 nov. 2026) — cloche sur l'accueil, dans l'app, pas de push. Types : `new_follower`, `follow_request`, `unfollow`, `follow_accepted` (trigger `follows_notify`, RPC `get_notifications` / `unread_notifications` / `mark_notifications_read`). Les anciennes notifications (push, commentaires, épisodes, invitations) et `azuu_notify` ont été supprimées. La fonction Edge `send-push` répond 410 : à supprimer depuis le tableau de bord Supabase.
- **Retirés (27-28 nov. 2026)** : défis, couleur d'accent au choix, apparences Nuit/Étoilé, notation sur 10 (les notes restent stockées sur 10 en interne, affichées sur 5 étoiles).
- **Chargement** : les écrans rares (stats, réglages, admin, roulette, calendrier, écrans sociaux…) sont chargés à la demande puis préchargés au repos (`App.tsx` → `loaders`, `SocialProvider.tsx` → `socialLoaders`).
- **Audit (22-24 nov. 2026)** : `20261122140000_audit_hardening.sql` versionne aussi les fonctions admin / « comptes suspendus » qui n'existaient qu'en ligne. Blocage = le compte bloquant devient invisible pour le bloqué ; fiches supprimées = `data` vidée (trigger `azuu_tombstone`) ; profils lisibles directement seulement par soi-même.
- **Runner Gitea** : `kino` (étiquette `azuucine`), service `gitea-runner` dans le conteneur LXC `kino` du VPS. S'il est hors ligne, plus rien ne se déploie (voir `deploy/BACKUP.md` → « Runner arrêté ? »).
- **Sauvegardes : pas encore actives** (au 25 nov. 2026) — secrets Gitea `SUPABASE_DB_URL` + `BACKUP_PASSPHRASE` à ajouter par Romain, préparation du VPS → `deploy/BACKUP.md`.
@@ -1,198 +0,0 @@
-- ════════════════════════════════════════════════════════════════════════════
-- AzuuCine — Avis par titre, réactions et notifications (5 octobre 2026)
-- 1. Voir tous les avis sur un titre (amis / autres).
-- 2. Réagir aux avis (emoji).
-- 3. Notifications (cloche) : abonnements, demandes acceptées, réactions reçues.
--
-- À coller dans Supabase → SQL Editor → Run. Idempotent (réexécutable sans risque).
-- ════════════════════════════════════════════════════════════════════════════
-- ── Tables ──
create table if not exists public.review_reactions (
author_id uuid not null references auth.users(id) on delete cascade, -- auteur de l'avis
item_id text not null,
user_id uuid not null default auth.uid() references auth.users(id) on delete cascade, -- qui réagit
emoji text not null,
created_at timestamptz not null default now(),
primary key (author_id, item_id, user_id)
);
create index if not exists review_reactions_target_idx on public.review_reactions (author_id, item_id);
alter table public.review_reactions enable row level security;
alter table public.review_reactions force row level security;
revoke all on public.review_reactions from anon, authenticated;
create table if not exists public.notifications (
id bigint generated always as identity primary key,
user_id uuid not null references auth.users(id) on delete cascade, -- destinataire
kind text not null check (kind in ('follow_request','follow_accepted','new_follower','reaction')),
actor_id uuid references auth.users(id) on delete cascade,
item_id text,
emoji text,
created_at timestamptz not null default now(),
read_at timestamptz
);
create index if not exists notifications_user_idx on public.notifications (user_id, created_at desc);
alter table public.notifications enable row level security;
alter table public.notifications force row level security;
revoke all on public.notifications from anon, authenticated;
-- ── Création de notifications + bornage de l'historique ──
create or replace function public.azuu_notify(p_user uuid, p_kind text, p_actor uuid, p_item text default null, p_emoji text default null)
returns void language plpgsql security definer set search_path = '' as $$
begin
if p_user is null or p_actor is null or p_user = p_actor then return; end if;
insert into public.notifications (user_id, kind, actor_id, item_id, emoji)
values (p_user, p_kind, p_actor, p_item, p_emoji);
delete from public.notifications
where user_id = p_user and id not in (
select id from public.notifications where user_id = p_user order by created_at desc limit 300
);
end;
$$;
-- Abonnement / demande -> notifie le compte suivi ; demande acceptée -> notifie le demandeur
create or replace function public.azuu_follow_notify()
returns trigger language plpgsql security definer set search_path = '' as $$
begin
if tg_op = 'INSERT' then
perform public.azuu_notify(new.following_id,
case when new.status = 'pending' then 'follow_request' else 'new_follower' end, new.follower_id);
elsif tg_op = 'UPDATE' and old.status = 'pending' and new.status = 'accepted' then
perform public.azuu_notify(new.follower_id, 'follow_accepted', new.following_id);
end if;
return null;
end;
$$;
drop trigger if exists follows_notify on public.follows;
create trigger follows_notify after insert or update on public.follows
for each row execute function public.azuu_follow_notify();
-- Réaction reçue -> notifie l'auteur de l'avis
create or replace function public.azuu_reaction_notify()
returns trigger language plpgsql security definer set search_path = '' as $$
begin
perform public.azuu_notify(new.author_id, 'reaction', new.user_id, new.item_id, new.emoji);
return null;
end;
$$;
drop trigger if exists reactions_notify on public.review_reactions;
create trigger reactions_notify after insert on public.review_reactions
for each row execute function public.azuu_reaction_notify();
-- ── Réagir à un avis ──
create or replace function public.react_to_review(p_author uuid, p_item text, p_emoji text)
returns jsonb language plpgsql security definer set search_path = '' as $$
begin
if auth.uid() is null then raise exception 'auth'; end if;
if p_author = auth.uid() then raise exception 'cannot react to your own review'; end if;
if p_emoji is null or p_emoji <> all (array['👍','❤️','🔥','😂','😮','😢']) then raise exception 'bad emoji'; end if;
if not public.can_view(p_author) or not exists (
select 1 from public.items i join public.profiles pr on pr.id = i.user_id
where i.user_id = p_author and i.id = p_item and not i.deleted
and coalesce(i.data->>'notes','') <> '' and not pr.suspended
) then
raise exception 'review not found';
end if;
insert into public.review_reactions (author_id, item_id, user_id, emoji)
values (p_author, p_item, auth.uid(), p_emoji)
on conflict (author_id, item_id, user_id) do update set emoji = excluded.emoji, created_at = now();
return jsonb_build_object('ok', true);
end;
$$;
create or replace function public.unreact_review(p_author uuid, p_item text)
returns jsonb language plpgsql security definer set search_path = '' as $$
begin
if auth.uid() is null then raise exception 'auth'; end if;
delete from public.review_reactions where author_id = p_author and item_id = p_item and user_id = auth.uid();
return jsonb_build_object('ok', true);
end;
$$;
-- ── Tous les avis sur un titre (amis / autres) ──
create or replace function public.title_reviews(p_external_id text, p_offset integer default 0)
returns jsonb language plpgsql stable security definer set search_path = '' as $$
declare me uuid := auth.uid(); res jsonb;
begin
if me is null or p_external_id !~ '^(tmdb:(movie|tv):[0-9]{1,10}|anilist:[0-9]{1,10})$' then
return jsonb_build_object('friends', '[]'::jsonb, 'others', '[]'::jsonb);
end if;
with revs as (
select i.user_id, i.id as item_id, i.updated_at,
nullif(i.data->>'rating','')::numeric as rating,
i.data->>'notes' as notes, pr,
exists(select 1 from public.follows f where f.follower_id = me and f.following_id = i.user_id and f.status = 'accepted') as friend
from public.items i
join public.profiles pr on pr.id = i.user_id
where i.data->>'externalId' = p_external_id
and not i.deleted and coalesce(i.data->>'notes','') <> ''
and i.user_id <> me and not pr.suspended
and (not pr.is_private
or exists(select 1 from public.follows f where f.follower_id = me and f.following_id = i.user_id and f.status = 'accepted'))
),
enriched as (
select r.*,
(select coalesce(jsonb_object_agg(e.emoji, e.c), '{}'::jsonb)
from (select emoji, count(*) c from public.review_reactions rr
where rr.author_id = r.user_id and rr.item_id = r.item_id group by emoji) e) as reactions,
(select count(*) from public.review_reactions rr where rr.author_id = r.user_id and rr.item_id = r.item_id) as total,
(select emoji from public.review_reactions rr where rr.author_id = r.user_id and rr.item_id = r.item_id and rr.user_id = me) as mine
from revs r
)
select jsonb_build_object(
'friends', coalesce((select jsonb_agg(entry order by total desc, updated_at desc) from (
select jsonb_build_object('user', public.profile_card(pr), 'user_id', user_id, 'item_id', item_id,
'updated_at', updated_at, 'rating', rating, 'notes', notes,
'reactions', reactions, 'total', total, 'mine', mine) entry, total, updated_at
from enriched where friend offset greatest(p_offset, 0) limit 40) f), '[]'::jsonb),
'others', coalesce((select jsonb_agg(entry order by total desc, updated_at desc) from (
select jsonb_build_object('user', public.profile_card(pr), 'user_id', user_id, 'item_id', item_id,
'updated_at', updated_at, 'rating', rating, 'notes', notes,
'reactions', reactions, 'total', total, 'mine', mine) entry, total, updated_at
from enriched where not friend offset greatest(p_offset, 0) limit 40) o), '[]'::jsonb)
) into res;
return res;
end;
$$;
-- ── Notifications ──
create or replace function public.get_notifications(p_offset integer default 0)
returns jsonb language sql stable security definer set search_path = '' as $$
select coalesce(jsonb_agg(x order by created_at desc), '[]'::jsonb)
from (
select n.id, n.kind, n.created_at, n.read_at, n.emoji, n.item_id,
case when p.id is null then null else
jsonb_build_object('username', p.username, 'display_name', p.display_name, 'avatar_url', p.avatar_url) end as actor,
case when n.kind = 'reaction'
then (select it.data->>'title' from public.items it where it.user_id = n.user_id and it.id = n.item_id) end as title
from public.notifications n
left join public.profiles p on p.id = n.actor_id
where n.user_id = auth.uid()
order by n.created_at desc
offset greatest(p_offset, 0) limit 30
) x
$$;
create or replace function public.notifications_unread()
returns integer language sql stable security definer set search_path = '' as $$
select count(*)::int from public.notifications where user_id = auth.uid() and read_at is null
$$;
create or replace function public.mark_notifications_read()
returns void language sql security definer set search_path = '' as $$
update public.notifications set read_at = now() where user_id = auth.uid() and read_at is null
$$;
-- ── Droits (gate interne : auth.uid() / can_view) ──
revoke all on function public.react_to_review(uuid, text, text) from public, anon;
revoke all on function public.unreact_review(uuid, text) from public, anon;
revoke all on function public.title_reviews(text, integer) from public, anon;
revoke all on function public.get_notifications(integer) from public, anon;
revoke all on function public.notifications_unread() from public, anon;
revoke all on function public.mark_notifications_read() from public, anon;
grant execute on function public.react_to_review(uuid, text, text) to authenticated;
grant execute on function public.unreact_review(uuid, text) to authenticated;
grant execute on function public.title_reviews(text, integer) to authenticated;
grant execute on function public.get_notifications(integer) to authenticated;
grant execute on function public.notifications_unread() to authenticated;
grant execute on function public.mark_notifications_read() to authenticated;
+60 -28
View File
@@ -1,26 +1,41 @@
import { SocialProvider } from './components/social/SocialProvider'
import { preloadSocial, SocialProvider } from './components/social/SocialProvider'
import { ToastProvider } from './components/Toast'
import { useCallback, useEffect, useState } from 'react'
import { lazy, Suspense, useCallback, useEffect, useState } from 'react'
import BottomNav, { type Tab } from './components/BottomNav'
import SideNav from './components/SideNav'
import AddTitle from './components/title/AddTitle'
import EditDetails from './components/title/EditDetails'
import TitleSheet from './components/title/TitleSheet'
import PersonSheet from './components/person/PersonSheet'
import Roulette from './components/Roulette'
import CalendarView from './components/CalendarView'
import HomePage from './pages/HomePage'
import CatalogPage from './pages/CatalogPage'
import StatsPage from './pages/StatsPage'
import SettingsPage from './pages/SettingsPage'
import AdminPage from './pages/AdminPage'
import NotFoundPage from './pages/NotFoundPage'
import SyncIndicator from './components/SyncIndicator'
import { useMedia } from './store'
import type { SearchResult } from './lib/catalogApi'
import type { MediaItem } from './types'
import type { Completion } from './lib/seasons'
import { dropPushSubscription } from './lib/push'
// Écrans moins fréquents : chargés à la demande (démarrage plus léger), puis préchargés quand l'app est au repos
const loaders = {
EditDetails: () => import('./components/title/EditDetails'),
PersonSheet: () => import('./components/person/PersonSheet'),
Roulette: () => import('./components/Roulette'),
CalendarView: () => import('./components/CalendarView'),
StatsPage: () => import('./pages/StatsPage'),
SettingsPage: () => import('./pages/SettingsPage'),
AdminPage: () => import('./pages/AdminPage'),
NotFoundPage: () => import('./pages/NotFoundPage'),
}
const EditDetails = lazy(loaders.EditDetails)
const PersonSheet = lazy(loaders.PersonSheet)
const Roulette = lazy(loaders.Roulette)
const CalendarView = lazy(loaders.CalendarView)
const StatsPage = lazy(loaders.StatsPage)
const SettingsPage = lazy(loaders.SettingsPage)
const AdminPage = lazy(loaders.AdminPage)
const NotFoundPage = lazy(loaders.NotFoundPage)
function preloadScreens() {
for (const load of Object.values(loaders)) void load().catch(() => {})
preloadSocial()
}
const TABS: Tab[] = ['home', 'catalog', 'stats', 'settings']
// L'administration a sa propre route (#/admin), hors de la navigation principale
@@ -57,10 +72,12 @@ export default function App() {
const [roulette, setRoulette] = useState(false)
const [calendar, setCalendar] = useState(false)
// Notifications retirées : on résilie l'ancien abonnement push de cet appareil, s'il en reste un
// Les écrans chargés à la demande arrivent en arrière-plan une fois l'app affichée : ils s'ouvrent ensuite sans attente
useEffect(() => {
void dropPushSubscription()
const idle = window.requestIdleCallback ?? ((cb: () => void) => window.setTimeout(cb, 1500))
idle(preloadScreens)
}, [])
useEffect(() => {
const onHash = () => setRoute(routeFromHash())
window.addEventListener('hashchange', onHash)
@@ -80,6 +97,13 @@ export default function App() {
const openSeed = (seed: SearchResult) => pushLayer({ kind: 'title', seed })
const openPerson = (p: { id: string; name?: string; photo?: string }) => pushLayer({ kind: 'person', personId: p.id, name: p.name, photo: p.photo })
const openNew = () => setAdding(true)
/** « Valider » sur une fiche : ferme la recherche et toutes les fiches, puis revient à l'accueil */
const backHome = () => {
setLayers([])
setAdding(false)
// Laisse les fenêtres retirer leur entrée d'historique avant de changer d'onglet
setTimeout(() => go('home'), 50)
}
const toSettings = () => {
setLayers([])
setAdding(false)
@@ -97,17 +121,21 @@ export default function App() {
{error && <p className="mt-4 rounded-xl border border-accent p-3 text-sm text-ink">{error}</p>}
{route === 'home' && <HomePage onOpen={openItem} onAdd={openNew} onNavigate={go} onRoulette={() => setRoulette(true)} onCalendar={() => setCalendar(true)} />}
{route === 'catalog' && <CatalogPage onOpen={openItem} onAdd={openNew} />}
{route === 'stats' && <StatsPage onOpen={openItem} />}
{route === 'settings' && <SettingsPage onOpenAdmin={() => go('admin')} />}
{route === 'admin' && <AdminPage onBack={() => go('settings')} />}
{route === 'notfound' && <NotFoundPage onHome={() => go('home')} />}
<Suspense fallback={null}>
{route === 'stats' && <StatsPage onOpen={openItem} />}
{route === 'settings' && <SettingsPage onOpenAdmin={() => go('admin')} />}
{route === 'admin' && <AdminPage onBack={() => go('settings')} />}
{route === 'notfound' && <NotFoundPage onHome={() => go('home')} />}
</Suspense>
</main>
<BottomNav current={navTab} onChange={go} onAdd={openNew} />
<SyncIndicator />
{roulette && <Roulette onClose={() => setRoulette(false)} onOpen={openItem} />}
{calendar && <CalendarView onClose={() => setCalendar(false)} onOpen={openItem} />}
<Suspense fallback={null}>
{roulette && <Roulette onClose={() => setRoulette(false)} onOpen={openItem} />}
{calendar && <CalendarView onClose={() => setCalendar(false)} onOpen={openItem} />}
</Suspense>
{adding && (
<AddTitle
@@ -129,20 +157,23 @@ export default function App() {
onGoToSettings={toSettings}
onOpenPerson={openPerson}
focus={l.item ? l.focus : undefined}
onDone={backHome}
/>
) : (
<PersonSheet
key={l.uid}
personId={l.personId}
name={l.name}
photo={l.photo}
onClose={() => closeLayer(l.uid)}
onOpenItem={openItem}
onOpenSeed={openSeed}
/>
<Suspense key={l.uid} fallback={null}>
<PersonSheet
personId={l.personId}
name={l.name}
photo={l.photo}
onClose={() => closeLayer(l.uid)}
onOpenItem={openItem}
onOpenSeed={openSeed}
/>
</Suspense>
),
)}
{manual !== null && (
<Suspense fallback={null}>
<EditDetails
initialTitle={manual}
onClose={() => setManual(null)}
@@ -152,6 +183,7 @@ export default function App() {
openItem(item)
}}
/>
</Suspense>
)}
</div>
</SocialProvider>
+1 -1
View File
@@ -34,7 +34,7 @@ function buildEntries(items: MediaItem[]): Entry[] {
/** Onglet « Journal » du catalogue : chronologie groupée par mois. */
export default function JournalView({ onOpen }: { onOpen: (item: MediaItem) => void }) {
const { items, settings } = useMedia()
const { items } = useMedia()
const entries = useMemo(() => buildEntries(items), [items])
const years = useMemo(() => [...new Set(entries.map((e) => e.date.slice(0, 4)))], [entries])
const [year, setYear] = useState('')
+1 -1
View File
@@ -41,7 +41,7 @@ function Progress({ item }: { item: MediaItem }) {
* (elle se redessine quand même si la bibliothèque ou les réglages changent, via useMedia).
*/
export const MediaCard = memo(function MediaCard({ item, onOpen }: { item: MediaItem; onOpen: (item: MediaItem) => void }) {
const { settings, incrementEpisode } = useMedia()
const { incrementEpisode } = useMedia()
// Revisionnage en cours : la progression montrée est celle du revisionnage
const view = progressView(item)
const canIncrement =
+1
View File
@@ -11,6 +11,7 @@ export default function Poster({ src, title, className }: { src?: string; title:
src={src}
alt={title}
loading="lazy"
decoding="async"
onError={() => setBroken(src)}
className={cx('aspect-[2/3] w-full rounded-xl border border-line bg-surface-2 object-cover', className)}
/>
+1 -1
View File
@@ -46,7 +46,7 @@ const shuffle = <T,>(arr: T[]) => {
}
export default function Roulette({ onClose, onOpen }: Props) {
const { items, settings, update, lists } = useMedia()
const { items, update, lists } = useMedia()
const [filters, setFilters] = useState<RouletteFilters>(loadFilters)
const pool = useMemo(() => buildPool(items, filters), [items, filters])
const base = useMemo(() => sourcePool(items, filters.sources, filters.listIds), [items, filters.sources, filters.listIds])
+2 -2
View File
@@ -3,7 +3,6 @@ import { t } from '../i18n'
import { Loader2, Plus, Share2 } from 'lucide-react'
import { useState, type CSSProperties } from 'react'
import { TOP_CATEGORIES } from '../lib/constants'
import { renderTopCard, slug } from '../lib/shareCard'
import { cx, formatRating } from '../lib/utils'
import { useMedia } from '../store'
import type { MediaItem, TopCategory } from '../types'
@@ -60,8 +59,9 @@ export default function TopFive({ onOpen }: { onOpen: (item: MediaItem) => void
const share = async () => {
setSharing(true)
try {
const { renderTopCard, slug } = await import('../lib/shareCard')
const blob = await renderTopCard(current.plural, [1, 2, 3, 4, 5].map((r) => byRank.get(r)))
setPreview({ blob, filename: `kino-top5-${slug(current.plural)}.png`, title: t('top.shareTitle', { category: current.plural }) })
setPreview({ blob, filename: `bobinoo-top5-${slug(current.plural)}.png`, title: t('top.shareTitle', { category: current.plural }) })
} finally {
setSharing(false)
}
+1 -1
View File
@@ -3,7 +3,7 @@ import { cx } from '../../lib/utils'
/** Photo de profil ronde, ou initiale sur fond neutre. */
export default function Avatar({ url, name, size = 40, className }: { url?: string; name: string; size?: number; className?: string }) {
const style = { width: size, height: size }
if (url) return <img src={url} alt="" style={style} className={cx('shrink-0 rounded-full border border-line bg-surface-2 object-cover', className)} />
if (url) return <img src={url} alt="" loading="lazy" decoding="async" style={style} className={cx('shrink-0 rounded-full border border-line bg-surface-2 object-cover', className)} />
return (
<span style={{ ...style, fontSize: size * 0.42 }} className={cx('grid shrink-0 place-items-center rounded-full border border-line bg-surface-2 font-bold text-ink-2', className)}>
{(name.trim().charAt(0) || '?').toUpperCase()}
-2
View File
@@ -5,7 +5,6 @@ import { FEED_PAGE, getFeed, type FeedEntry } from '../../lib/cloud/social'
import { useOnResume } from '../../lib/onResume'
import { timeAgo } from '../../lib/timeAgo'
import { formatRating } from '../../lib/utils'
import { useMedia } from '../../store'
import Poster from '../Poster'
import { LinkArrow, SectionTitle } from '../ui'
import Avatar from './Avatar'
@@ -30,7 +29,6 @@ const VERB = { finished: 'feed.finished', started: 'feed.started', rewatched: 'f
/** Accueil : ce que regardent mes abonnements. */
export default function FriendsFeed() {
const social = useSocial()
const { settings } = useMedia()
const [entries, setEntries] = useState<FeedEntry[]>()
const [more, setMore] = useState(false)
const [loadingMore, setLoadingMore] = useState(false)
+1 -1
View File
@@ -27,7 +27,7 @@ export interface PeekOwner {
/** Aperçu d'un titre de quelqu'un d'autre : sa note, son avis public, et ajout à ma liste « À voir ». */
export default function ItemPeek({ item, owner, onClose }: { item: MediaItem; owner?: PeekOwner; onClose: () => void }) {
const { items, add, settings } = useMedia()
const { items, add } = useMedia()
const social = useSocial()
const [busy, setBusy] = useState(false)
const [added, setAdded] = useState(false)
-1
View File
@@ -16,7 +16,6 @@ import Sheet from './Sheet'
import { useSocial } from './SocialProvider'
function PosterTile({ item, onOpen, caption }: { item: MediaItem; onOpen: () => void; caption?: string }) {
const { settings } = useMedia()
return (
<button onClick={onOpen} className="block w-full text-start">
<Poster src={item.poster} title={item.title} />
+34 -13
View File
@@ -1,14 +1,8 @@
import { createContext, useCallback, useContext, useEffect, useMemo, useState, type ReactNode } from 'react'
import { createContext, lazy, Suspense, useCallback, useContext, useEffect, useMemo, useState, type ReactNode } from 'react'
import { getFollowRequests, getMyProfile, unreadNotifications, type Profile, type ProfileCard } from '../../lib/cloud/social'
import NotificationsSheet from './NotificationsSheet'
import { useMedia } from '../../store'
import type { MediaItem } from '../../types'
import EditProfile from './EditProfile'
import FollowList from './FollowList'
import ItemPeek, { type PeekOwner } from './ItemPeek'
import PeopleSearch from './PeopleSearch'
import ProfileView from './ProfileView'
import TitleReviews from './TitleReviews'
import type { PeekOwner } from './ItemPeek'
import { useOnResume } from '../../lib/onResume'
import WelcomeProfile, { RANDOM_USERNAME } from './WelcomeProfile'
import { InvitePeople, SharedListSheet } from './SharedLists'
@@ -44,6 +38,27 @@ interface SocialApi {
bumpShared: () => void
}
// Écrans sociaux chargés à la demande (préchargés par App au repos via preloadSocial)
const socialLoaders = {
NotificationsSheet: () => import('./NotificationsSheet'),
EditProfile: () => import('./EditProfile'),
FollowList: () => import('./FollowList'),
PeopleSearch: () => import('./PeopleSearch'),
ProfileView: () => import('./ProfileView'),
TitleReviews: () => import('./TitleReviews'),
ItemPeek: () => import('./ItemPeek'),
}
const NotificationsSheet = lazy(socialLoaders.NotificationsSheet)
const EditProfile = lazy(socialLoaders.EditProfile)
const FollowList = lazy(socialLoaders.FollowList)
const PeopleSearch = lazy(socialLoaders.PeopleSearch)
const ProfileView = lazy(socialLoaders.ProfileView)
const TitleReviews = lazy(socialLoaders.TitleReviews)
const ItemPeek = lazy(socialLoaders.ItemPeek)
export function preloadSocial() {
for (const load of Object.values(socialLoaders)) void load().catch(() => {})
}
const SocialContext = createContext<SocialApi>({
enabled: false,
me: null,
@@ -221,8 +236,9 @@ export function SocialProvider({
<SocialContext.Provider value={api}>
{/* Les écrans sociaux sont placés avant l'app : une fiche ouverte depuis un profil passe au-dessus */}
{enabled &&
stack.map((o) =>
o.kind === 'profile' ? (
stack.map((o) => (
<Suspense key={o.uid} fallback={null}>
{o.kind === 'profile' ? (
<ProfileView key={o.uid} username={o.username} onClose={() => close(o.uid)} />
) : o.kind === 'search' ? (
<PeopleSearch key={o.uid} onClose={() => close(o.uid)} />
@@ -238,11 +254,16 @@ export function SocialProvider({
<NotificationsSheet key={o.uid} onClose={() => close(o.uid)} onSeen={() => setUnread(0)} />
) : (
<InvitePeople key={o.uid} listId={o.listId} listName={o.listName} onClose={() => close(o.uid)} />
),
)}
)}
</Suspense>
))}
{children}
{enabled && me && RANDOM_USERNAME.test(me.username) && !welcomeLater && <WelcomeProfile onLater={later} />}
{enabled && peeked && <ItemPeek item={peeked.item} owner={peeked.owner} onClose={() => setPeeked(undefined)} />}
{enabled && peeked && (
<Suspense fallback={null}>
<ItemPeek item={peeked.item} owner={peeked.owner} onClose={() => setPeeked(undefined)} />
</Suspense>
)}
</SocialContext.Provider>
)
}
-2
View File
@@ -5,7 +5,6 @@ import { getSession } from '../../lib/cloud/auth'
import { useBlocked } from '../../lib/cloud/moderation'
import { titleReviews, type TitleReview, type TitleReviews as TitleReviewsData } from '../../lib/cloud/reviews'
import { formatRating } from '../../lib/utils'
import { useMedia } from '../../store'
import ReportButton from '../moderation/ReportButton'
import Avatar from './Avatar'
import Reactions from './Reactions'
@@ -71,7 +70,6 @@ function ReviewColumn({ heading, empty, list, onOpenProfile }: { heading: string
}
function ReviewCard({ r, onOpenProfile }: { r: TitleReview; onOpenProfile: (username: string) => void }) {
const { settings } = useMedia()
// Mon propre avis : ni signalement ni réaction (seuls les commentaires restent)
const mine = r.user_id === getSession()?.user.id
return (
+20 -5
View File
@@ -13,7 +13,6 @@ import { episodeCap, seasonPosition } from '../../lib/franchise'
import { episodesPatch } from '../../lib/progress'
import { useScrollLock } from '../../lib/scrollLock'
import { backdropSrcSet, tmdbSized } from '../../lib/tmdbImage'
import { renderItemCard, slug } from '../../lib/shareCard'
import { cx, formatDate, formatDuration, formatRating, todayISO } from '../../lib/utils'
import { GuestError, useMedia } from '../../store'
import { allTags, cleanTag } from '../../lib/bulk'
@@ -51,13 +50,15 @@ interface Props {
onOpenPerson?: (p: { id: string; name?: string; photo?: string }) => void
/** Ouverte après un +1 qui termine une saison (ou la série) : on amène l'utilisateur à la note */
focus?: Completion
/** « Valider » (titre dans ma bibliothèque) : ferme tout et revient à l'accueil */
onDone?: () => void
}
/**
* Fiche d'un titre, façon Letterboxd : tout se fait ici, et chaque geste est enregistré tout de suite.
* Vu / En cours / À voir, note, coup de cœur, avis, épisodes, casting et note moyenne du public.
*/
export default function TitleSheet({ item: initial, seed, onClose, onGoToSettings, onOpenPerson, focus: initialFocus }: Props) {
export default function TitleSheet({ item: initial, seed, onClose, onGoToSettings, onOpenPerson, focus: initialFocus, onDone }: Props) {
const { items, settings, add, update, lists, patchMany } = useMedia()
const actions = useLibraryActions()
const social = useSocial()
@@ -293,8 +294,10 @@ export default function TitleSheet({ item: initial, seed, onClose, onGoToSetting
if (settings.tmdbKey && item.externalId?.startsWith('tmdb:') && navigator.onLine) {
credits = await getTmdbCredits(item.externalId, settings.tmdbKey).catch(() => undefined)
}
// Carte de partage : module chargé seulement quand on partage
const { renderItemCard, slug } = await import('../../lib/shareCard')
const blob = await renderItemCard(item, credits)
setPreview({ blob, filename: `kino-${slug(item.title)}.png` })
setPreview({ blob, filename: `bobinoo-${slug(item.title)}.png` })
} catch {
setToast(t('share.err.create'))
} finally {
@@ -361,7 +364,8 @@ export default function TitleSheet({ item: initial, seed, onClose, onGoToSetting
srcSet={backdropSrcSet(heroImage)}
sizes="100vw"
alt=""
className="hero-fade h-[42vh] min-h-56 w-full object-cover object-[center_25%] lg:h-[72vh] lg:max-h-[48rem]"
// Téléphone : l'image garde son format 16/9 (avant, recadrée dans un cadre plus haut, elle était agrandie et floue)
className="hero-fade aspect-video w-full object-cover object-[center_25%] lg:aspect-auto lg:h-[72vh] lg:max-h-[48rem]"
/>
) : (
<div className="h-6" />
@@ -646,8 +650,19 @@ export default function TitleSheet({ item: initial, seed, onClose, onGoToSetting
</div>
</div>
{/* Titre dans ma bibliothèque : un seul geste pour tout fermer et revenir à l'accueil */}
{item && onDone && (
<div className="safe-bottom border-t border-line bg-bg">
<div className="mx-auto max-w-2xl px-4 py-3">
<button onClick={onDone} className="btn btn-primary w-full">
<Check size={18} strokeWidth={2.5} /> {t('title.done')}
</button>
</div>
</div>
)}
{toast && (
<div role="status" className="safe-bottom pointer-events-none fixed inset-x-0 bottom-4 z-[70] flex justify-center px-4">
<div role="status" className={cx('safe-bottom pointer-events-none fixed inset-x-0 z-[70] flex justify-center px-4', item && onDone ? 'bottom-24' : 'bottom-4')}>
<span className="rounded-md bg-ink px-4 py-2 text-sm font-medium text-bg">{toast}</span>
</div>
)}
+1 -2
View File
@@ -136,7 +136,6 @@ const dict: Translations = {
'release.episodeFinal': 'الحلقة {ep} · الأخيرة',
'release.filmJapan': 'فيلم في اليابان',
'card.ep': 'ح {n}',
'card.plusOne': '+1 حلقة لـ {title}',
'card.open': 'فتح {title}',
@@ -855,6 +854,7 @@ const dict: Translations = {
'title.manualHint': "لم تجده؟ أنشئ الصفحة بنفسك.",
'title.manualTitle': "عنوان جديد",
'title.inLibrary': "في مكتبتك",
'title.done': 'تم',
'title.added': "تمت الإضافة إلى مكتبتك",
'title.adding': "جارٍ الإضافة…",
'title.yourRating': "تقييمك",
@@ -1171,7 +1171,6 @@ const dict: Translations = {
'spoiler.warning': "هذا التقييم يحرق الأحداث",
'spoiler.show': "إظهار المحتوى",
'spoiler.badge': "حرق أحداث",
'comments.title': "التعليقات",
'comments.none': "لا تعليقات بعد. ابدأ النقاش!",
'comments.placeholder': "اكتب تعليقًا…",
'comments.send': "إرسال",
+1 -2
View File
@@ -136,7 +136,6 @@ const dict: Translations = {
'release.episodeFinal': 'Folge {ep} · Finale',
'release.filmJapan': 'Film in Japan',
'card.ep': 'Ep. {n}',
'card.plusOne': '+1 Folge für {title}',
'card.open': '{title} öffnen',
@@ -753,6 +752,7 @@ const dict: Translations = {
'title.manualHint': "Nicht gefunden? Lege den Titel selbst an.",
'title.manualTitle': "Neuer Titel",
'title.inLibrary': "In deiner Bibliothek",
'title.done': 'Fertig',
'title.added': "Zu deiner Bibliothek hinzugefügt",
'title.adding': "Wird hinzugefügt…",
'title.yourRating': "Deine Bewertung",
@@ -1021,7 +1021,6 @@ const dict: Translations = {
'spoiler.warning': "Diese Kritik enthält Spoiler",
'spoiler.show': "Spoiler anzeigen",
'spoiler.badge': "Spoiler",
'comments.title': "Kommentare",
'comments.none': "Noch keine Kommentare. Starte die Unterhaltung!",
'comments.placeholder': "Kommentar schreiben…",
'comments.send': "Senden",
+1 -2
View File
@@ -136,7 +136,6 @@ const dict: Translations = {
'release.episodeFinal': 'Episode {ep} · finale',
'release.filmJapan': 'Movie in Japan',
'card.ep': 'Ep. {n}',
'card.plusOne': '+1 episode for {title}',
'card.open': 'Open {title}',
@@ -753,6 +752,7 @@ const dict: Translations = {
'title.manualHint': "Can’t find it? Create it yourself.",
'title.manualTitle': "New title",
'title.inLibrary': "In your library",
'title.done': 'Done',
'title.added': "Added to your library",
'title.adding': "Adding…",
'title.yourRating': "Your rating",
@@ -1021,7 +1021,6 @@ const dict: Translations = {
'spoiler.warning': "This review contains spoilers",
'spoiler.show': "Show spoiler",
'spoiler.badge': "Spoiler",
'comments.title': "Comments",
'comments.none': "No comments yet. Start the conversation!",
'comments.placeholder': "Write a comment…",
'comments.send': "Send",
+1 -2
View File
@@ -136,7 +136,6 @@ const dict: Translations = {
'release.episodeFinal': 'Episodio {ep} · final',
'release.filmJapan': 'Película en Japón',
'card.ep': 'Ep. {n}',
'card.plusOne': '+1 episodio de {title}',
'card.open': 'Abrir {title}',
@@ -753,6 +752,7 @@ const dict: Translations = {
'title.manualHint': "¿No lo encuentras? Crea la ficha tú mismo.",
'title.manualTitle': "Nuevo título",
'title.inLibrary': "En tu biblioteca",
'title.done': 'Listo',
'title.added': "Añadido a tu biblioteca",
'title.adding': "Añadiendo…",
'title.yourRating': "Tu nota",
@@ -1021,7 +1021,6 @@ const dict: Translations = {
'spoiler.warning': "Esta reseña contiene spoilers",
'spoiler.show': "Mostrar spoiler",
'spoiler.badge': "Spoiler",
'comments.title': "Comentarios",
'comments.none': "Aún no hay comentarios. ¡Empieza la conversación!",
'comments.placeholder': "Escribe un comentario…",
'comments.send': "Enviar",
+1 -2
View File
@@ -138,7 +138,6 @@ const dict = {
'release.episodeFinal': 'Épisode {ep} · final',
'release.filmJapan': 'Film au Japon',
'card.ep': 'Ép. {n}',
'card.plusOne': '+1 épisode pour {title}',
'card.open': 'Ouvrir {title}',
@@ -755,6 +754,7 @@ const dict = {
'title.manualHint': "Introuvable ? Crée la fiche toi-même.",
'title.manualTitle': "Nouveau titre",
'title.inLibrary': "Dans ta bibliothèque",
'title.done': 'Valider',
'title.added': "Ajouté à ta bibliothèque",
'title.adding': "Ajout…",
'title.yourRating': "Ta note",
@@ -1023,7 +1023,6 @@ const dict = {
'spoiler.warning': "Cet avis contient des spoilers",
'spoiler.show': "Afficher le spoiler",
'spoiler.badge': "Spoiler",
'comments.title': "Commentaires",
'comments.none': "Pas encore de commentaire. Lance la discussion !",
'comments.placeholder': "Écrire un commentaire…",
'comments.send': "Envoyer",
+1 -2
View File
@@ -136,7 +136,6 @@ const dict: Translations = {
'release.episodeFinal': 'एपिसोड {ep} · फ़िनाले',
'release.filmJapan': 'जापान में फ़िल्म',
'card.ep': 'एपि. {n}',
'card.plusOne': '{title} के लिए +1 एपिसोड',
'card.open': '{title} खोलें',
@@ -753,6 +752,7 @@ const dict: Translations = {
'title.manualHint': "नहीं मिला? ख़ुद बनाएँ।",
'title.manualTitle': "नया शीर्षक",
'title.inLibrary': "आपकी लाइब्रेरी में",
'title.done': 'हो गया',
'title.added': "आपकी लाइब्रेरी में जोड़ा गया",
'title.adding': "जोड़ रहे हैं…",
'title.yourRating': "आपकी रेटिंग",
@@ -1021,7 +1021,6 @@ const dict: Translations = {
'spoiler.warning': "इस रिव्यू में स्पॉइलर हैं",
'spoiler.show': "स्पॉइलर दिखाएँ",
'spoiler.badge': "स्पॉइलर",
'comments.title': "टिप्पणियाँ",
'comments.none': "अभी कोई टिप्पणी नहीं। बातचीत शुरू करें!",
'comments.placeholder': "टिप्पणी लिखें…",
'comments.send': "भेजें",
+1 -2
View File
@@ -136,7 +136,6 @@ const dict: Translations = {
'release.episodeFinal': 'Episode {ep} · final',
'release.filmJapan': 'Film di Jepang',
'card.ep': 'Eps. {n}',
'card.plusOne': '+1 episode untuk {title}',
'card.open': 'Buka {title}',
@@ -753,6 +752,7 @@ const dict: Translations = {
'title.manualHint': "Tidak ketemu? Buat sendiri.",
'title.manualTitle': "Judul baru",
'title.inLibrary': "Di pustakamu",
'title.done': 'Selesai',
'title.added': "Ditambahkan ke pustakamu",
'title.adding': "Menambahkan…",
'title.yourRating': "Nilaimu",
@@ -1021,7 +1021,6 @@ const dict: Translations = {
'spoiler.warning': "Ulasan ini mengandung spoiler",
'spoiler.show': "Tampilkan spoiler",
'spoiler.badge': "Spoiler",
'comments.title': "Komentar",
'comments.none': "Belum ada komentar. Mulai percakapan!",
'comments.placeholder': "Tulis komentar…",
'comments.send': "Kirim",
+1 -2
View File
@@ -136,7 +136,6 @@ const dict: Translations = {
'release.episodeFinal': 'Episodio {ep} · finale',
'release.filmJapan': 'Film in Giappone',
'card.ep': 'Ep. {n}',
'card.plusOne': '+1 episodio per {title}',
'card.open': 'Apri {title}',
@@ -753,6 +752,7 @@ const dict: Translations = {
'title.manualHint': "Non lo trovi? Crea tu la scheda.",
'title.manualTitle': "Nuovo titolo",
'title.inLibrary': "Nella tua libreria",
'title.done': 'Fatto',
'title.added': "Aggiunto alla tua libreria",
'title.adding': "Aggiunta…",
'title.yourRating': "Il tuo voto",
@@ -1021,7 +1021,6 @@ const dict: Translations = {
'spoiler.warning': "Questa recensione contiene spoiler",
'spoiler.show': "Mostra spoiler",
'spoiler.badge': "Spoiler",
'comments.title': "Commenti",
'comments.none': "Ancora nessun commento. Inizia tu la conversazione!",
'comments.placeholder': "Scrivi un commento…",
'comments.send': "Invia",
+1 -2
View File
@@ -136,7 +136,6 @@ const dict: Translations = {
'release.episodeFinal': '第{ep}話・最終話',
'release.filmJapan': '日本で劇場公開',
'card.ep': '第{n}話',
'card.plusOne': '{title}に+1話',
'card.open': '{title}を開く',
@@ -753,6 +752,7 @@ const dict: Translations = {
'title.manualHint': "見つからない場合は自分で作成できます。",
'title.manualTitle': "新しい作品",
'title.inLibrary': "ライブラリにあります",
'title.done': '完了',
'title.added': "ライブラリに追加しました",
'title.adding': "追加中…",
'title.yourRating': "あなたの評価",
@@ -1021,7 +1021,6 @@ const dict: Translations = {
'spoiler.warning': "このレビューにはネタバレが含まれます",
'spoiler.show': "ネタバレを表示",
'spoiler.badge': "ネタバレ",
'comments.title': "コメント",
'comments.none': "まだコメントはありません。話しかけてみましょう!",
'comments.placeholder': "コメントを書く…",
'comments.send': "送信",
+1 -2
View File
@@ -136,7 +136,6 @@ const dict: Translations = {
'release.episodeFinal': '{ep}화 · 최종화',
'release.filmJapan': '일본 개봉 영화',
'card.ep': '{n}화',
'card.plusOne': '{title} +1화',
'card.open': '{title} 열기',
@@ -753,6 +752,7 @@ const dict: Translations = {
'title.manualHint': "찾을 수 없나요? 직접 만들어 보세요.",
'title.manualTitle': "새 작품",
'title.inLibrary': "내 라이브러리에 있음",
'title.done': '완료',
'title.added': "내 라이브러리에 추가했어요",
'title.adding': "추가하는 중…",
'title.yourRating': "내 평점",
@@ -1021,7 +1021,6 @@ const dict: Translations = {
'spoiler.warning': "이 리뷰에는 스포일러가 있습니다",
'spoiler.show': "스포일러 보기",
'spoiler.badge': "스포일러",
'comments.title': "댓글",
'comments.none': "아직 댓글이 없어요. 대화를 시작해 보세요!",
'comments.placeholder': "댓글 쓰기…",
'comments.send': "보내기",
+1 -2
View File
@@ -136,7 +136,6 @@ const dict: Translations = {
'release.episodeFinal': 'Aflevering {ep} · finale',
'release.filmJapan': 'Film in Japan',
'card.ep': 'Afl. {n}',
'card.plusOne': '+1 aflevering voor {title}',
'card.open': '{title} openen',
@@ -753,6 +752,7 @@ const dict: Translations = {
'title.manualHint': "Niet gevonden? Maak hem zelf aan.",
'title.manualTitle': "Nieuwe titel",
'title.inLibrary': "In je bibliotheek",
'title.done': 'Klaar',
'title.added': "Toegevoegd aan je bibliotheek",
'title.adding': "Toevoegen…",
'title.yourRating': "Jouw beoordeling",
@@ -1021,7 +1021,6 @@ const dict: Translations = {
'spoiler.warning': "Deze recensie bevat spoilers",
'spoiler.show': "Spoiler tonen",
'spoiler.badge': "Spoiler",
'comments.title': "Reacties",
'comments.none': "Nog geen reacties. Begin het gesprek!",
'comments.placeholder': "Schrijf een reactie…",
'comments.send': "Versturen",
+1 -2
View File
@@ -136,7 +136,6 @@ const dict: Translations = {
'release.episodeFinal': 'Odcinek {ep} · finał',
'release.filmJapan': 'Film w Japonii',
'card.ep': 'Odc. {n}',
'card.plusOne': '+1 odcinek: {title}',
'card.open': 'Otwórz {title}',
@@ -821,6 +820,7 @@ const dict: Translations = {
'title.manualHint': "Nie możesz znaleźć? Utwórz go sam.",
'title.manualTitle': "Nowy tytuł",
'title.inLibrary': "W twojej bibliotece",
'title.done': 'Gotowe',
'title.added': "Dodano do twojej biblioteki",
'title.adding': "Dodawanie…",
'title.yourRating': "Twoja ocena",
@@ -1121,7 +1121,6 @@ const dict: Translations = {
'spoiler.warning': "Ta recenzja zawiera spoilery",
'spoiler.show': "Pokaż spoiler",
'spoiler.badge': "Spoiler",
'comments.title': "Komentarze",
'comments.none': "Brak komentarzy. Rozpocznij rozmowę!",
'comments.placeholder': "Napisz komentarz…",
'comments.send': "Wyślij",
+1 -2
View File
@@ -136,7 +136,6 @@ const dict: Translations = {
'release.episodeFinal': 'Episódio {ep} · final',
'release.filmJapan': 'Filme no Japão',
'card.ep': 'Ep. {n}',
'card.plusOne': '+1 episódio de {title}',
'card.open': 'Abrir {title}',
@@ -753,6 +752,7 @@ const dict: Translations = {
'title.manualHint': "Não encontrou? Crie a ficha você mesmo.",
'title.manualTitle': "Novo título",
'title.inLibrary': "Na sua biblioteca",
'title.done': 'Concluir',
'title.added': "Adicionado à sua biblioteca",
'title.adding': "Adicionando…",
'title.yourRating': "Sua nota",
@@ -1021,7 +1021,6 @@ const dict: Translations = {
'spoiler.warning': "Esta resenha contém spoilers",
'spoiler.show': "Mostrar spoiler",
'spoiler.badge': "Spoiler",
'comments.title': "Comentários",
'comments.none': "Nenhum comentário ainda. Comece a conversa!",
'comments.placeholder': "Escreva um comentário…",
'comments.send': "Enviar",
+1 -2
View File
@@ -136,7 +136,6 @@ const dict: Translations = {
'release.episodeFinal': 'Серия {ep} · финал',
'release.filmJapan': 'Фильм в Японии',
'card.ep': 'Сер. {n}',
'card.plusOne': '+1 серия для {title}',
'card.open': 'Открыть {title}',
@@ -821,6 +820,7 @@ const dict: Translations = {
'title.manualHint': "Не нашли? Создайте карточку сами.",
'title.manualTitle': "Новое название",
'title.inLibrary': "В вашей библиотеке",
'title.done': 'Готово',
'title.added': "Добавлено в вашу библиотеку",
'title.adding': "Добавление…",
'title.yourRating': "Ваша оценка",
@@ -1121,7 +1121,6 @@ const dict: Translations = {
'spoiler.warning': "Этот отзыв содержит спойлеры",
'spoiler.show': "Показать спойлер",
'spoiler.badge': "Спойлер",
'comments.title': "Комментарии",
'comments.none': "Комментариев пока нет. Начните обсуждение!",
'comments.placeholder': "Написать комментарий…",
'comments.send': "Отправить",
+1 -2
View File
@@ -136,7 +136,6 @@ const dict: Translations = {
'release.episodeFinal': 'ตอนที่ {ep} · ตอนจบ',
'release.filmJapan': 'ภาพยนตร์ในญี่ปุ่น',
'card.ep': 'ตอน {n}',
'card.plusOne': '+1 ตอนสำหรับ {title}',
'card.open': 'เปิด {title}',
@@ -753,6 +752,7 @@ const dict: Translations = {
'title.manualHint': "หาไม่เจอ? สร้างเองได้เลย",
'title.manualTitle': "เรื่องใหม่",
'title.inLibrary': "อยู่ในคลังของคุณ",
'title.done': 'เสร็จสิ้น',
'title.added': "เพิ่มในคลังของคุณแล้ว",
'title.adding': "กำลังเพิ่ม…",
'title.yourRating': "คะแนนของคุณ",
@@ -1021,7 +1021,6 @@ const dict: Translations = {
'spoiler.warning': "รีวิวนี้มีสปอยล์",
'spoiler.show': "แสดงสปอยล์",
'spoiler.badge': "สปอยล์",
'comments.title': "ความคิดเห็น",
'comments.none': "ยังไม่มีความคิดเห็น เริ่มคุยกันเลย!",
'comments.placeholder': "เขียนความคิดเห็น…",
'comments.send': "ส่ง",
+1 -2
View File
@@ -136,7 +136,6 @@ const dict: Translations = {
'release.episodeFinal': '{ep}. Bölüm · final',
'release.filmJapan': 'Japonya’da film',
'card.ep': 'Böl. {n}',
'card.plusOne': '{title} için +1 bölüm',
'card.open': '{title} aç',
@@ -753,6 +752,7 @@ const dict: Translations = {
'title.manualHint': "Bulamadın mı? Kendin oluştur.",
'title.manualTitle': "Yeni başlık",
'title.inLibrary': "Kitaplığında",
'title.done': 'Tamam',
'title.added': "Kitaplığına eklendi",
'title.adding': "Ekleniyor…",
'title.yourRating': "Puanın",
@@ -1021,7 +1021,6 @@ const dict: Translations = {
'spoiler.warning': "Bu inceleme spoiler içeriyor",
'spoiler.show': "Spoiler’ı göster",
'spoiler.badge': "Spoiler",
'comments.title': "Yorumlar",
'comments.none': "Henüz yorum yok. Sohbeti sen başlat!",
'comments.placeholder': "Yorum yaz…",
'comments.send': "Gönder",
+1 -2
View File
@@ -136,7 +136,6 @@ const dict: Translations = {
'release.episodeFinal': 'Tập {ep} · tập cuối',
'release.filmJapan': 'Phim chiếu tại Nhật',
'card.ep': 'Tập {n}',
'card.plusOne': '+1 tập cho {title}',
'card.open': 'Mở {title}',
@@ -753,6 +752,7 @@ const dict: Translations = {
'title.manualHint': "Không tìm thấy? Tự tạo thẻ phim.",
'title.manualTitle': "Phim mới",
'title.inLibrary': "Trong thư viện của bạn",
'title.done': 'Xong',
'title.added': "Đã thêm vào thư viện",
'title.adding': "Đang thêm…",
'title.yourRating': "Điểm của bạn",
@@ -1021,7 +1021,6 @@ const dict: Translations = {
'spoiler.warning': "Bài đánh giá này có tiết lộ nội dung",
'spoiler.show': "Hiện nội dung",
'spoiler.badge': "Spoiler",
'comments.title': "Bình luận",
'comments.none': "Chưa có bình luận. Hãy bắt đầu cuộc trò chuyện!",
'comments.placeholder': "Viết bình luận…",
'comments.send': "Gửi",
+1 -2
View File
@@ -136,7 +136,6 @@ const dict: Translations = {
'release.episodeFinal': '第{ep}集 · 大结局',
'release.filmJapan': '日本上映电影',
'card.ep': '第{n}集',
'card.plusOne': '《{title}》+1集',
'card.open': '打开《{title}》',
@@ -753,6 +752,7 @@ const dict: Translations = {
'title.manualHint': "找不到?自己创建条目。",
'title.manualTitle': "新作品",
'title.inLibrary': "已在你的片库中",
'title.done': '完成',
'title.added': "已添加到你的片库",
'title.adding': "正在添加…",
'title.yourRating': "你的评分",
@@ -1021,7 +1021,6 @@ const dict: Translations = {
'spoiler.warning': "此评论包含剧透",
'spoiler.show': "显示剧透",
'spoiler.badge': "剧透",
'comments.title': "评论",
'comments.none': "还没有评论,来开启讨论吧!",
'comments.placeholder': "写评论…",
'comments.send': "发送",
+1 -4
View File
@@ -6,7 +6,6 @@ import { convertLegacyBackup, isLegacyBackup } from './legacyImport'
import { cleanThemeMode } from './theme'
import {
cleanText,
isHexColor,
isPlainObject,
isSafeExternalId,
isSafeId,
@@ -158,8 +157,6 @@ export function normalizeSettings(raw: unknown): Partial<Settings> | undefined {
if (!isPlainObject(raw)) return undefined
const out: Partial<Settings> = {}
if (Array.isArray(raw.topCategories)) out.topCategories = ALL_TOP_CATEGORIES.filter((c) => (raw.topCategories as unknown[]).includes(c))
// Couleur d'accent : plus réglable, gardée seulement pour ne pas casser les sauvegardes et la synchro
if (isHexColor(raw.accentColor)) out.accentColor = raw.accentColor.toLowerCase()
const themeMode = cleanThemeMode(raw.themeMode)
if (themeMode) out.themeMode = themeMode
if (Array.isArray(raw.statsHiddenMonths)) {
@@ -185,7 +182,7 @@ export function buildBackup(items: MediaItem[], settings: Settings, lists: Custo
*/
export async function exportBackup(items: MediaItem[], settings: Settings, lists: CustomList[] = []): Promise<'shared' | 'downloaded'> {
const json = JSON.stringify(buildBackup(items, settings, lists), null, 2)
const filename = `kino-sauvegarde-${todayISO()}.json`
const filename = `bobinoo-sauvegarde-${todayISO()}.json`
const file = new File([json], filename, { type: 'application/json' })
const isTouch = window.matchMedia?.('(pointer: coarse)').matches
+1 -1
View File
@@ -15,7 +15,7 @@ import { cloudFetch } from './api'
* En cas de conflit, la modification la plus récente gagne (vérifié aussi par la base).
*/
export type SyncedSettings = Pick<Settings, 'topCategories' | 'accentColor' | 'themeMode' | 'statsHiddenMonths'>
export type SyncedSettings = Pick<Settings, 'topCategories' | 'themeMode' | 'statsHiddenMonths'>
export interface SyncHooks {
getLists: () => CustomList[]
-21
View File
@@ -1,21 +0,0 @@
/**
* Les notifications ont été retirées de l'app (novembre 2026).
* Un appareil qui les avait activées garde un abonnement dans son navigateur : on le résilie
* au lancement, pour qu'il ne reste rien. Le serveur, lui, n'en envoie plus aucune.
*/
export async function dropPushSubscription(): Promise<void> {
try {
if (!('serviceWorker' in navigator) || !('PushManager' in window)) return
const reg = await navigator.serviceWorker.getRegistration()
const sub = await reg?.pushManager.getSubscription()
await sub?.unsubscribe()
} catch {
/* rien à faire */
}
// Ancien état local des notifications push
try {
for (const k of Object.keys(localStorage)) if (/^azuucine:(?:[^:]+:)?push$/.test(k)) localStorage.removeItem(k)
} catch {
/* stockage indisponible */
}
}
+1 -2
View File
@@ -4,7 +4,6 @@ import type { MediaItem } from '../types'
import { TYPE_BY_VALUE } from './constants'
import { episodeCap } from './franchise'
import { safePosterUrl } from './security'
import { formatRating } from './utils'
/**
* Génère des images à partager (story / message) directement dans le navigateur,
@@ -454,4 +453,4 @@ export const slug = (s: string) =>
.toLowerCase()
.replace(/[^a-z0-9]+/g, '-')
.replace(/^-|-$/g, '')
.slice(0, 40) || 'kino'
.slice(0, 40) || 'bobinoo'
+18 -3
View File
@@ -1,7 +1,7 @@
import { genreLabel, subtypeLabel } from '../lib/genres'
import { locale, t } from '../i18n'
import { CheckSquare, Hash, Heart, Search, SlidersHorizontal, X } from 'lucide-react'
import { useDeferredValue, useEffect, useMemo, useState } from 'react'
import { useDeferredValue, useEffect, useMemo, useRef, useState } from 'react'
import { StatusDot } from '../components/Badges'
import JournalView from '../components/JournalView'
import ListsView from '../components/ListsView'
@@ -31,8 +31,10 @@ interface Props {
onAdd: () => void
}
const GRID_STEP = 60
export default function CatalogPage({ onOpen, onAdd }: Props) {
const { items, settings, lists } = useMedia()
const { items, lists } = useMedia()
const [view, setView] = useState<'titles' | 'journal' | 'lists'>('titles')
const [query, setQuery] = useState('')
const [types, setTypes] = useState<Set<MediaType>>(new Set())
@@ -120,6 +122,18 @@ export default function CatalogPage({ onOpen, onAdd }: Props) {
}
// Fiches sélectionnées encore présentes (une fiche a pu être supprimée entre-temps)
// Grille affichée par tranches : une grande bibliothèque ne dessine pas des centaines de cartes d'un coup
const [gridCount, setGridCount] = useState(GRID_STEP)
// Retour au début seulement quand la recherche ou les filtres changent (pas quand une fiche bouge : +1, note…)
useEffect(() => setGridCount(GRID_STEP), [deferredQuery, types, status, genre, minRating, favOnly, tag, sort])
const more = useRef<HTMLDivElement>(null)
useEffect(() => {
const el = more.current
if (!el || gridCount >= results.length) return
const io = new IntersectionObserver((e) => e[0]?.isIntersecting && setGridCount((n) => n + GRID_STEP), { rootMargin: '1200px 0px' })
io.observe(el)
return () => io.disconnect()
}, [gridCount, results.length])
const selected = useMemo(() => (selection ? items.filter((i) => selection.has(i.id)) : []), [items, selection])
const allShownSelected = selecting && results.length > 0 && results.every((i) => selection.has(i.id))
@@ -314,7 +328,7 @@ export default function CatalogPage({ onOpen, onAdd }: Props) {
/>
) : (
<div className="mt-3 grid grid-cols-2 gap-x-3.5 gap-y-6 sm:grid-cols-3 lg:grid-cols-5 xl:grid-cols-6 2xl:grid-cols-8">
{results.map((item) => (
{results.slice(0, gridCount).map((item) => (
<SelectableCard
key={item.id}
title={item.title}
@@ -328,6 +342,7 @@ export default function CatalogPage({ onOpen, onAdd }: Props) {
))}
</div>
)}
{gridCount < results.length && <div ref={more} className="h-px" aria-hidden="true" />}
{selecting && <SelectionBar selected={selected} onDone={exitSelection} />}
</>
)}
+5 -5
View File
@@ -35,7 +35,7 @@ function persistLists(lists: CustomList[]) {
/* ignore */
}
}
const DEFAULT_SETTINGS: Settings = { topCategories: ALL_TOP_CATEGORIES, accentColor: '#f0a63a', themeMode: 'auto' }
const DEFAULT_SETTINGS: Settings = { topCategories: ALL_TOP_CATEGORIES, themeMode: 'auto' }
/** Relit les réglages en ne gardant que des valeurs valides (le localStorage peut avoir été modifié). */
function loadSettings(): Settings {
@@ -242,9 +242,9 @@ export function MediaProvider({
getLists: () => listsRef.current,
applyLists: (next) => setLists(() => next, true),
getSettings: () => {
const { topCategories, accentColor, themeMode, statsHiddenMonths } = settingsRef.current
const { topCategories, themeMode, statsHiddenMonths } = settingsRef.current
// Mois masqués : liste vide plutôt qu'absente, sinon « tout réafficher » ne partirait jamais au serveur
return { topCategories, accentColor, themeMode, statsHiddenMonths: statsHiddenMonths ?? [] }
return { topCategories, themeMode, statsHiddenMonths: statsHiddenMonths ?? [] }
},
applySettings: (patch) => updateSettingsRef.current(patch, true),
itemsChanged: () => void reloadItems().catch(() => {}),
@@ -285,7 +285,7 @@ export function MediaProvider({
}, [settings.themeMode])
const updateSettings = useCallback((patch: Partial<Settings>, silent = false) => {
if (!silent && syncRef.current && ('topCategories' in patch || 'accentColor' in patch || 'themeMode' in patch || 'statsHiddenMonths' in patch)) syncRef.current.markSettings()
if (!silent && syncRef.current && ('topCategories' in patch || 'themeMode' in patch || 'statsHiddenMonths' in patch)) syncRef.current.markSettings()
setSettings((prev) => {
const next = { ...prev, ...patch }
try {
@@ -574,7 +574,7 @@ export function MediaProvider({
const current = settingsRef.current
const merged = oldSettings
const patch: Partial<Settings> = {}
for (const k of ['topCategories', 'accentColor', 'themeMode'] as const) {
for (const k of ['topCategories', 'themeMode'] as const) {
if (mine[k] === undefined && merged[k] !== undefined) Object.assign(patch, { [k]: merged[k] })
}
if (oldSettings.statsHiddenMonths?.length) patch.statsHiddenMonths = [...new Set([...(current.statsHiddenMonths ?? []), ...oldSettings.statsHiddenMonths])].sort()
-2
View File
@@ -105,8 +105,6 @@ export interface Settings {
tmdbKey?: string
/** Catégories de Top 5 affichées sur l'accueil (toutes par défaut). */
topCategories: TopCategory[]
/** Ancienne couleur d'accent (plus réglable), gardée pour la compatibilité des sauvegardes et de la synchro. */
accentColor: string
/** Apparence (clair ou sombre). « auto » suit le navigateur. */
themeMode: ThemeMode
/** Mois masqués dans la courbe des stats (AAAA-MM), ex. le mois où j'ai tout ajouté d'un coup. */
@@ -0,0 +1,53 @@
-- Bobinoo — ménage du 28 novembre 2026 : restes des anciennes notifications (push, commentaires,
-- invitations de listes, épisodes). Idempotent. Seules les notifications d'abonnement subsistent.
-- 1) Les fonctions qui appelaient azuu_notify (qui ne faisait plus rien) ou nettoyaient des
-- notifications d'invitation (plus jamais créées) : on retire seulement ces lignes, le reste est inchangé.
do $$
declare
f text;
def text;
cleaned text;
begin
foreach f in array array[
'public.add_review_comment(uuid,text,text)',
'public.invite_to_shared_list(uuid,uuid)',
'public.delete_shared_list(uuid)',
'public.leave_shared_list(uuid)',
'public.remove_shared_list_member(uuid,uuid)',
'public.respond_shared_list_invite(uuid,boolean)'
] loop
if to_regprocedure(f) is null then continue; end if;
def := pg_get_functiondef(to_regprocedure(f));
cleaned := regexp_replace(def, '[ \t]*if n > 0 then\s*perform public\.azuu_notify\([^;]*\);\s*end if;[ \t]*\r?\n', '', 'g');
cleaned := regexp_replace(cleaned, '[ \t]*--[^\n]*\r?\n[ \t]*perform public\.azuu_notify\([^;]*\);[ \t]*\r?\n', '', 'g');
cleaned := regexp_replace(cleaned, '[ \t]*perform public\.azuu_notify\([^;]*\);[ \t]*\r?\n', '', 'g');
cleaned := regexp_replace(cleaned, '[ \t]*delete from public\.notifications [^;]*shared_list_invite[^;]*;[ \t]*\r?\n', '', 'g');
if cleaned <> def then execute cleaned; end if;
end loop;
end $$;
-- 2) Plus aucun appel : la fonction vide disparaît
do $$ begin
if not exists (
select 1 from pg_proc p join pg_namespace n on n.oid = p.pronamespace
where n.nspname = 'public' and p.proname <> 'azuu_notify' and p.prosrc ~ '\mazuu_notify\M'
) then
drop function if exists public.azuu_notify(uuid, text, uuid, text, text);
end if;
end $$;
-- 3) Table des notifications réduite à ce qui sert (abonnements) : anciennes colonnes et index retirés
delete from public.notifications where kind not in ('new_follower', 'follow_request', 'unfollow', 'follow_accepted');
alter table public.notifications drop constraint if exists notifications_kind_check;
alter table public.notifications add constraint notifications_kind_check
check (kind in ('new_follower', 'follow_request', 'unfollow', 'follow_accepted'));
drop index if exists public.notifications_unpushed_idx;
drop index if exists public.notifications_dedup_idx;
alter table public.notifications
drop column if exists item_id,
drop column if exists emoji,
drop column if exists episode,
drop column if exists ep_count,
drop column if exists dedup,
drop column if exists pushed_at;
@@ -0,0 +1,3 @@
-- Bobinoo — index pour les notifications d'abonnement (le déclencheur cherche par compte + personne). Idempotent.
create index if not exists notifications_user_actor_idx on public.notifications (user_id, actor_id);
create index if not exists notifications_actor_idx on public.notifications (actor_id);
+3
View File
@@ -6,6 +6,9 @@
"moduleResolution": "bundler",
"jsx": "react-jsx",
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noEmit": true,
"isolatedModules": true,
"skipLibCheck": true,
-1
View File
@@ -1 +0,0 @@
{"root":["./src/App.tsx","./src/Root.tsx","./src/main.tsx","./src/store.tsx","./src/types.ts","./src/vite-env.d.ts","./src/components/AccountSection.tsx","./src/components/AuthScreen.tsx","./src/components/Badges.tsx","./src/components/BottomNav.tsx","./src/components/CalendarView.tsx","./src/components/ConfirmDialog.tsx","./src/components/DatabaseSearch.tsx","./src/components/Disagreements.tsx","./src/components/EpisodeList.tsx","./src/components/HomeHero.tsx","./src/components/ItemHero.tsx","./src/components/JournalView.tsx","./src/components/ListsView.tsx","./src/components/MediaCard.tsx","./src/components/MediaForm.tsx","./src/components/Poster.tsx","./src/components/Rating.tsx","./src/components/Recommendations.tsx","./src/components/Roulette.tsx","./src/components/SharePreview.tsx","./src/components/SideNav.tsx","./src/components/TagInput.tsx","./src/components/TopFive.tsx","./src/components/TopFiveEditor.tsx","./src/components/ui.tsx","./src/components/social/Avatar.tsx","./src/components/social/EditProfile.tsx","./src/components/social/FollowList.tsx","./src/components/social/FriendsFeed.tsx","./src/components/social/ItemPeek.tsx","./src/components/social/Notifications.tsx","./src/components/social/PeopleSearch.tsx","./src/components/social/PersonRow.tsx","./src/components/social/ProfileView.tsx","./src/components/social/Reactions.tsx","./src/components/social/Sheet.tsx","./src/components/social/SocialProvider.tsx","./src/components/social/TitleReviews.tsx","./src/components/social/WelcomeProfile.tsx","./src/i18n/index.ts","./src/i18n/react.tsx","./src/i18n/locales/ar.ts","./src/i18n/locales/de.ts","./src/i18n/locales/en.ts","./src/i18n/locales/es.ts","./src/i18n/locales/fr.ts","./src/i18n/locales/hi.ts","./src/i18n/locales/id.ts","./src/i18n/locales/it.ts","./src/i18n/locales/ja.ts","./src/i18n/locales/ko.ts","./src/i18n/locales/nl.ts","./src/i18n/locales/pl.ts","./src/i18n/locales/pt.ts","./src/i18n/locales/ru.ts","./src/i18n/locales/th.ts","./src/i18n/locales/tr.ts","./src/i18n/locales/vi.ts","./src/i18n/locales/zh.ts","./src/lib/airing.ts","./src/lib/backup.ts","./src/lib/catalogApi.ts","./src/lib/constants.ts","./src/lib/db.ts","./src/lib/dragScroll.ts","./src/lib/escape.ts","./src/lib/franchise.ts","./src/lib/genres.ts","./src/lib/globalReleases.ts","./src/lib/image.ts","./src/lib/legacyImport.ts","./src/lib/onResume.ts","./src/lib/publicRatings.ts","./src/lib/pwa.ts","./src/lib/releases.ts","./src/lib/roulette.ts","./src/lib/scope.ts","./src/lib/scrollLock.ts","./src/lib/security.ts","./src/lib/shareCard.ts","./src/lib/stats.ts","./src/lib/theme.ts","./src/lib/timeAgo.ts","./src/lib/utils.ts","./src/lib/cloud/admin.ts","./src/lib/cloud/api.ts","./src/lib/cloud/auth.ts","./src/lib/cloud/config.ts","./src/lib/cloud/notifications.ts","./src/lib/cloud/reviews.ts","./src/lib/cloud/social.ts","./src/lib/cloud/sync.ts","./src/pages/AdminPage.tsx","./src/pages/CatalogPage.tsx","./src/pages/HomePage.tsx","./src/pages/SettingsPage.tsx","./src/pages/StatsPage.tsx","./vite.config.ts"],"version":"5.9.3"}