How boopathivellaichamy0-png/loe-record-generator works
LOE Student Record Studio is a browser-based editor for multi-experiment lab records and PDF generation. The user edits student and experiment details, adjusts document styling, previews the laid-out record, then exports it as a PDF. App.jsx owns the shared form state and connects these views and export behavior. The README describes only the React/Vite template, so product capabilities are inferred from the sampled application source; unsampled modules and detailed wiring are not assumed.
Main entry points: App.jsx Workspace state · sampleData.js Sample experiments · Header.jsx Action header · FormEditor.jsx Experiment editor
Components 9
Workspace orchestration
- Workspace state
src/App.jsx - Action header
src/components/Header.jsx
Record editing
- Experiment editor
src/components/FormEditor.jsx - Style controls
src/components/Sidebar.jsx
Document preview
- Record renderer
src/components/PdfDocument.jsx
PDF export
- PDF exporter
src/utils/pdfExporter.js
Sample content
- Sample experiments
src/utils/sampleData.js - Sample chart images
src/utils/sampleChartSvg.js
Other components
- Record editor
Connections 7
- Record editor → Workspace state: edits workspace
src/App.jsx - Workspace state → Action header: renders
src/App.jsx - Workspace state → Experiment editor: renders
src/App.jsx - Workspace state → Style controls: renders
src/App.jsx - Workspace state → Record renderer: renders
src/App.jsx - Workspace state → PDF exporter: calls on export
src/App.jsx - Sample experiments → Sample chart images: generates chart data
src/utils/sampleData.js