frontend: COSS checkbox/table + fewer toolbar/sheet buttons

- Invoice dialog: the Back-date / Due-date toggles now use the COSS Checkbox
  instead of raw, misshapen native checkboxes.
- Patients page: rebuilt the list as a COSS Table in a CardFrame, and moved
  "Import from a patient app" into a ⋯ overflow menu so the toolbar keeps one
  primary "Add patient" CTA.
- Patient detail sheet: collapsed the five header buttons + delete into a
  primary Edit action plus a ⋯ More menu (Download summary, Record visit,
  Transfer, Push to wallet, and a destructive Delete).
- Added the COSS table + checkbox primitives; new i18n keys across all locales.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Khalid Abdi
2026-07-13 02:11:06 +03:00
parent 7846dacd42
commit bd8fdfadda
10 changed files with 402 additions and 126 deletions
@@ -377,7 +377,8 @@
"failedBody": "يرجى المحاولة مرة أخرى."
},
"filterStatus": "تصفية حسب الحالة",
"allStatuses": "كل الحالات"
"allStatuses": "كل الحالات",
"moreActions": "إجراءات إضافية"
},
"appointments": {
"title": "المواعيد والجدول",
@@ -1555,7 +1556,8 @@
"mild": "خفيف",
"moderate": "متوسط",
"severe": "شديد"
}
},
"moreActions": "إجراءات إضافية"
},
"patientForm": {
"editTitle": "تعديل السجل",
@@ -365,7 +365,8 @@
"failedBody": "Bitte versuchen Sie es erneut."
},
"filterStatus": "Nach Status filtern",
"allStatuses": "Alle Status"
"allStatuses": "Alle Status",
"moreActions": "Weitere Aktionen"
},
"appointments": {
"title": "Termine & Zeitplan",
@@ -1535,7 +1536,8 @@
"mild": "Leicht",
"moderate": "Mäßig",
"severe": "Schwer"
}
},
"moreActions": "Weitere Aktionen"
},
"patientForm": {
"editTitle": "Datensatz bearbeiten",
@@ -365,7 +365,8 @@
"failedBody": "Please try again."
},
"filterStatus": "Filter by status",
"allStatuses": "All statuses"
"allStatuses": "All statuses",
"moreActions": "More actions"
},
"appointments": {
"title": "Appointments & Schedule",
@@ -1535,7 +1536,8 @@
"mild": "Mild",
"moderate": "Moderate",
"severe": "Severe"
}
},
"moreActions": "More actions"
},
"patientForm": {
"editTitle": "Edit record",
@@ -365,7 +365,8 @@
"failedBody": "Veuillez réessayer."
},
"filterStatus": "Filtrer par statut",
"allStatuses": "Tous les statuts"
"allStatuses": "Tous les statuts",
"moreActions": "Plus dactions"
},
"appointments": {
"title": "Rendez-vous & Planning",
@@ -1535,7 +1536,8 @@
"mild": "Légère",
"moderate": "Modérée",
"severe": "Sévère"
}
},
"moreActions": "Plus dactions"
},
"patientForm": {
"editTitle": "Modifier le dossier",
@@ -365,7 +365,8 @@
"failedBody": "Fadlan isku day mar kale."
},
"filterStatus": "Ku kala sooc xaaladda",
"allStatuses": "Dhammaan xaaladaha"
"allStatuses": "Dhammaan xaaladaha",
"moreActions": "Ficillo dheeraad ah"
},
"appointments": {
"title": "Ballamaha & Jadwalka",
@@ -1535,7 +1536,8 @@
"mild": "Fudud",
"moderate": "Dhexdhexaad",
"severe": "Daran"
}
},
"moreActions": "Ficillo dheeraad ah"
},
"patientForm": {
"editTitle": "Wax ka beddel diiwaanka",