- Added ceilingHeight and defaultTiers to FacilityFloor model - Updated API routes and frontend client - Updated AddFloorModal with new fields and clearer labels
2 KiB
2 KiB
Deployment & Verification Summary
Date: 2025-12-11
Environment: nexus-vector (Demo)
URL: https://777wolfpack.runfoo.run
Key Achievements
-
Layout Designer Enhancements
- Property Creation: Implemented "Add Property" workflow directly within the Layout Designer.
- Building Creation: Added
AddBuildingModaland "Add New Building" button in the floor selector. - Floor Creation: Integrated
AddFloorModalfor creating new floors on the fly. - API Updates: Fixed
layout.routes.tsto support complex nested queries and proper address generation.
-
Backend & Database Fixes
- Schema Update: Added bi-directional relation between
BatchandFacilityPlantinschema.prisma. - Seed Script Fixed: Corrected
seed.jsto use validRoleEnumvalues (GROWER,STAFF) andSupplyCategory(OTHER), and removed invalidcreatedByIdfield in Task creation. - Type Safety: Resolved TypeScript errors in
audit.routes.ts(null vs undefined),insights.routes.ts(Batch relations), andmessaging.routes.ts(duplicate keys).
- Schema Update: Added bi-directional relation between
-
Deployment Success
- Successfully deployed the latest code to
nexus-vector. - Database migrations applied and seed data populated successfully.
- Verified frontend application loads and Layout Designer components are active.
- Successfully deployed the latest code to
Verification Steps Performed
- Build: Backend and Frontend Docker builds completed successfully.
- Database:
prisma db pushandnode prisma/seed.jsexecuted without errors. - Frontend: Verified access to Layout Designer and presence of "Setup Property" / creation controls.
Usage Instructions
To test the new features:
- Login as
admin@runfoo.run/password123. - Navigate to Layout Designer.
- Open the top-left dropdown (Floor Selector).
- Use "Add New Property" to set up a facility.
- Use "Add New Building" to add structures.
- Use "Add Floor" to define levels.