frontend: fix onboarding bounce, mobile sidebar btn, notif deep-links, analysis header

- Fix clinic onboarding loop: refresh session after setActive before navigating,
  surface setActive errors, and guard AppAuthGuard's onboarding redirect race (#1)
- Add a mobile-only floating top-right SidebarTrigger so the sidebar is reachable
  when the offcanvas sidebar is closed on phones (#5)
- Make notifications clickable: navigate to the source (conversation/patient) and
  mark read; MessagesView/PatientsView honor ?conversation= / ?file= deep links (#6)
- Analysis page: add an Overview header with a time-range segmented control and a
  Customize popover that shows/hides sections; range slices month-based charts (#10)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Khalid Abdi
2026-06-19 20:21:05 +03:00
parent dfab71492c
commit eb94c1549a
10 changed files with 401 additions and 130 deletions
+21 -1
View File
@@ -121,9 +121,12 @@
"lab": "Lab",
"notes": "Notes",
"messages": "Messages",
"inbox": "Inbox",
"meetings": "Meetings",
"tasks": "Tasks",
"activity": "Activity",
"settings": "Settings",
"openSidebar": "Open menu",
"notifications": "Notifications",
"notificationsEmpty": "You're all caught up.",
"quickNav": "Quick nav",
@@ -763,8 +766,25 @@
}
},
"analysis": {
"title": "Analysis",
"title": "Overview",
"subtitle": "Clinic performance at a glance, computed from your clinic's data.",
"customize": "Customize",
"customizeTitle": "Show sections",
"range": {
"all": "All Time",
"12m": "12m",
"3m": "3m",
"30d": "30d",
"today": "Today"
},
"section": {
"visits": "Patient visits",
"patients": "Patient volume",
"trends": "Trends",
"earnings": "Earnings",
"appointments": "Appointments",
"prescriptions": "Prescriptions"
},
"area": {
"title": "Patient visits",
"subtitle": "Visit volume over the last six months.",