How weshallnot/updated-ccal-eventui works
This is a browser-based event compliance and workflow management application. Users sign in, navigate role-restricted administration and event features, configure categories and workflow stages, manage event instances and related documents, and view reports and notifications. The graph highlights routed product areas and the sampled event-edit, notification, and API-client behavior. Many pages and service implementations are unsampled, so their internal calls are not inferred; dashed links mark only unverified integration points.
Main entry points: App.js Application routes · EditEventFrom.jsx Event editing · base.service.js Authenticated HTTP · notification.service.js Notification API
Components 32
Application access
- Application routes
src/App.js - Role guard
src/guards/auth.guard.js - Navigation header
src/components/navigation/Header.js - Login
src/pages/login/Login.jsx - Notification panel
src/components/notification/notification.js
Administration
- Organization admin
src/pages/organization/Organization.jsx - Department admin
src/pages/department/Department.jsx - Location admin
src/pages/location/Location.jsx - User administration
src/pages/registration/EditUser.jsx - Role management
src/pages/role/Role.jsx
Event workflow
- Event categories
src/pages/event-category/EventCategory.jsx - Workflow setup
src/pages/workflow/WorkFlow.jsx - Workflow stages
src/pages/workflowstages/WorkFlowStages.jsx - Category mapping
src/pages/workflow-mapping/AssingEventCategoryToWorkflow.jsx - Event editing
src/pages/event-instance/EditEventFrom.jsx - Event creation
src/pages/event-instance/EventForm.jsx - Event viewing
src/pages/event-instance/ViewEventForm.jsx
Documents and reporting
- Dashboard
src/pages/dashboard/Dashboard.jsx - Document management
src/pages/document/CreateDocument.jsx - Compliance reports
src/pages/report/ReportCategoryWise.jsx
Client platform
- Event API client
src/services/event.instance.service.js - User API client
src/services/user.service.js - Department API client
src/services/department.service.js - Location API client
src/services/location.service.js - Organization API client
src/services/organization.service.js - Workflow stage API
src/services/workFlowStages.service.js - Authenticated HTTP
src/services/base.service.js - User state actions
src/store/actions/user.js - Notification API
src/services/notification.service.js
Other components
- User
- Application services
- Notification broker
Connections 38
- User → Application routes: uses
- Application routes → Role guard: protects routes
src/App.js - Application routes → Dashboard: routes to
src/App.js - Application routes → Login: routes to
src/App.js - Application routes → Organization admin: routes to
src/App.js - Application routes → Department admin: routes to
src/App.js - Application routes → Location admin: routes to
src/App.js - Application routes → User administration: routes to
src/App.js - Application routes → Role management: routes to
src/App.js - Application routes → Event categories: routes to
src/App.js - Application routes → Workflow setup: routes to
src/App.js - Application routes → Workflow stages: routes to
src/App.js - Application routes → Category mapping: routes to
src/App.js - Application routes → Event editing: routes to
src/App.js - Application routes → Event creation: routes to
src/App.js - Application routes → Event viewing: routes to
src/App.js - Application routes → Document management: routes to
src/App.js - Application routes → Compliance reports: routes to
src/App.js - Navigation header → User state actions: dispatches logout
src/components/navigation/Header.js - Role guard → User state actions: reads user state
src/guards/auth.guard.js - Event editing → Event API client: loads and updates
src/pages/event-instance/EditEventFrom.jsx - Event editing → User API client: loads users
src/pages/event-instance/EditEventFrom.jsx - Event editing → Department API client: loads department
src/pages/event-instance/EditEventFrom.jsx - Event editing → Workflow stage API: loads stages
src/pages/event-instance/EditEventFrom.jsx - Event editing → Notification API: sends notification
src/pages/event-instance/EditEventFrom.jsx - Notification panel → Notification API: fetches and marks
src/components/notification/notification.js - Notification API → Notification broker: uses socket
- Event API client → Authenticated HTTP: uses auth headers
src/services/event.instance.service.js - User API client → Authenticated HTTP: uses auth headers
src/services/user.service.js - Department API client → Authenticated HTTP: uses auth headers
src/services/department.service.js - Location API client → Authenticated HTTP: uses auth headers
src/services/location.service.js - Organization API client → Authenticated HTTP: uses auth headers
src/services/organization.service.js - Workflow stage API → Authenticated HTTP: uses auth headers
src/services/workFlowStages.service.js - Notification API → Authenticated HTTP: uses auth headers
src/services/notification.service.js - Event API client → Application services: HTTP requests
src/services/event.instance.service.js - User API client → Application services: HTTP requests
src/services/user.service.js - Organization API client → Application services: HTTP requests
src/services/organization.service.js - Notification API → Application services: notification requests
src/services/notification.service.js