104 Commits

Author SHA1 Message Date
2d30fab9b5 Merge branch 'feature/user-profile-api' of https://git.popcode.com.br/RiseUP/riseup-squad20 into feature/user-profile-api 2025-10-02 14:39:51 -03:00
89da7f159e Merge branch 'develop' into feature/user-profile-api 2025-10-02 12:45:23 -03:00
b8369dd248 Merge pull request 'feat: ajustes na página do profissional' (#30) from feature/pacientes-corect into develop
Reviewed-on: #30
2025-10-02 14:25:08 +00:00
efdf89e2f5 feat: ajustes na página do profissional 2025-10-02 11:21:46 -03:00
398c409187 Merge pull request 'chore: update pnpm-lock.yaml to sync dependencies' (#29) from fix/pnpm-lock-update into develop
Reviewed-on: #29
2025-10-02 13:57:36 +00:00
0196b9b5e8 feat: Update pnpm-lock.yaml to synchronize dependencies 2025-10-02 03:25:46 -03:00
e85fbdeb15 Merge pull request 'adicionando-atualização-medicos' (#28) from feature/ajustes-form-medico into develop
Reviewed-on: #28
2025-10-02 06:07:30 +00:00
João Gustavo
ca3df1d1cf Merge remote-tracking branch 'origin/develop' into feature/ajustes-form-medico 2025-10-02 03:05:35 -03:00
João Gustavo
e9929e04f7 removing-test-pages 2025-10-02 02:59:50 -03:00
João Gustavo
6030263128 add-doctor-edit 2025-10-02 02:51:18 -03:00
389aa8adfb fix(doctor-form): load existing doctor data on edit mode
- Fix doctorId 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
- Improve error handling in useEffect for doctor and attachments loading
- Ensure form fields are properly populated with doctor data when editing
2025-10-02 02:14:39 -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
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
dea39d9421 refactor(api): Separates the API modules for patients and physicians
Moves the functions and types related to patients and physicians from the single file lib/api.ts to their own dedicated files in lib/api/pacientes.ts and lib/api/medicos.ts.
2025-10-01 23:21:51 -03:00
cde4c42309 feat(auth): Creates user in patient registration
- Adds automatic user creation in the new patient registration flow.              - To avoid merge conflicts, the user and profile APIs have been separated from the main lib/api.ts file.
2025-10-01 23:20:35 -03:00
cb70c0a45a feat(auth): Implements user API and fixes login flows.
- Adds new API functions for user management (createUser, etc.).    - Fixes multiple bugs that prevented administrator login and broke the project build.
2025-10-01 23:17:39 -03:00
5655d0c607 feat(auth): implement user profile and access control
Adds user profile data fetching after login and protects the Doctors page so only administrators can access it.
2025-10-01 22:50:44 -03:00
9795011028 Merge pull request 'feature/setup-eslint' (#26) from feature/setup-eslint into develop
Reviewed-on: #26
2025-10-02 00:46:33 +00:00
3e2fd84287 chore: update package dependencies and types 2025-10-01 18:21:54 -03:00
a123013b51 chore: add prettier config to eslint 2025-10-01 18:00:39 -03:00
4da0388c27 fix(forms): correct broken re-export in appointment form 2025-10-01 15:37:39 -03:00
e8ab0a2970 chore: install eslint and plugins 2025-10-01 15:34:01 -03:00
dcfbaf6ae3 refactor(api): Separates the API modules for patients and physicians
Moves the functions and types related to patients and physicians from the single file lib/api.ts to their own dedicated files in lib/api/pacientes.ts and lib/api/medicos.ts.
2025-10-01 04:24:45 -03:00
c9df4eceaa Merge branch 'develop' into feature/user-profile-api 2025-10-01 04:18:03 -03:00
ea815ff96c feat: ajustes no formulário de laudo e seleção de paciente 2025-09-30 19:22:30 -03:00
c56cd9ff63 Merge pull request 'feat(api): add doctors and patients API integration' (#25) from feature/api-med-pac into develop
Reviewed-on: #25
2025-09-30 17:01:36 +00:00
84cb4c36eb feat(api): add doctors and patients API integration 2025-09-30 13:57:43 -03:00
b577a418e1 feat(auth): Creates user in patient registration
- Adds automatic user creation in the new patient registration flow.              - To avoid merge conflicts, the user and profile APIs have been separated from the main lib/api.ts file.
2025-09-30 12:01:37 -03:00
ba89bc17f2 feat(auth): Implements user API and fixes login flows.
- Adds new API functions for user management (createUser, etc.).    - Fixes multiple bugs that prevented administrator login and broke the project build.
2025-09-30 01:14:41 -03:00
576c0d53b4 feat(auth): implement user profile and access control
Adds user profile data fetching after login and protects the Doctors page so only administrators can access it.
2025-09-29 00:58:05 -03:00
56dd05c963 Merge pull request 'integrando os endpoints de login e logout' (#24) from feature/add-authentication-api into develop
Reviewed-on: #24
2025-09-28 18:55:00 +00: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
e389b0894e Merge pull request 'feature/consultations' (#22) from feature/consultations into develop
Reviewed-on: #22
2025-09-25 20:36:25 +00:00
8bd4344670 chore(header): standardize company name to MEDIConecta 2025-09-25 17:01:32 -03:00
956a8ff016 fix(pages): Fix imports and type errors in agenda and patients - Fixes the form import in the scheduling page. - Adds optional chaining (?.) for safe accessto the patient's address. 2025-09-25 14:58:34 -03:00
92b598b14a fix(sidebar): resolve wrong navigation paths in sidebar menu 2025-09-25 13:40:01 -03:00
9cd35a0cc5 Merge pull request 'feature/settings' (#20) from feature/settings into develop
Reviewed-on: #20
2025-09-25 16:32:50 +00:00
ca7ab7a0fa merge: resolvidos conflitos entre feature/settings e develop (sidebar e package-lock.json) 2025-09-25 13:22:03 -03:00
67e52aa21f Merge branch 'develop' into feature/settings 2025-09-25 13:15:21 -03:00
5030ae38d0 " " 2025-09-25 11:10:20 -03:00
3c9bb1de4d feat(sidebar): remove medical record (prontuário) menu item from sidebar 2025-09-25 10:50:08 -03:00
de0d5b41a9 Merge pull request 'feature/consultations' (#17) from feature/consultations into develop
Reviewed-on: #17
2025-09-25 13:07:01 +00:00
23fad33ef9 feat: implement settings module 2025-09-25 10:05:33 -03:00
e17e709c01 Merge branch 'develop' into feature/consultations 2025-09-25 02:26:53 -03:00
f14643fa6a feat(ui): implements a visualization mode and standardizes the layout for patients, physicians, and appointments 2025-09-25 02:09:47 -03:00