mirror of
https://github.com/temetro/temetro.git
synced 2026-08-19 06:36:21 +00:00
Add Calendar dialog, Prescriptions & Messages pages, note delete confirm
- Appointments: a Calendar button next to Add opens a month-grid dialog (reuses the Calendar primitive + shared ScheduleList); the schedule day is marked and selecting it lists that day's appointments. - Patients sub-nav: new Prescriptions page (mock list + KPIs) with a compact "New prescription" dialog reusing the patient quick-search pattern. - Notes: deleting a note now goes through a reusable ConfirmDialog instead of deleting immediately. - New top-level Messages page: two-pane email-style inbox (list + reading pane with mock reply composer), mirroring the Notes layout. - Sidebar logo bumped from size-9 to size-10. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -48,8 +48,10 @@
|
||||
"newChat": "New chat",
|
||||
"patients": "Patients",
|
||||
"appointments": "Appointments",
|
||||
"prescriptions": "Prescriptions",
|
||||
"analysis": "Analysis",
|
||||
"notes": "Notes",
|
||||
"messages": "Messages",
|
||||
"settings": "Settings",
|
||||
"notifications": "Notifications",
|
||||
"viewAllNotifications": "View all notifications",
|
||||
|
||||
@@ -2,7 +2,9 @@ import {
|
||||
BarChart3,
|
||||
CalendarClock,
|
||||
type LucideIcon,
|
||||
Mail,
|
||||
NotebookPen,
|
||||
Pill,
|
||||
Plus,
|
||||
Settings,
|
||||
Users,
|
||||
@@ -44,6 +46,12 @@ export const navItems: NavItem[] = [
|
||||
icon: CalendarClock,
|
||||
link: "/appointments",
|
||||
},
|
||||
{
|
||||
id: "prescriptions",
|
||||
labelKey: "nav.prescriptions",
|
||||
icon: Pill,
|
||||
link: "/prescriptions",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -53,5 +61,6 @@ export const navItems: NavItem[] = [
|
||||
link: "/analysis",
|
||||
},
|
||||
{ id: "notes", labelKey: "nav.notes", icon: NotebookPen, link: "/notes" },
|
||||
{ id: "messages", labelKey: "nav.messages", icon: Mail, link: "/messages" },
|
||||
{ id: "settings", labelKey: "nav.settings", icon: Settings, link: "/settings" },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user