Conversation
added 9 commits
June 14, 2026 21:55
…a mapping for Firestore operations
…out, avatar, radar chart e grid 3 colunas
…ile grid, and radar chart
…pact mode support
…with visibility support
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus 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)
Comment |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…fileCard components
YnotMax
added a commit
that referenced
this pull request
Jun 16, 2026
* # Integração de Perfis e Correção de Integridade (#49, #55) (#66) * docs: reestruturar documentacao principal e integrar guia de revisao de prs * feat: implement FirebaseProfileRepository with Zod validation and data mapping for Firestore operations --------- Co-authored-by: tony max <tonymaxonline@gmail.com> * feat(discover): controle de acesso ao Roast de IA, correção de oscilações no Radar e integridade do Firestore (#68) * docs: reestruturar documentacao principal e integrar guia de revisao de prs * feat: implement FirebaseProfileRepository with Zod validation and data mapping for Firestore operations * feat(onboarding): adjust onboarding language to matchmaker identity (Issue #43, #44) * Revert "feat(onboarding): adjust onboarding language to matchmaker identity (Issue #43, #44)" This reverts commit 2cbe6ad. * fix(discover): restaurar design original do ProfileCard com bento layout, avatar, radar chart e grid 3 colunas * feat: add profile discovery UI components including roast modal, profile grid, and radar chart * fix(discover): resolve user ID mismatch in own profile check --------- Co-authored-by: tony max <tonymaxonline@gmail.com> * Transição para Match Tech, Mensagens In-App (LGPD) e Correções no Firestore (#71) * docs: reestruturar documentacao principal e integrar guia de revisao de prs * feat: implement FirebaseProfileRepository with Zod validation and data mapping for Firestore operations * feat(onboarding): adjust onboarding language to matchmaker identity (Issue #43, #44) * Revert "feat(onboarding): adjust onboarding language to matchmaker identity (Issue #43, #44)" This reverts commit 2cbe6ad. * fix(discover): restaurar design original do ProfileCard com bento layout, avatar, radar chart e grid 3 colunas * feat: add profile discovery UI components including roast modal, profile grid, and radar chart * fix(discover): resolve user ID mismatch in own profile check * feat: create ProfileCard component with neo-brutalist styling and compact mode support * feat: implement real-time messaging system and expand profile schema with visibility support * style: rename 'sinal' to 'mensagem' to improve clarity --------- Co-authored-by: tony max <tonymaxonline@gmail.com> * 💬 Sistema de Mensagens — Histórico de Conversas e UI de Chat (#72) * docs: reestruturar documentacao principal e integrar guia de revisao de prs * feat: implement FirebaseProfileRepository with Zod validation and data mapping for Firestore operations * feat(onboarding): adjust onboarding language to matchmaker identity (Issue #43, #44) * Revert "feat(onboarding): adjust onboarding language to matchmaker identity (Issue #43, #44)" This reverts commit 2cbe6ad. * fix(discover): restaurar design original do ProfileCard com bento layout, avatar, radar chart e grid 3 colunas * feat: add profile discovery UI components including roast modal, profile grid, and radar chart * fix(discover): resolve user ID mismatch in own profile check * feat: create ProfileCard component with neo-brutalist styling and compact mode support * feat: implement real-time messaging system and expand profile schema with visibility support * style: rename 'sinal' to 'mensagem' to improve clarity * feat(messages): redesign inbox into threaded conversation UI with real-time history * fix(firestore): allow conversationId field and list permission for message threads * feat: implement messages page with real-time Firestore synchronization and conversation management --------- Co-authored-by: tony max <tonymaxonline@gmail.com> * chore: address CodeRabbit feedback on profile visibility, batch updates, and ChatThread rendering safety --------- Co-authored-by: tony max <tonymaxonline@gmail.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.
🎯 Objetivo
Esta PR consolida a evolução da plataforma Match Tech de um modelo estrito de guilda para um sistema aberto de matchmaking e descoberta de participantes para hackathons, garantindo conformidade com a LGPD e corrigindo problemas críticos de regras de segurança do Firestore no ambiente de desenvolvimento.
🛠️ O que mudou?
Exclusão completa de "A Guilda": Removemos toda a funcionalidade e referências da página obsoleta GuildaPage (sob src/features/guilda/), incluindo seus componentes e serviços.
Nova Página de Descoberta: Implementamos a página de descoberta centralizada em /discover (DiscoverPage.tsx e ProfilesGrid.tsx), alimentada pelo hook em tempo real useProfilesRealtime.ts escutando a coleção profiles.
Fluxo de Acesso: Atualizamos a Landing.tsx, o HeroSection.tsx, o RootLayout.tsx e a tabela de rotas (routes.tsx) para tornar a página de descoberta o centro das atenções, acessível apenas a usuários logados.
Seção de Confortos ("OPERO BEM"): Adicionamos a exibição das tags de conforto nos cards de perfil públicos na aba de descoberta. Segue o mesmo padrão visual de Paixões e Vetos (limite de 3 tags com tooltip dinâmico de +X para excedentes).
Para evitar a exposição direta de dados pessoais sensíveis (como e-mail e telefone) nos cards públicos:
Mensagens Privadas: Criamos um modal de mensagens SendMessageModal.tsx integrado diretamente na lista de descoberta.
Chat Interno: Implementamos a página de mensagens /messages (MessagesPage.tsx) com interface em tempo real usando a coleção messages do Firestore.
Message Repository: Adicionamos o messageRepository.ts na camada de infraestrutura seguindo a arquitetura limpa (Clean Architecture) da aplicação.
4. 🔒 Segurança & Correção de Regras do Firestore
Permissão de Visibilidade: Ajustamos o arquivo firestore.rules para permitir que o cliente envie o campo visibility nas operações de criação e atualização da coleção profiles.
Regras de Mensagens: Adicionamos validações rigorosas em firestore.rules sob match /messages/{messageId} garantindo que apenas usuários autenticados e envolvidos na conversa (remetente ou destinatário) possam interagir com as mensagens.
Padrão Onboarding: Modificamos o hook de onboarding useOnboardingForm.ts para salvar novos perfis com visibility: "public" por padrão, assegurando que apareçam para os outros operadores na descoberta.
📂 Arquivos Modificados
Regras de Segurança: firestore.rules
Onboarding & Descoberta: src/features/onboarding/hooks/useOnboardingForm.ts, src/features/discover/ (nova estrutura), src/shared/components/ui/ProfileCard.tsx
Mensagens: src/features/messages/, src/infrastructure/firebase/messageRepository.ts
Navegação & Rotas: src/routes/routes.tsx, src/layouts/RootLayout.tsx, src/features/landing/
Limpeza: Remoção completa da pasta src/features/guilda/