Skip to content

Fix varios bugs: tipo faltante, animaciones y código duplicado#1

Open
FedericoSecchi wants to merge 1 commit into
mainfrom
claude/review-fix-app-UanXl
Open

Fix varios bugs: tipo faltante, animaciones y código duplicado#1
FedericoSecchi wants to merge 1 commit into
mainfrom
claude/review-fix-app-UanXl

Conversation

@FedericoSecchi
Copy link
Copy Markdown
Owner

@FedericoSecchi FedericoSecchi commented Mar 27, 2026

  • Agrega interfaz ScreenBreakState faltante en FocusTimerContext.tsx
  • Corrige animación de salida en ScreenBreakBanner: AnimatePresence ahora siempre está montado para que la animación exit funcione
  • Elimina doble condición if (import.meta.env.DEV) anidada en AuthContext
  • Agrega data:null faltante en returns de error en signIn/signUp
  • Simplifica lógica redundante en useIdleReminder.markActivity

https://claude.ai/code/session_01MdEb77Vxh9hAnwnSPw4KRa


Note

Low Risk
Low risk: small UI animation fix and minor correctness/consistency tweaks to auth return shapes and idle reminder state handling, with no changes to auth flows or persisted data schemas.

Overview
Fixes the ScreenBreakBanner exit animation by keeping AnimatePresence mounted and rendering the banner via a single shouldShow condition with a stable key.

Cleans up small bugs/inconsistencies: removes duplicated if (import.meta.env.DEV) blocks in AuthContext, makes signIn/signUp error returns consistently include data: null, adds the missing ScreenBreakState type in FocusTimerContext, and simplifies useIdleReminder.markActivity to always clear the shown flag.

Written by Cursor Bugbot for commit 46d2205. This will update automatically on new commits. Configure here.

- Agrega interfaz ScreenBreakState faltante en FocusTimerContext.tsx
- Corrige animación de salida en ScreenBreakBanner: AnimatePresence
  ahora siempre está montado para que la animación exit funcione
- Elimina doble condición if (import.meta.env.DEV) anidada en AuthContext
- Agrega data:null faltante en returns de error en signIn/signUp
- Simplifica lógica redundante en useIdleReminder.markActivity

https://claude.ai/code/session_01MdEb77Vxh9hAnwnSPw4KRa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants