From 87e551c0d7c0cd37bdf3b8c304b2cf1240fc6442 Mon Sep 17 00:00:00 2001 From: trent Date: Tue, 11 Aug 2026 06:48:07 +0800 Subject: [PATCH] Refractor. Update styling --- .../Data/AppDbContextFactory.cs | 2 +- vigilcare-dashboard/index.html | 6 ++ .../src/__tests__/Badge.test.js | 9 ++- .../__tests__/DepartmentOverviewView.test.js | 5 +- .../src/__tests__/PatientBanner.test.js | 2 +- .../src/__tests__/SepsisBoardView.test.js | 2 +- .../src/__tests__/WardTable.test.js | 2 +- .../components/admin/ThresholdFormModal.vue | 2 +- .../src/components/admin/UserFormModal.vue | 10 +-- .../components/alerts/AcknowledgeModal.vue | 2 +- .../src/components/alerts/AlertCard.vue | 23 +++--- .../src/components/alerts/AlertFilters.vue | 10 +-- .../src/components/alerts/AlertReasoning.vue | 2 +- .../components/departments/DepartmentCard.vue | 42 +++++----- .../components/feedback/FeedbackButtons.vue | 8 +- .../src/components/layout/AppHeader.vue | 31 ++++---- .../src/components/layout/AppShell.vue | 6 +- .../src/components/layout/AppSidebar.vue | 60 +++++++------- .../src/components/layout/MobileNav.vue | 42 +++++----- .../src/components/patient/AlertsList.vue | 4 +- .../src/components/patient/GcsEntryForm.vue | 8 +- .../src/components/patient/PatientBanner.vue | 52 ++++++------- .../src/components/patient/ScoresPanel.vue | 2 +- .../src/components/patient/SofaScorePanel.vue | 2 +- .../components/patient/VitalsEntryForm.vue | 6 +- .../src/components/patient/VitalsPanel.vue | 2 +- .../src/components/replay/ReplayControls.vue | 6 +- .../components/sepsis/SepsisBundleCard.vue | 22 +++--- .../components/sepsis/SepsisBundleTable.vue | 28 +++---- .../components/simulation/ResetWardPanel.vue | 2 +- .../components/simulation/ScenarioCard.vue | 4 +- .../simulation/SimulationRunPanel.vue | 8 +- .../src/components/ui/Badge.vue | 14 ++-- .../src/components/ui/Button.vue | 16 ++-- .../src/components/ui/Card.vue | 8 +- .../src/components/ui/CollapsibleSection.vue | 2 +- .../src/components/ui/EmptyState.vue | 8 +- .../src/components/ui/Modal.vue | 4 +- .../src/components/ui/Skeleton.vue | 2 +- .../src/components/ward/PatientCard.vue | 46 +++++------ .../src/components/ward/PatientRow.vue | 38 ++++----- .../src/components/ward/SortableHeader.vue | 6 +- .../src/components/ward/WardTable.vue | 22 +++--- .../src/components/ward/WardToolbar.vue | 4 +- .../src/composables/timelineFormat.js | 4 +- .../src/composables/useChartTheme.js | 16 ++-- vigilcare-dashboard/src/style.css | 78 ++++++++++++++++++- .../src/views/AlertQualityAnalytics.vue | 4 +- .../src/views/AuditLogView.vue | 4 +- .../src/views/DepartmentOverviewView.vue | 65 +++++++--------- .../src/views/GatewayOperations.vue | 4 +- vigilcare-dashboard/src/views/LoginView.vue | 18 ++--- .../src/views/ReconciliationView.vue | 4 +- .../src/views/SepsisBoardView.vue | 9 +-- .../src/views/SimulationControlView.vue | 12 +-- .../src/views/WardDashboard.vue | 15 ++-- vigilcare-dashboard/tailwind.config.js | 28 ++----- 57 files changed, 450 insertions(+), 393 deletions(-) diff --git a/VigilCareClinicalAPI/Data/AppDbContextFactory.cs b/VigilCareClinicalAPI/Data/AppDbContextFactory.cs index 25deaca..a9d49b4 100644 --- a/VigilCareClinicalAPI/Data/AppDbContextFactory.cs +++ b/VigilCareClinicalAPI/Data/AppDbContextFactory.cs @@ -12,7 +12,7 @@ public sealed class AppDbContextFactory : IDesignTimeDbContextFactory() .UseNpgsql(connectionString) diff --git a/vigilcare-dashboard/index.html b/vigilcare-dashboard/index.html index 15eda8e..7945ba7 100644 --- a/vigilcare-dashboard/index.html +++ b/vigilcare-dashboard/index.html @@ -4,6 +4,12 @@ + + + VigilCare Clinical \ No newline at end of file + diff --git a/vigilcare-dashboard/src/components/alerts/AlertFilters.vue b/vigilcare-dashboard/src/components/alerts/AlertFilters.vue index 1ffa0d9..ceea9aa 100644 --- a/vigilcare-dashboard/src/components/alerts/AlertFilters.vue +++ b/vigilcare-dashboard/src/components/alerts/AlertFilters.vue @@ -10,16 +10,16 @@ const tabs = [