How matwin1978/simutestfall_2809 works
This is a browser-based interactive training simulator, apparently centered on vehicle/equipment inspection and diagnostic missions. The principal workflow is to select a mission, explore a 3D scene, perform context-sensitive actions with equipment, and review whether required actions were completed. Its internal action engine updates shared state and compares the action log with mission requirements. The README is generic Vite-template material and does not document product capabilities; several components are represented only by the tree or index, so those relationships are omitted unless the index establishes them.
Main entry points: store.ts Application stores · App.tsx Application shell · handleActionTrigger.ts Action handler · comparePerformedAndMandatoryActionsSimple.ts Requirement comparison
Components 29
Training experience
- Application shell
src/App.tsx - Object actions menu
src/components/InteractiveObjectMenu/InteractiveObjectMenu.tsx - Inventory
src/components/Inventory/Inventory.tsx - Equipment inventory
src/components/Inventory/EquipmentInventory.tsx - Inventory object
src/components/Inventory/InventoryObject.tsx - Inventory submenu
src/components/Inventory/InventorySubMenu.tsx
3D scene
- Scene canvas
src/components/ThreeDCanvas/ThreeDCanvas.tsx - Scene engine
src/components/ThreeDCanvas/ThreeD.ts - Spin controls
src/components/ThreeDCanvas/SpinControls/SpinControls.ts
Actions and state
- Action handler
src/utilities/handleActionTrigger.ts - Application stores
src/store/store.ts - Action reducers
src/utilities/reducers.ts - Requirement comparison
src/utilities/comparePerformedAndMandatoryActionsSimple.ts - Action utilities
src/utilities/utilities.ts - Action type guards
src/types/typeguards.ts - URL parameters
src/utilities/CustomUrlParams.ts - Shared state
src/store/store.ts
Missions and results
- Quick navigation
src/components/QuickNav/QuickNav.tsx - Mission detail
src/components/ViewerMissionDetail/ViewerMissionDetail.tsx - Mission selection
src/components/MissionList/MissionList.tsx - Mission results
src/components/Result/Result.tsx - PDF report
src/components/PdfReport/PdfReport.tsx - Action summary
src/components/PerformedAndMandatoryActionsListSimple/PerformedAndMandatoryActionsListSimple.tsx
Device and diagnostics
- Computer diagnostics
src/components/Computer/Computer.tsx - Expert system
src/components/ExpertSystem/ExpertSystem.tsx - Smartphone
src/components/Smartphone/Smartphone.tsx - Timer app
src/components/Smartphone/SmartphoneAppTimer.tsx - Performance settings
src/components/PerformanceSettings/PerformanceSettings.tsx
Other components
- Trainee
Connections 41
- Trainee → Application shell: uses
- Application shell → Scene canvas: renders
src/App.tsx - Application shell → Inventory: renders
src/App.tsx - Application shell → Equipment inventory: renders
src/App.tsx - Application shell → Smartphone: renders
src/App.tsx - Application shell → Computer diagnostics: renders
src/App.tsx - Application shell → Quick navigation: renders
src/App.tsx - Application shell → Action handler: invokes
src/App.tsx - Application shell → Mission detail: renders
src/App.tsx - Application shell → Object actions menu: renders
src/App.tsx - Scene canvas → Scene engine: hosts
- Scene engine → Spin controls: uses
src/components/ThreeDCanvas/ThreeD.ts - Object actions menu → Action handler: invokes
src/components/InteractiveObjectMenu/InteractiveObjectMenu.tsx - Object actions menu → Action utilities: checks conditions
src/components/InteractiveObjectMenu/InteractiveObjectMenu.tsx - Inventory → Inventory object: renders
src/components/Inventory/Inventory.tsx - Equipment inventory → Inventory submenu: renders
src/components/Inventory/EquipmentInventory.tsx - Inventory → Application stores: reads
src/components/Inventory/Inventory.tsx - Equipment inventory → Application stores: reads
src/components/Inventory/EquipmentInventory.tsx - Inventory object → Inventory submenu: renders
src/components/Inventory/InventoryObject.tsx - Action handler → Action reducers: updates actions
src/utilities/handleActionTrigger.ts - Action handler → Requirement comparison: checks requirements
src/utilities/handleActionTrigger.ts - Action handler → Action utilities: processes requirements
src/utilities/handleActionTrigger.ts - Action handler → Application stores: updates state
src/utilities/handleActionTrigger.ts - Action handler → Action type guards: checks action type
src/utilities/handleActionTrigger.ts - Application stores → Action utilities: initializes actions
src/store/store.ts - Application stores → URL parameters: reads parameters
src/store/store.ts - Application stores → Requirement comparison: checks completion
src/store/store.ts - Quick navigation → Action handler: triggers actions
src/components/QuickNav/QuickNav.tsx - Quick navigation → Application stores: reads state
src/components/QuickNav/QuickNav.tsx - Mission detail → Application stores: reads state
src/components/ViewerMissionDetail/ViewerMissionDetail.tsx - Mission results → Action summary: renders
src/components/Result/Result.tsx - Mission results → PDF report: renders
src/components/Result/Result.tsx - Mission results → Requirement comparison: compares actions
src/components/Result/Result.tsx - Action summary → Requirement comparison: compares actions
src/components/PerformedAndMandatoryActionsListSimple/PerformedAndMandatoryActionsListSimple.tsx - Action summary → Application stores: reads log
src/components/PerformedAndMandatoryActionsListSimple/PerformedAndMandatoryActionsListSimple.tsx - Computer diagnostics → Expert system: opens
src/components/Computer/Computer.tsx - Computer diagnostics → Action handler: triggers actions
src/components/Computer/Computer.tsx - Timer app → Action handler: triggers actions
src/components/Smartphone/SmartphoneAppTimer.tsx - Timer app → Application stores: reads state
src/components/Smartphone/SmartphoneAppTimer.tsx - Performance settings → Application stores: updates settings
src/components/PerformanceSettings/PerformanceSettings.tsx - Shared state → Application stores: stores
src/store/store.ts