feat: Login com Google na UI + sincronização de documentação (fases/README)#291
Merged
Conversation
- Adiciona divisor 'ou' + OutlinedButton 'Entrar com Google' na etapa de e-mail - Handler usa authStateProvider.loginWithGoogle (Google Sign-In + Firebase + auth/social) - Cancelamento do seletor nao navega; erro mostra snackbar - Teste de widget: botao aparece na etapa de e-mail - Observacao: E2E requer GOOGLE_SIGN_IN_CLIENT_ID + config Firebase Co-authored-by: Rapha <sraphaz@users.noreply.github.com>
…gas recentes - README: secao 'App (Flutter) - Entregas Recentes' (login Google, eventos, governanca, deep-links) + proximos passos - FEATURE_MATRIX: linha Governance; eventos (create-event) e mapa (deep-links) atualizados - STABLE_RELEASE_APP_ONBOARDING: implementado + tabela de proximos passos atualizada - CHANGELOG: entradas das entregas recentes do app - AGENTS.md: notas (l10n gen, flutter_map onTap, registrar jornadas BFF) + manter docs em sincronia Co-authored-by: Rapha <sraphaz@users.noreply.github.com>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
📋 Descrição
Dois conjuntos de mudanças:
1. Login com Google na UI (próximo passo da sequência)
O backend/data/provider já tinham
loginWithGoogle(Google Sign-In + Firebase + jornadaauth/social); faltava o botão na UI.authStateProvider.loginWithGoogle; cancelar o seletor não navega; erro mostra snackbar; sucesso vai para/onboarding.GOOGLE_SIGN_IN_CLIENT_ID(OAuth Web) + config Firebase (ver ação abaixo).2. Sincronização de documentação (conforme pedido)
Atualiza a documentação para refletir as entregas recentes do app (governança/votações, criação de eventos, deep-links no mapa, login Google):
README.md: nova seção "📱 App (Flutter) — Entregas Recentes" + próximos passos atualizados.docs/FEATURE_MATRIX_API_BFF_APP.md: nova linha Governance; linhas de Events (create-event) e Map (deep-links) atualizadas.docs/STABLE_RELEASE_APP_ONBOARDING.md: seção "implementado" + tabela "próximos passos" atualizadas.docs/CHANGELOG.md: entradas das entregas recentes (inclui C4 docs, governança, eventos, deep-links, login Google).AGENTS.md: notas duráveis (geração de l10n, toque noflutter_mapviaMapOptions.onTap, registrar jornadas no BFF) + manter README/changelog/matriz/fases em sincronia a cada entrega.🔄 Tipo de Mudança
🧪 Testes
flutter analyze --no-fatal-infos— sem erros/warnings nas mudançasflutter test— 48 passando (+1: botão Google na etapa de e-mail)Walkthrough
Tela de login com o botão Entrar com Google
Observação: a verificação E2E do fluxo Google (abrir o seletor da Google e autenticar) não foi executada porque requer
GOOGLE_SIGN_IN_CLIENT_IDe configuração Firebase, ausentes neste ambiente. O botão, o wiring e o tratamento de erro/cancelamento estão implementados e cobertos por teste de widget.To show artifacts inline, enable in settings.