18 Commits

Author SHA1 Message Date
67d73b2231 feat: responsiveness to the administrator area on the mobile site and
remove card de financeiro no form de médico
 remove financial card from doctor's form
2025-11-07 02:04:41 -03:00
add30c54a3 feat(doutores/pacientes): adiciona filtros e ordenação avançados na listagem de médicos e pacientes 2025-11-06 16:50:40 -03:00
34e2f4d05b fix: reorganize files into components 2025-11-05 00:28:16 -03:00
21636401b3 fix:undefined checks, parsing simplification, and Tailwind standardization 2025-11-04 11:45:43 -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
90dc9823b7 feat(main-routes): add pagination 2025-10-29 23:41:48 -03:00
João Gustavo
60630cd9db add-avatar-endpoint 2025-10-17 18:30:15 -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
7b0406f815 feat(agenda): Replace textarea with select in Documents and attachments 2025-10-03 22:04:47 -03:00
47967eb37f feat: Implementa sistema completo de modo escuro
- Adiciona ThemeProvider com next-themes para controle de tema
- Implementa componente SimpleThemeToggle com ícones sol/lua
- Configura CSS variables completas para light/dark modes no globals.css
- Padroniza todas as páginas de autenticação (login, login-admin, login-paciente)
- Padroniza todos os módulos principais (dashboard, pacientes, doutores, consultas, calendar, configuração)
- Padroniza completamente área profissional com todas as seções:
  * Calendário e agendamentos
  * Busca e gestão de pacientes
  * Prontuários médicos completos
  * Comunicação e relatórios
  * Seções de exames (solicitados, resultados, diagnósticos, prescrições, evolução, anexos)
- Atualiza componentes UI (input, select, textarea) com bordas visíveis
- Implementa suporte dark mode em tooltips, badges de status e mensagens
- Garante acessibilidade e consistência visual em ambos os modos
- Mantém funcionalidades existentes sem breaking changes

Todos os elementos agora respondem adequadamente ao toggle de tema,
proporcionando experiência de usuário consistente e acessível.
2025-10-03 02:22:40 -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
b2ee5987c6 correcting-id-endpoint 2025-10-02 00:44:45 -03:00
84cb4c36eb feat(api): add doctors and patients API integration 2025-09-30 13:57:43 -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
f14643fa6a feat(ui): implements a visualization mode and standardizes the layout for patients, physicians, and appointments 2025-09-25 02:09:47 -03:00
ab422746c8 feat(consultas, deps): Creates query page and adds dependencies
- Creates new query management page at /queries with view and delete functionality (frontend).
- Adds react-quill and react-signature-canvas libraries.
- Moves patient and doctor pages out of /dashboard nesting.
- Updates the sidebar to reflect the new routes, fixing 404 errors.
2025-09-24 03:05:15 -03:00