Admin Dashboard

Administrative overview and configuration hub for the Renewa One platform. Provides centralized management of system-wide settings, entities, and integrations.

Architecture

LayerLocation
Dashboard pagefrontend/src/pages/admin/AdminDashboard.tsx
Dashboard servicebackend/src/services/admin-dashboard-service.ts
Dashboard queriesfrontend/src/lib/queries/dashboardQueries.ts
Admin routesbackend/src/routes/admin/
Admin pagesfrontend/src/pages/admin/

Admin Areas

AreaManagesEntity
User managementUser accounts, roles, activationUsers
DepartmentsTeam structure, assignmentDepartments
Funding programsAvailable funding schemesFunding Programs
ProductsProduct catalog, pricingProducts
FormsForm templates (via Form Builder)Forms
Document templatesDocument type definitionsDocuments
PDF templatesPDF generation templatesPDF Templates
HubSpotOAuth, sync status, property/enum/association/handover mappingsHubSpot Integration
Team adminEmployees, departments, permissions, commissions, capacity targetsUsers, Departments
FinanceCost rates, commissions, capacity targets, partner agreementsFinancial Calculations
Entra groupsAzure Entra group mappingsAzure Entra
Engagement task templatesWorkflow task template catalogWorkflows
LabelsLabels and label categories
Typology U-valuesBuilding typology reference dataEnergy Calculations
WorkflowsWorkflow definitions and rulesWorkflows

Settings Pages

PageLocationPurpose
Task type settingsfrontend/src/pages/internal/TaskTypesSettings.tsxConfigure task categories
Email templatesfrontend/src/pages/internal/EmailTemplatesSettings.tsxEdit notification email templates
Rejection reasonsfrontend/src/pages/internal/RejectionReasonsSettings.tsxConfigure Document Review rejection reasons

Dashboard Overview

The AdminDashboard.tsx page is a monitoring dashboard with tabs for:

  • Email delivery status
  • Portal activity
  • HubSpot sync status
  • System health

Access Control

Admin pages require admin-level RBAC Authorization. The isTeamAdmin() check from the auth store gates access to all admin routes and pages.