Repository navigation
fix(pedidos): tabs independientes, badges live y fiados X/Y estable - #21
Merged
Merged
Conversation
- Levanta 3 usePedidos al padre (hoy/fiados/alertas) para datasets independientes. - Badges de Fiados/Alertas reflejan conteos live desde datasets dedicados. - Fiados X/Y ya no cambia con filtros de Pedidos. - Tablas Fiados/Alertas ahora reciben datos/loading/error como presentacionales. - Agrega tests para useReconnectHandler y E2E de independencia de tabs. - Fix auxiliar: state preciosLoaded faltante en clientes-client.
casasleonj
added a commit
that referenced
this pull request
Jul 25, 2026
…letons + session-limits E2E override - proxy.ts: auth check antes de rate-limit (protege Redis de bots) - auth-events.ts: isIntentionalSignOut flag para no redirigir a ?reason=expired - header.tsx, sidebar.tsx: markIntentionalSignOut + redirectTo (deprecado callbackUrl) - session-expiry-guard.tsx: chequea isIntentionalSignOut en ambos paths - session-limits.ts: SESSION_LIMITS_JSON env override para E2E paralelo - playwright.config.ts: inyecta override + expone al runner - e2e/auth.spec.ts: maneja modal BaseCaja + regex URL matcher - e2e/session-limits.spec.ts: skip cuando override activo - loading.tsx: skeletons en 6 rutas calientes (partial prefetching) - AGENTS.md: issues #20 (E2E auth), #21 (Redis cap), #12 actualizado - prisma/clean.ts: incluye SesionActiva
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Qué arregla
Cambios clave
usePedidosal componente padre (hoy,fiados,alertas) con datasets independientes.FiadosTableyAlertasTableahora son presentacionales; recibenpedidos,loading,error.data-testiden los tabs.Tests
e2e/pedidos-filtros-funcionales.spec.ts.useReconnectHandler.npx tsc --noEmit✅npx vitest run✅ (1934 tests)Fix auxiliar
preciosLoadedfaltante enclientes-client/index.tsxque rompía el typecheck.