frontend: replace Analyze "Live" card with a Patient-visits area chart

The realtime "Live" hospital card is dropped in favour of a six-month patient
visits area chart, aggregated client-side from real appointments. Renames the
analysis.live.* i18n block to analysis.area.* and removes the dead
live-hospital-chart component.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Khalid Abdi
2026-06-17 19:04:55 +03:00
parent 3b4e1c7f61
commit 29347488fa
3 changed files with 51 additions and 142 deletions
@@ -702,13 +702,10 @@
"analysis": {
"title": "Analysis",
"subtitle": "Clinic performance at a glance, computed from your clinic's data.",
"live": {
"title": "Live",
"subtitle": "Patients currently in the building, updating in real time.",
"label": "In the building now",
"start": "Go live",
"pause": "Pause",
"idle": "Live stream paused — press Go live to start."
"area": {
"title": "Patient visits",
"subtitle": "Visit volume over the last six months.",
"label": "Total visits"
},
"patientVolume": {
"title": "Patient volume",