dd8e05b343
feat: appointments v2 + patients redesign + call history agent filter + datepicker placement
...
Appointments v2:
- Lean 6-column table (eye icon, patient 2-line, date+time 2-line,
doctor+dept 2-line, status badge, reminder button)
- Detail side panel on eye click (read-only: all fields + patient phone
via PhoneActionCell)
- Reschedule flow: pencil in panel → modal confirm → dedicated
ReschedulePanel with department/doctor/date/slot/complaint fields
- Cancel flow: modal confirm before cancelling
- WhatsApp reminder button for upcoming booked appointments
- DatePicker popoverPlacement prop for narrow panels (opens upward)
Patients page redesign:
- Phone column uses PhoneActionCell (clickable to dial)
- Email split into own column
- Actions column replaced by hamburger menu (SMS + WhatsApp)
- View (eye) button removed — row click opens profile panel
Call History agent filter:
- Missed calls excluded from agent's personal history
- Chain name parsing for agent matching
- "Missed" filter option hidden for agents
- Subtitle: "134 completed" (no "0 missed")
DatePicker:
- New popoverPlacement prop forwarded to AriaPopover
- Default "bottom start", use "top start" in constrained panels
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-16 20:51:57 +05:30
8470dd03c7
fix: UI polish — nav labels, date picker, rules engine, error messages
...
- Sidebar: removed "Master" from nav labels (Leads, Patients, Appointments, Call Log)
- Appointment form: Dept + Doctor in 2-col row, Date below, disabled cascade
- DatePicker: placement="bottom start" + shouldFlip fixes popover positioning
- Team Performance: default to "Week", grid KPI cards, chart legend spacing
- Rules Engine: manual save (removed auto-debounce), Reset to Defaults uses
DEFAULT_PRIORITY_CONFIG (no template endpoint), removed dead saveTimerRef
- Automation rules: 6 showcase cards with trigger/condition/action, replaced
agent-specific rule with generic round-robin
- Recording analysis: friendly error message with retry instead of raw Deepgram error
- Sidebar active/hover: brand color reference for theming
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-02 16:55:16 +05:30
6f40b82579
refactor: migrate all icons from Untitled UI to FontAwesome Pro Duotone
...
Replace all @untitledui/icons imports across 55 files with equivalent
@fortawesome/pro-duotone-svg-icons icons, using FontAwesomeIcon wrappers
(FC<{ className?: string }>) for prop-based usage and inline replacements
for direct JSX usage. Drops unsupported Untitled UI-specific props
(strokeWidth, numeric size). TypeScript compiles clean with no errors.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-21 11:07:19 +05:30