Polish Today dashboard loading, errors, and layout (Phase 4).

Add section error boundaries, retry banner with stale-while-revalidate, shared skeletons, responsive action layout, and org-switch refetching.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-11 00:53:40 +03:30
parent 3f2b332bd3
commit 2f8c9f0f4d
13 changed files with 312 additions and 45 deletions

View File

@@ -216,7 +216,10 @@
"upcomingAppointmentsTitle": "Upcoming Today",
"upcomingAppointmentsSubtitle": "Appointments not yet finished",
"viewAllAppointments": "View schedule",
"noUpcomingAppointments": "No upcoming appointments for the rest of today."
"noUpcomingAppointments": "No upcoming appointments for the rest of today.",
"retryLoad": "Try again",
"sectionLoadError": "This section could not be displayed.",
"lastUpdated": "Updated at {time}"
},
"staff": {
"redirecting": "Redirecting…",

View File

@@ -216,7 +216,10 @@
"upcomingAppointmentsTitle": "نوبت‌های پیش رو",
"upcomingAppointmentsSubtitle": "نوبت‌های باقی‌مانده امروز",
"viewAllAppointments": "مشاهده برنامه",
"noUpcomingAppointments": "نوبت پیش‌رویی برای باقی امروز وجود ندارد."
"noUpcomingAppointments": "نوبت پیش‌رویی برای باقی امروز وجود ندارد.",
"retryLoad": "تلاش مجدد",
"sectionLoadError": "نمایش این بخش ممکن نشد.",
"lastUpdated": "به‌روزرسانی در {time}"
},
"staff": {
"redirecting": "در حال انتقال...",

View File

@@ -216,7 +216,10 @@
"upcomingAppointmentsTitle": "Komende afspraken vandaag",
"upcomingAppointmentsSubtitle": "Afspraken die nog niet zijn afgerond",
"viewAllAppointments": "Bekijk planning",
"noUpcomingAppointments": "Geen komende afspraken meer voor vandaag."
"noUpcomingAppointments": "Geen komende afspraken meer voor vandaag.",
"retryLoad": "Opnieuw proberen",
"sectionLoadError": "Dit onderdeel kon niet worden weergegeven.",
"lastUpdated": "Bijgewerkt om {time}"
},
"staff": {
"redirecting": "Bezig met doorsturen...",