19 Commits

Author SHA1 Message Date
João Gustavo
1a471357b7 add-userID 2025-10-11 22:30:05 -03:00
c62883a5cc chore(api):remove unnecessary comments 2025-10-11 12:24:48 -03:00
535f400f2d feat(auth):refaz fluxo de cadastro 2025-10-11 00:35:52 -03:00
aeed6f3f0d feat(api): Ajustar fluxo de criação de usuários e mensagens de erro
- Removido fallback Direct Auth no frontend

- Removida tentativa de atribuir role no cliente

- Mensagens de erro aprimoradas para 'failed to assign user role' e email duplicado

- Atualizados formulários de médico e paciente para instruções claras
2025-10-10 16:40:04 -03:00
5334afc761 feat(ui): formatar datas para dd/MM/yyyy e controlar forma de pagamento 2025-10-08 21:47:57 -03:00
8284ccbadd Merge branch 'develop' into feature/api-usuarios-perfis 2025-10-04 23:44:02 -03:00
7b0406f815 feat(agenda): Replace textarea with select in Documents and attachments 2025-10-03 22:04:47 -03:00
20f7d79474 feat: add email confirmation on user registration
Implements automatic creation in Supabase Auth with mandatory
email confirmation. Adds credentials popup and clear messages
about the confirmation process.

BREAKING CHANGE: Users must confirm email before login
2025-10-03 04:42:24 -03:00
a1f8a7995c fix(patient-form): load existing patient data on edit mode
- Fix patientId type to accept string | number | null to handle UUID values
- Remove Number() conversion that was causing NaN errors on edit
- Add debug console logs to track data loading process
- Remove reference to non-existent photo_url field from Paciente type                                - Ensure form fields are properly populated with patient data when editing
2025-10-02 01:53:21 -03:00
ea63a73b43 feat(api): implementações e ajustes nas APIs de médicos e pacientes 2025-10-01 23:40:01 -03:00
84cb4c36eb feat(api): add doctors and patients API integration 2025-09-30 13:57:43 -03:00
30b5609f2f feat: adds new fields and cards to the physician registry 2025-09-16 22:25:59 -03:00
a7c9c90ebb chore: update components config 2025-09-11 22:09:50 -03:00
b2a9ea047a feat(api): add and wire all mock endpoints
- Patients: list, get by id, create, update, delete
- Photo: upload, remove
- Attachments: list, add, remove
- Validations: validate CPF, lookup CEP
- Hook up env vars and shared fetch wrapper
2025-09-10 22:00:32 -03:00
a44e9bcf81 Merge branch 'feature/patient-register' of https://git.popcode.com.br/RiseUP/riseup-squad20 into feature/patient-register 2025-09-07 19:38:26 -03:00
372383fb42 feat: connect patient registration form to create patient API 2025-09-07 18:52:31 -03:00
3cce8a9774 fix: fix ref error in actions menu 2025-09-04 16:42:54 -03:00
91c84b6a46 fix: secure setting of onOpenChange on the patient form 2025-09-04 15:48:51 -03:00
8258fac83c feat: implement patient recorder 2025-09-03 21:13:13 -03:00