From dce5b88b2f3c425f5f1210d8cbce3e549b330a11 Mon Sep 17 00:00:00 2001 From: PTah Date: Thu, 28 May 2026 13:45:25 +1000 Subject: [PATCH] feat: move navigation to dashboard sidebar and bump SAC to 0.5.0 Co-authored-by: Cursor --- backend/app/version.py | 2 +- backend/tests/test_health.py | 4 +- frontend/package.json | 2 +- frontend/src/App.vue | 28 - frontend/src/version.ts | 2 +- frontend/src/views/DashboardView.vue | 921 +++++++++++++++++++-------- 6 files changed, 646 insertions(+), 313 deletions(-) diff --git a/backend/app/version.py b/backend/app/version.py index bd5843c..cca63d8 100644 --- a/backend/app/version.py +++ b/backend/app/version.py @@ -1,5 +1,5 @@ """Единый источник версии SAC (API, health, логи, OpenAPI).""" APP_NAME = "Security Alert Center" -APP_VERSION = "0.2.0" +APP_VERSION = "0.5.0" APP_VERSION_LABEL = f"{APP_NAME} v.{APP_VERSION}" diff --git a/backend/tests/test_health.py b/backend/tests/test_health.py index c1a4043..2b33936 100644 --- a/backend/tests/test_health.py +++ b/backend/tests/test_health.py @@ -4,6 +4,6 @@ from app.version import APP_NAME, APP_VERSION, APP_VERSION_LABEL def test_version_constants(): - assert APP_VERSION == "0.2.0" + assert APP_VERSION == "0.5.0" assert APP_NAME == "Security Alert Center" - assert APP_VERSION_LABEL == "Security Alert Center v.0.2.0" + assert APP_VERSION_LABEL == "Security Alert Center v.0.5.0" diff --git a/frontend/package.json b/frontend/package.json index 86fb1f9..8f76c40 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "sac-ui", "private": true, - "version": "0.2.0", + "version": "0.5.0", "type": "module", "scripts": { "dev": "vite", diff --git a/frontend/src/App.vue b/frontend/src/App.vue index ff40a33..58971e1 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,33 +1,5 @@ - - diff --git a/frontend/src/version.ts b/frontend/src/version.ts index 741c6b9..bab8e63 100644 --- a/frontend/src/version.ts +++ b/frontend/src/version.ts @@ -1,3 +1,3 @@ export const APP_NAME = "Security Alert Center"; -export const APP_VERSION = "0.2.0"; +export const APP_VERSION = "0.5.0"; export const APP_VERSION_LABEL = `${APP_NAME} v.${APP_VERSION}`; diff --git a/frontend/src/views/DashboardView.vue b/frontend/src/views/DashboardView.vue index 304d3a1..de8f859 100644 --- a/frontend/src/views/DashboardView.vue +++ b/frontend/src/views/DashboardView.vue @@ -1,280 +1,641 @@ - - - - - - \ No newline at end of file + + + + + + + + + + +