How dvi-dgsw-26/dvi-frontend works
This is a role-based factory quality-control web app: users authenticate, enter role-specific inspection and quality workflows, and review operational status and reports. The route table establishes the main user-to-page flow; the monitor additionally combines REST snapshots with a live event stream. The graph preserves major product areas visible in the source index and route excerpt. Several feature implementations and their internal API wiring were not sampled, so those relationships are not inferred.
Main entry points: App.tsx App router · useMonitorStream.ts Monitor stream · AuthContext.tsx Authentication · http.ts HTTP client
Components 23
Application shell
- App router
src/App.tsx - Layout
src/components/layout/Layout.tsx - Notifications
src/features/notification/ui/NotificationPage.tsx
Identity and access
- Authentication
src/features/auth/AuthContext.tsx - Session storage
src/features/auth/api/tokenStorage.ts
Inspection and quality
- Inspection measure
src/features/inspection/ui/InspectionMeasurePage.tsx - Inspection result
src/features/inspection/ui/InspectionResultPage.tsx - Cross-check workflow
src/features/cross-check/ui/CrossCheckMeasurePage.tsx - Incomplete approvals
src/features/incomplete/ui/ApprovalManagementPage.tsx - Live monitor
src/features/monitor/ui/MonitorPage.tsx - Monitor stream
src/features/monitor/api/useMonitorStream.ts
Operations and records
- Dashboard
src/features/dashboard/ui/DashboardPage.tsx - Production home
src/features/my-inspection/ui/ProductionHomePage.tsx - Inspection orders
src/features/inspection-orders/ui/InspectionOrdersPage.tsx - Master data
src/features/products/ui/ProductsPage.tsx - Inspection reports
src/features/report/ui/ReportPage.tsx - Tryout reports
src/features/tryout-report/ui/TryoutReportListPage.tsx
Shared runtime
- HTTP client
src/lib/http.ts - API server selection
src/lib/apiServer.ts - Data translation
src/lib/dataDictionary.ts - View state
src/lib/viewState.ts
Other components
- Factory user
- Quality backend
Connections 23
- Factory user → App router: opens
- App router → Authentication: checks session
src/App.tsx - App router → Layout: renders routes
src/App.tsx - App router → Production home: routes to
src/App.tsx - App router → Dashboard: routes to
src/App.tsx - App router → Inspection measure: routes to
src/App.tsx - App router → Inspection result: routes to
src/App.tsx - App router → Cross-check workflow: routes to
src/App.tsx - App router → Incomplete approvals: routes to
src/App.tsx - App router → Live monitor: routes to
src/App.tsx - App router → Inspection orders: routes to
src/App.tsx - App router → Master data: routes to
src/App.tsx - App router → Inspection reports: routes to
src/App.tsx - App router → Tryout reports: routes to
src/App.tsx - App router → Notifications: routes to
src/App.tsx - Authentication → Session storage: reads and writes
src/features/auth/AuthContext.tsx - Authentication → View state: clears state
src/features/auth/AuthContext.tsx - HTTP client → API server selection: selects base URL
src/lib/http.ts - HTTP client → Data translation: installs translation
src/lib/http.ts - Live monitor → Monitor stream: subscribes
src/features/monitor/ui/MonitorPage.tsx - Monitor stream → Quality backend: fetches stream
src/features/monitor/api/useMonitorStream.ts - Monitor stream → API server selection: selects stream URL
src/features/monitor/api/useMonitorStream.ts - Monitor stream → Data translation: translates events
src/features/monitor/api/useMonitorStream.ts