103 Commits

Author SHA1 Message Date
João Gustavo
8443abd785 Merge branch 'fix/visual-adjustments' into fix/avatar 2025-10-30 23:04:03 -03:00
d3c897d95a fix: Redesign of the patient portal and add hovers
- placed hovers on the medical and administrator/manager/secretary pages
- Transformed "Scheduled Appointments" modal into a normal page section
- Reorganized flex layout for responsive grid [220px_1fr]
- Redesigned header with avatar, patient info, and rounded edges, now sticky
- Side menu revamped with rounded edges, sticky and responsive
- Appointment cards with gradients, smooth hovers, and responsive grid layout
- Unified visual standard with professional/doctor page
- Improvements: reduced icons, consistent spacing, smooth transitions
- Content remains centered without forced margins
- Responsiveness guaranteed for mobile, tablet, and desktop
2025-10-30 22:57:26 -03:00
c1471ea4fa fix: fix of hovers 2025-10-30 18:26:01 -03:00
João Gustavo
35535b3779 fix-timezone 2025-10-30 17:51:45 -03:00
714ce9cda8 Merge branch 'feature/ajust-claro' into fix/visual-adjustments 2025-10-29 23:44:24 -03:00
João Gustavo
093b873e86 new-visual-ajustments 2025-10-29 23:38:19 -03:00
26d4077784 fix(main-routes): security, layout, and form formatting
- Removed sensitive logs from the console
- Added sidebar to the Schedule, Procedure, and Financial pages
- Standardized spacing between labels and inputs in all forms
- Added automatic formatting for ID, date of birth, and phone number in patient registration
- Removed duplicate "Cell Phone" field in doctor registration
- Adjusted page layout to follow standard
2025-10-29 23:26:09 -03:00
João Gustavo
b478a1f8d3 fix-hover-errors 2025-10-29 22:45:43 -03:00
João Gustavo
a0ecaf27ab fix-cretate-patient-and-doctor 2025-10-28 10:34:42 -03:00
1693a415e2 feat(perfil): add profile for admin and user information endpoint by id 2025-10-27 23:21:17 -03:00
João Gustavo
6a8a4af756 Merge branch 'feature/up-dow-avatar' into backup/fix-patient-page 2025-10-23 14:23:33 -03:00
d21ed34715 feat: upload/download de avatar e correções 2025-10-23 14:07:32 -03:00
João Gustavo
653b21e2d2 fix-doctor-and-patient 2025-10-22 23:29:26 -03:00
João Gustavo
a92bd87710 add-create-doctor 2025-10-21 23:31:23 -03:00
João Gustavo
0fd8cc631e add-patients-endpoint 2025-10-21 21:57:21 -03:00
João Gustavo
905caa14ad fix-appoinments-endpoints 2025-10-20 22:32:37 -03:00
João Gustavo
7c077fbf45 fix-exceptions-endpoint 2025-10-20 15:23:27 -03:00
João Gustavo
99986dbdd7 fix-appoiment-type 2025-10-19 02:10:57 -03:00
João Gustavo
82a5caac1c fix-medical-page 2025-10-19 00:46:11 -03:00
João Gustavo
6a95120c50 add-delete-appointment-endpoint 2025-10-18 23:11:58 -03:00
João Gustavo
075fa92eb9 add-create-appoiments-endpoint 2025-10-18 21:23:27 -03:00
João Gustavo
83018b8854 add-edit-appointments-endpoints 2025-10-18 17:02:59 -03:00
João Gustavo
60630cd9db add-avatar-endpoint 2025-10-17 18:30:15 -03:00
João Gustavo
37a87af28d add-new-authentication-endpoints 2025-10-16 22:03:40 -03:00
João Gustavo
c07705a2fc fix-assgnment-message 2025-10-15 19:25:13 -03:00
João Gustavo
38fd9668d6 add-exceptions-endpoints 2025-10-15 16:27:36 -03:00
João Gustavo
a9bbd2f872 add-availability-endpoints 2025-10-15 15:17:44 -03:00
João Gustavo
04cd640f63 Merge branch 'feature/add-duties-enpoints' into feature/patiente-medical-assignment 2025-10-11 23:52:59 -03:00
e770826fb6 fix(auth): merge profile and persist to localStorage
- Impact: prevents profile loss on reload
chore(assignment): add professional assignment form
- Impact: enables assigning professionals to patients via UI
2025-10-11 23:04:08 -03:00
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
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
2161a9c210 feat(user-creation): ajustar fluxo de criação de usuários e fallback\n\n- Unificou criação de perfis de pacientes e médicos\n- Removeu tentativas inseguras de escrita direta em user_roles no cliente\n- Reconciliou userType no login com roles retornadas por /functions/v1/user-info\- Desabilitou criação automática de usuário Auth enquanto Edge Function está com erro\- Adicionou fallback e rota server-side para atribuição de roles (requere service role key)\- Adicionou mensagens de erro e checagem antes de excluir pacientes 2025-10-10 19:50:14 -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
e5df9918b2 Merge pull request 'feature/pacientes-consulta' (#41) from feature/pacientes-consulta into develop
Reviewed-on: #41
2025-10-09 17:48:20 +00:00
5334afc761 feat(ui): formatar datas para dd/MM/yyyy e controlar forma de pagamento 2025-10-08 21:47:57 -03:00
João Gustavo
d7fbcab6a6 Merge branch 'develop' into feature/add-report-endpoints 2025-10-07 00:22:58 -03:00
João Gustavo
40bf3e0e6f fix-report-page 2025-10-07 00:16:39 -03:00
8284ccbadd Merge branch 'develop' into feature/api-usuarios-perfis 2025-10-04 23:44:02 -03:00
João Gustavo
b64a488d1a Merge branch 'develop' into feature/ajustes-visuais 2025-10-03 22:37:25 -03:00
João Gustavo
37f406995d fix-profissional-page-dark-mode 2025-10-03 22:19:41 -03:00
5daad0b063 Merge branch 'develop' into feature/visual-adjustments 2025-10-03 22:07:50 -03:00
7b0406f815 feat(agenda): Replace textarea with select in Documents and attachments 2025-10-03 22:04:47 -03:00
João Gustavo
52e3d13767 Merge branch 'feature/fix-erros' into feature/ajustes-visuais 2025-10-03 20:42:02 -03:00
5d00ffb508 feat(ui): standardize form and navigation styles
- Standardize borders for all fields (inputs, selects, textareas) with gray-300
- Add consistent hover effect (gray-400) across all fields
- Implement active highlight (blue) on navigation buttons
- Adjust field height from h-10 to h-11 for better proportion
- Add blue hover effect on back button
- Remove unnecessary icons from information card
- Ensure visual consistency only in light mode
- Apply changes to: Input, Textarea, HeaderAgenda, FooterAgenda,
  calendar-registration-form and financeiro page

BREAKING CHANGE: Input and Textarea components now use border-gray-300
by default in light mode instead of border-input
2025-10-03 20:17:28 -03:00
7061909480 fix: corrigir hover dos botões para azul padronizado
- Corrigir botão "Hoje" para ter hover azul ao invés de branco
- Adicionar CSS para padronizar todos os hovers para azul
- Corrigir ícones que ficavam invisíveis no hover
- Melhorar consistência visual entre modo claro e escuro
2025-10-03 20:15:51 -03:00
João Gustavo
4ac663f9e7 fix-dark-mode-page 2025-10-03 19:22:46 -03:00
6585187efd feat: Melhorias na UI e consolidação de
ações para formulários de agendamento

  - calendar-registration-form.tsx:
      - Otimizadas importações de ícones e
  adicionadas novas caixas de seleção para
  reembolso e impressão de etiquetas.
      - Introduzido campo 'Profissional
  solicitante' com funcionalidade de busca.
      - Removido botão 'Cancelar' interno.
  - FooterAgenda.tsx:
      - Consolidado botões de ação,
  removendo 'Cancelar' e 'Salvar as
  alterações' redundantes.
2025-10-03 17:53:54 -03:00