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": "Ajoutez une nouvelle clinique et passez-y.",
"signOutFailed": "Échec de la déconnexion",
"tryAgain": "Veuillez réessayer.",
"signedOut": "Déconnecté"
"signedOut": "Déconnecté",
"language": "Langue"
},
"clinic": {
"create": "Créer une clinique",
@@ -362,7 +363,9 @@
"doneTitle": "Patient supprimé",
"failedTitle": "Impossible de supprimer le patient",
"failedBody": "Veuillez réessayer."
}
},
"filterStatus": "Filtrer par statut",
"allStatuses": "Tous les statuts"
},
"appointments": {
"title": "Rendez-vous & Planning",
@@ -599,7 +602,8 @@
"removeDates": "Retirer",
"startDate": "Date de début",
"endDate": "Date de fin",
"addDates": "Ajouter les dates de début/fin"
"addDates": "Ajouter les dates de début/fin",
"selectDate": "Choisir une date"
}
},
"pharmacy": {
@@ -1866,7 +1870,9 @@
"pendingApprovalsDesc": "Me notifier lorsqu'un patient approuve ou rejette une modification en attente",
"recordsShared": "Dossiers partagés avec moi",
"recordsSharedDesc": "Me notifier lorsqu'un patient partage un dossier avec moi"
}
},
"linkPlaceholder": "https://example.com",
"removeLink": "Supprimer le lien"
},
"careTeam": {
"title": "Équipe soignante",