From 5278b9d700efab96323d28d14044e804496eb79c Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 9 May 2026 10:36:06 +0500 Subject: [PATCH] feat(ui): expose sales workspace from dashboard shells --- gateway/app.py | 6 ++++++ ui/admin/index.html | 2 +- ui/analyst/index.html | 1 + ui/operator/index.html | 2 +- ui/supervisor/index.html | 1 + 5 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gateway/app.py b/gateway/app.py index 453ada9..66d3ccd 100644 --- a/gateway/app.py +++ b/gateway/app.py @@ -297,6 +297,12 @@ def operator_ui() -> FileResponse: return FileResponse(_OPERATOR_UI_DIR / "index.html") +@app.get("/dashboard") +def dashboard_ui() -> FileResponse: + # Backward-compatible entrypoint used in production bookmarks. + return operator_ui() + + @app.get("/supervisor") def supervisor_ui() -> FileResponse: if not _SUPERVISOR_UI_DIR.exists(): diff --git a/ui/admin/index.html b/ui/admin/index.html index 59f3f50..78affba 100644 --- a/ui/admin/index.html +++ b/ui/admin/index.html @@ -27,7 +27,7 @@ Оператор Супервизор Аналитика - Продажи + Продажи Администрирование