feat(frontend): real login/register/session (PR #90 rebased)#118
Open
ericmt-98 wants to merge 1 commit into
Open
feat(frontend): real login/register/session (PR #90 rebased)#118ericmt-98 wants to merge 1 commit into
ericmt-98 wants to merge 1 commit into
Conversation
) Integra el flujo de auth del PR #90 (sudo-robi:fix/frontend-auth-session) sobre el main actual, resolviendo conflictos en App.tsx, Profile.tsx y services/api.ts contra los 23 commits que aterrizaron despues. - Login/Register screens + ProtectedRoute que redirige a /login sin sesion - Logout en Profile (limpia SecureStorage y vuelve a /login) - Interceptor global 401 -> limpia sesion y manda a /login - El auto-registro demo juan_/farmacia_ queda detras de VITE_DEMO_MODE; en modo real se conserva la validacion de arranque + keypair de dispositivo - Conserva ClaimQR, startup health-check, devicePublicKey y merchant-confirm Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Summary
Integración de PR #90 (sudo-robi:fix/frontend-auth-session) sobre
mainactual.Resuelve conflictos en App.tsx, Profile.tsx y services/api.ts contra los 23 commits
que llegaron a
maindespués de que se abrió el PR original.ProtectedRoute(redirige a/loginsin sesión)/login)/loginjuan_/farmacia_detrás deVITE_DEMO_MODE=truemerchant-confirmde mainSupersede PR #90.
Test plan
VITE_DEMO_MODE→ muestra pantalla de Login/login/login🤖 Generated with Claude Code