Commit graph

13 commits

Author SHA1 Message Date
fullsizemalt
7ec8b1fc57 feat: Implement persistence for plant placements in layout editor
Some checks are pending
Test / backend-test (push) Waiting to run
Test / frontend-test (push) Waiting to run
2026-01-01 16:29:45 -08:00
fullsizemalt
d9d04045cb feat: Add Rackula-inspired layout system with 2D editor
Some checks are pending
Test / backend-test (push) Waiting to run
Test / frontend-test (push) Waiting to run
- Add PlantType model with Zod validation
- Add PlantType CRUD API routes
- Add 2D Layout Editor components (TypeLibrary, RackVisualizer, LayoutEditor)
- Add seed script with 21 common cannabis strains
- Add /layout-editor/:floorId? route
2026-01-01 14:12:03 -08:00
fullsizemalt
56c8e8bb8b fix(schema): Add REVOKED to VisitorStatus enum
Some checks failed
Deploy to Production / deploy (push) Failing after 0s
Test / backend-test (push) Failing after 0s
Test / frontend-test (push) Failing after 0s
2025-12-11 14:11:28 -08:00
fullsizemalt
3a11590795 feat(layout): Add Tiers to FacilitySection and Position
Some checks failed
Deploy to Production / deploy (push) Failing after 0s
Test / backend-test (push) Failing after 0s
Test / frontend-test (push) Failing after 0s
- Added 'tiers' to FacilitySection for multi-level racks
- Added 'tier' to FacilityPosition for Z-axis addressing
- Updated unique constraint for positions
2025-12-11 13:21:05 -08:00
fullsizemalt
da93320ccf feat(layout): Add Ceiling Height and Tiers to Floor creation
Some checks failed
Deploy to Production / deploy (push) Failing after 0s
Test / backend-test (push) Failing after 0s
Test / frontend-test (push) Failing after 0s
- Added ceilingHeight and defaultTiers to FacilityFloor model
- Updated API routes and frontend client
- Updated AddFloorModal with new fields and clearer labels
2025-12-11 12:23:49 -08:00
fullsizemalt
deadb04803 fix(backend): Add Batch-FacilityPlant relation and fix Prisma queries
Some checks failed
Deploy to Production / deploy (push) Failing after 0s
Test / backend-test (push) Failing after 0s
Test / frontend-test (push) Failing after 0s
- Added bi-directional relation between Batch and FacilityPlant in schema.prisma
- Fixed logic in insights.routes.ts to use simplified plant count query
- Fixed duplicate property in messaging.routes.ts findMany filter
- Fixed null/undefined type mismatch in audit.routes.ts extractClientInfo
2025-12-11 11:43:54 -08:00
fullsizemalt
32fd739ccf feat: Complete Phases 8-13 implementation
Some checks failed
Deploy to Production / deploy (push) Failing after 0s
Test / backend-test (push) Failing after 0s
Test / frontend-test (push) Failing after 0s
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)
2025-12-11 00:26:25 -08:00
fullsizemalt
e240ec7911 feat(phase2): Implement Phase 2 - Plant Touch Points & IPM
Added PlantTouchPoint and IPMSchedule models. Implemented touch-points and IPM controllers/routes. Updated frontend with Dashboard feed and IPM widgets.
2025-12-09 21:22:47 -08:00
fullsizemalt
f95b626724 feat: Shopping List UI + Roadmap Update
📦 Shopping List Feature (Phase 3A)
- Full SupplyItem model with Vendor & ProductUrl
- Shopping List / Inventory toggle
- Add Item Modal (Category, Thresholds, Vendor info)
- 'Order Now' external link logic
- 'Mark Ordered' tracking
- Quantity +/- adjustments

📅 Roadmap Update:
- Defined Unified Master Calendar (Phase 4)
- Added granular toggles (Emp Schedules, Taxes, Compliance, Plant Cycle, etc.)

🚀 Status:
- Backend deployed (Schema synced)
- Frontend deploying...
2025-12-09 15:26:35 -08:00
fullsizemalt
d42331075d feat: Phase 2 Start - Shopping List Database Schema
🚀 PROCEEDING WITH ROADMAP PARITY

 Seed Data Updated:
- Removed all test users
- Kept only 777 Wolfpack team (Travis, Jen, King)
- Preserved walkthrough data

📦 Shopping List Feature (Phase 3A):
- Added SupplyItem model
- Added SupplyCategory enum (FILTER, CLEANING, PPE, OFFICE, BATHROOM, KITCHEN, MAINTENANCE, OTHER)
- Fields: name, category, quantity, minThreshold, unit, location, lastOrdered, notes

Next Steps:
1. Run migration
2. Create backend API
3. Create frontend UI
4. Deploy

Priority: Shopping List → Touch Points → Task Lists
2025-12-09 15:09:12 -08:00
fullsizemalt
7d42ecbfad feat: Daily Walkthrough Database Schema
🔴 Phase 1.5: Daily Operations for 777 Wolfpack

 Database Schema Complete:
- DailyWalkthrough model (parent walkthrough session)
- ReservoirCheck model (tank levels, veg/flower)
- IrrigationCheck model (drippers, water flow, nutrients, 4 zones)
- PlantHealthCheck model (pests, water/food access, photos)

📊 New Enums:
- WalkthroughStatus (IN_PROGRESS, COMPLETED, INCOMPLETE)
- TankType (VEG, FLOWER)
- TankStatus (OK, LOW, CRITICAL)
- HealthStatus (GOOD, FAIR, NEEDS_ATTENTION)
- AccessStatus (OK, ISSUES)

🔗 Relationships:
- User → DailyWalkthrough (one-to-many)
- DailyWalkthrough → ReservoirCheck (one-to-many, cascade delete)
- DailyWalkthrough → IrrigationCheck (one-to-many, cascade delete)
- DailyWalkthrough → PlantHealthCheck (one-to-many, cascade delete)

📝 Features:
- Photo URLs for all check types
- JSON storage for failed dripper IDs
- Cascade delete (cleanup on walkthrough deletion)
- Timestamps for audit trail
- Status tracking (in progress → completed)

⏭️ Next: Migration + Backend API endpoints

Migration Command (run on deployment):
npx prisma migrate dev --name add_daily_walkthrough
2025-12-09 14:06:16 -08:00
fullsizemalt
6b724386ba feat: Phase 1 Complete (Backend + Frontend)
Some checks failed
Deploy to Production / deploy (push) Failing after 0s
Test / backend-test (push) Failing after 0s
Test / frontend-test (push) Failing after 0s
2025-12-09 09:24:00 -08:00
fullsizemalt
9c5ffec28d fix: Add missing project files for backend/frontend build
Some checks failed
Deploy to Production / deploy (push) Failing after 0s
Test / backend-test (push) Failing after 0s
Test / frontend-test (push) Failing after 0s
2025-12-09 00:23:28 -08:00