Upgrade manager dashboard and wizards to v2

This commit is contained in:
A R R R Associates
2026-07-05 20:04:56 +05:30
parent f0fd8fb2ea
commit 21c71c7172
8 changed files with 115 additions and 12 deletions
+3 -1
View File
@@ -11,14 +11,16 @@ from app.core.templating import templates
from app.modules.core.rbac.deps import get_user_permissions, get_user_roles
from app.modules.manager_dashboard.service import build_manager_dashboard_payload, can_access_manager_dashboard
router = APIRouter(prefix="/manager", tags=["manager-dashboard-v1-ui"])
router = APIRouter(prefix="/manager", tags=["manager-dashboard-v2-ui"])
VALID_TABS = {
"overview": "modules/manager_dashboard/templates/manager_dashboard/partials/overview.html",
"team-work": "modules/manager_dashboard/templates/manager_dashboard/partials/team_work.html",
"due-calendar": "modules/manager_dashboard/templates/manager_dashboard/partials/due_calendar.html",
"review-queue": "modules/manager_dashboard/templates/manager_dashboard/partials/review_queue.html",
"client-pending": "modules/manager_dashboard/templates/manager_dashboard/partials/client_pending.html",
"documents": "modules/manager_dashboard/templates/manager_dashboard/partials/documents.html",
"escalations": "modules/manager_dashboard/templates/manager_dashboard/partials/escalations.html",
"reports": "modules/manager_dashboard/templates/manager_dashboard/partials/reports.html",
"wizards": "modules/manager_dashboard/templates/manager_dashboard/partials/wizards.html",
}