T024: update project_state and worklog
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user