Phase 8: Visitor Management - Visitor/VisitorLog/AccessZone models - Check-in/out with badge generation - Zone occupancy tracking - Kiosk and management pages Phase 9: Messaging & Communication - Announcements with priority levels - Acknowledgement tracking - Shift notes for team handoffs - AnnouncementBanner component Phase 10: Compliance & Audit Trail - Immutable AuditLog model - Document versioning and approval workflow - Acknowledgement tracking for SOPs - CSV export for audit logs Phase 11: Accessibility & i18n - WCAG 2.1 AA compliance utilities - react-i18next with EN/ES translations - User preferences context (theme, font size, etc) - High contrast and reduced motion support Phase 12: Hardware Integration - QR code generation for batches/plants/visitors - Printable label system - Visitor badge printing Phase 13: Advanced Features - Environmental monitoring (sensors, readings, alerts) - Financial tracking (transactions, P&L reports) - AI/ML insights (yield predictions, anomaly detection)
1.7 KiB
1.7 KiB
Phase 5: IPM & Plant Health - Implementation Plan
Goal
Implement a robust Integrated Pest Management (IPM) system to track plant health, schedule preventative treatments, and visualize pest pressure over time.
🏃 Sprint 1: IPM Scheduling Engine
Objective: Automate preventative care.
- Backend:
IPMSchedulesController: operationalize theIPMSchedulemodel.- Logic to auto-generate
Tasksbased on the schedule (e.g. "Spray Pyganic" every 3 days).
- Frontend:
- IPM Manager: View to set up treatment plans for Batches (Product, Dosage, Interval).
- Schedule Visualization: Calendar view specifically for Spray/IPM events.
🏃 Sprint 2: Scouting & Health Tracking
Objective: Record detailed observations.
- Backend:
- Enhance
PlantTouchPointor create dedicatedscoutingendpoints. - Track
severity(Low/Med/High) andpestType(Mites, Thrips, PM, etc.).
- Enhance
- Frontend:
- Scouting Form: specialized modal for logging health checks (separate from generic "Touch Points").
- Photo Upload: seamless photo attachment for evidence.
🏃 Sprint 3: Health History & Analysis
Objective: Visualizing the data.
- Frontend:
- Batch Health History: A timeline or chart on the Batch Detail view showing health events.
- Pest Pressure Heatmap: (Stretch goal) Visual indicator of rooms with high pest activity.
Technical Dependencies
IPMSchedulemodel exists in Prisma.PlantTouchPointmodel exists but might need refinement for "Scouting" specific fields if not already covered.- Need to integrate with the Task system created in Phase 4 (Scouting/Spraying should be Tasks).