T024: update project_state and worklog

This commit is contained in:
Agent Zero
2026-05-31 21:27:23 +00:00
parent e14edd5b22
commit 6c435b28b4
2 changed files with 15 additions and 5 deletions
+9
View File
@@ -0,0 +1,9 @@
# Worklog
## T024 Function group and function editor UI improvements
- **Backend**: Added `start_date`, `end_date` columns to `project_function_groups` table (alembic migration `cfe638817921`). Added `function_type` column (String 50, default 'crew') to `project_functions` table.
- **Pydantic schemas**: Updated `ProjectFunctionGroupCreateRequest`, `ProjectFunctionGroupUpdateRequest`, `ProjectFunctionGroupResponse`, `ProjectFunctionCreateRequest`, `ProjectFunctionUpdateRequest`, `ProjectFunctionResponse` to include new fields.
- **Frontend**: Updated `FunctionGroupEditor.tsx` interfaces and state to support `function_type` dropdown (crew/equipment/transport), `start_date`, `end_date` date pickers for function groups. Added date display in group headers and function type badge in function rows.
- **Tests**: Backend health check passed (200). Frontend tsc --noEmit exit 0, vite build successful.
- **Commit**: `e14edd5` on master.