28 Commits

Author SHA1 Message Date
João Gustavo
1a471357b7 add-userID 2025-10-11 22:30:05 -03:00
João Gustavo
8bf953a689 add-assignament-endpoints 2025-10-11 19:20:26 -03:00
5698a5faa9 feat(api): Standardizes CRUD for profiles and derivations
- Standardizes listing/searching/creating/updating/deleting for profiles
- Adds UI for assigning professionals
- Integrates UI into patient listing (menu item)
- Corrects hydration mismatch in ProtectedRoute
2025-10-11 18:50:56 -03:00
25a0df3dca Merge branch 'feature/fix-report-endpoints' into feature/add-duties-enpoints 2025-10-11 12:38:38 -03:00
c62883a5cc chore(api):remove unnecessary comments 2025-10-11 12:24:48 -03:00
João Gustavo
a1b801b068 fix-endpoints 2025-10-10 23:27:43 -03:00
João Gustavo
f934c0f33c add-list-and-edit-report-endpoitns 2025-10-10 19:46:31 -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
João Gustavo
2bb0b06375 add-create-report-endpoints 2025-10-10 03:04:10 -03:00
João Gustavo
6951dcec96 add-report-endpoints 2025-10-08 21:40:06 -03:00
João Gustavo
a43fdcc655 add-patient-page 2025-10-07 02:35:49 -03:00
0510ef8a36 feat(api):add profile API 2025-10-06 02:35:21 -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
João Gustavo
6030263128 add-doctor-edit 2025-10-02 02:51:18 -03:00
João Gustavo
8d1473a148 add-doctor-id 2025-10-02 01:49:54 -03:00
ed6e33890a merge(feature/correc-api): merge branch 'feature/correc-api' into feature/ajustes-form-medico 2025-10-02 01:14:18 -03:00
a032465773 feat(doctor-form): add search doctor by ID button and logic to registration form 2025-10-02 00:54:43 -03:00
João Gustavo
b2ee5987c6 correcting-id-endpoint 2025-10-02 00:44:45 -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
João Gustavo
e4afaa5743 removing-test-pages 2025-09-28 04:17:18 -03:00
João Gustavo
a6ae27876e add-login-and-logout-endpoints 2025-09-28 04:10:40 -03:00
791d31a5a6 feat(api): implementação e integração das APIs de médicos 2025-09-18 13:58:52 -03:00
945c6eafb6 fix: Calendar and sidebar 2025-09-17 22:51:30 -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
372383fb42 feat: connect patient registration form to create patient API 2025-09-07 18:52:31 -03:00
0ba1590c10 feat: add initial project files and patient list 2025-09-03 01:58:42 -03:00