frontend: UI fixes + settings/patients features

- Record history: replace fragile COSS Timeline separator math with a
  continuous-rail list so every audited change renders in full (RTL-safe).
- Prescriptions: new reusable COSS DatePicker (Popover + Calendar) replaces
  raw <input type="date"> for Start/End date.
- Update banner: rebuilt with COSS Alert variant="warning"; pinned physical
  bottom-right so it stays bottom-right under Arabic RTL.
- AI setup notice: thin attached warning banner with clearer copy; now shown
  above the input in active chats too, not just the empty state.
- Settings profile: wire the previously dead Specialty (Select) and
  Professional links (editable rows) into the persisted preferences.
- Patients: add a status filter and broaden search to conditions/allergies.
- Sidebar user menu: quick language switch submenu (RTL already wired).
- ai-elements: fix a subset of Base UI type drift (22 -> 12; remainder is
  cmdk->Autocomplete migration drift kept behind ignoreBuildErrors).
- i18n: new keys added across all five locales (en/de/fr/ar/so).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Khalid Abdi
2026-07-12 21:06:38 +03:00
parent bffed5525d
commit 2c239fbd27
20 changed files with 455 additions and 133 deletions
+10 -4
View File
@@ -259,7 +259,8 @@
"createDialogDescription": "Fügen Sie eine neue Klinik hinzu und wechseln Sie zu ihr.",
"signOutFailed": "Abmeldung fehlgeschlagen",
"tryAgain": "Bitte versuchen Sie es erneut.",
"signedOut": "Abgemeldet"
"signedOut": "Abgemeldet",
"language": "Sprache"
},
"clinic": {
"create": "Klinik erstellen",
@@ -362,7 +363,9 @@
"doneTitle": "Patient gelöscht",
"failedTitle": "Patient konnte nicht gelöscht werden",
"failedBody": "Bitte versuchen Sie es erneut."
}
},
"filterStatus": "Nach Status filtern",
"allStatuses": "Alle Status"
},
"appointments": {
"title": "Termine & Zeitplan",
@@ -599,7 +602,8 @@
"removeDates": "Entfernen",
"startDate": "Startdatum",
"endDate": "Enddatum",
"addDates": "Start-/Enddatum hinzufügen"
"addDates": "Start-/Enddatum hinzufügen",
"selectDate": "Datum wählen"
}
},
"pharmacy": {
@@ -1866,7 +1870,9 @@
"pendingApprovalsDesc": "Benachrichtigen Sie mich, wenn ein Patient eine ausstehende Änderung genehmigt oder ablehnt",
"recordsShared": "Mit mir geteilte Datensätze",
"recordsSharedDesc": "Benachrichtigen Sie mich, wenn ein Patient einen Datensatz mit mir teilt"
}
},
"linkPlaceholder": "https://example.com",
"removeLink": "Link entfernen"
},
"careTeam": {
"title": "Behandlungsteam",