Format ratio (60):
- OpenAI gpt-image-1: choix automatique de size (1024x1024 / 1536x1024 /
1024x1536) selon ratio cible le plus proche
- Crop sharp post-génération pour matcher EXACTEMENT le ratio source
- segmentationService passe les dimensions du projet (width/height)
à regenerateBackground et regenerateCharacter
- Routes generation.* récupèrent project.width/height depuis DB
- Testé: frame 25 (854x480) -> bg généré en 854x480 exact
Redirect bug (61):
- DashboardLayout: navigate("/login") déplacé du render vers useEffect
(anti-pattern React fix)
- main.tsx redirectToLoginIfUnauthorized: préserve l'URL d'origine
dans ?return=...
- Login.tsx onSuccess: redirige vers ?return URL au lieu de "/"
- Plus de retour à l'accueil après refresh ou opération
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| types | ||
| context.ts | ||
| cookies.ts | ||
| dataApi.ts | ||
| env.ts | ||
| heartbeat.ts | ||
| imageGeneration.ts | ||
| index.ts | ||
| llm.ts | ||
| localAuth.ts | ||
| map.ts | ||
| notification.ts | ||
| oauth.ts | ||
| sdk.ts | ||
| storageProxy.ts | ||
| systemRouter.ts | ||
| trpc.ts | ||
| vite.ts | ||
| voiceTranscription.ts | ||