How shehnaz-r/ultra_tech_trianing works
UltraTech Training Portal is a role-based internal training-operations SPA for employees, department heads, and HR. Its workflow spans training requests and planning, enrollment and training records, completion-proof submission, head sign-off, and HR oversight including escalations and reporting. The React shell selects role-specific screens over a shared reactive store, which persists state in browser LocalStorage. Source excerpts show the app’s view routing and store wiring; several feature relationships are documented in the README, while unsampled implementation details are not inferred.
Main entry points: hr HR overview and cycle · App.jsx Role-based app shell · employee Employee screens · head Head overview and team
Components 25
App Runtime
- React mount
src/main.jsx - Role-based app shell
src/App.jsx - Reactive store context
src/context/StoreContext.jsx - Operations state store
js/store.js - Seed operations data
js/data.js - Browser LocalStorage
- Navigation and feedback
src/components - Workflow dialogs
src/components/modals
Employee Operations
- Employee screens
src/views/employee - Request training
src/views/employee/EmployeeRequest.jsx - My trainings
src/views/employee/EmployeeTrainings.jsx - Profile and skills
src/views/employee/EmployeeProfile.jsx - Notifications
src/views/employee/EmployeeNotifications.jsx
Department Head
- Head overview and team
src/views/head - Team requests
src/views/head/HeadRequest.jsx - Training sign-offs
src/views/head/HeadSignoffs.jsx - Team reports
src/views/head/HeadReports.jsx
HR Administration
- HR overview and cycle
src/views/hr - Request administration
src/views/hr/HrRequests.jsx - Training calendar
src/views/hr/HrCalendar.jsx - People directory
src/views/hr/HrDirectory.jsx - SLA escalations
src/views/hr/HrEscalations.jsx - Promotions
src/views/hr/HrPromotions.jsx - HR reports
src/views/hr/HrReports.jsx
Other components
- Portal user
Connections 25
- Portal user → React mount: opens portal
README.md - React mount → Reactive store context: wraps app
src/main.jsx - React mount → Role-based app shell: mounts
src/main.jsx - Role-based app shell → Navigation and feedback: renders shell
src/App.jsx - Role-based app shell → Workflow dialogs: renders dialogs
src/App.jsx - Role-based app shell → Employee screens: routes employee
src/App.jsx - Role-based app shell → Head overview and team: routes head
src/App.jsx - Role-based app shell → HR overview and cycle: routes HR
src/App.jsx - Reactive store context → Operations state store: subscribes to
src/context/StoreContext.jsx - Operations state store → Seed operations data: loads seed data
js/store.js - Operations state store → Browser LocalStorage: persists state
js/store.js - Employee screens → Request training: includes
README.md - Employee screens → My trainings: includes
README.md - Employee screens → Profile and skills: includes
README.md - Employee screens → Notifications: includes
README.md - Profile and skills → Operations state store: updates profile
src/views/employee/EmployeeProfile.jsx - Head overview and team → Team requests: includes
README.md - Head overview and team → Training sign-offs: includes
README.md - Head overview and team → Team reports: includes
README.md - HR overview and cycle → Request administration: includes
README.md - HR overview and cycle → Training calendar: includes
README.md - HR overview and cycle → People directory: includes
README.md - HR overview and cycle → SLA escalations: includes
README.md - HR overview and cycle → Promotions: includes
README.md - HR overview and cycle → HR reports: includes
README.md