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
+6 -5
View File
@@ -53,12 +53,13 @@
"T020", "T020",
"T021", "T021",
"T022", "T022",
"T023" "T023",
"T024"
], ],
"current_phase": 6, "current_phase": 6,
"next_task": "T024" "next_task": "T025"
}, },
"tests_run": false, "tests_run": true,
"runtime_verified": false, "runtime_verified": false,
"deployment_docs_ready": false, "deployment_docs_ready": false,
"release_ready": false "release_ready": false
@@ -66,13 +67,13 @@
"quality": { "quality": {
"open_errors": 0, "open_errors": 0,
"open_risks": 0, "open_risks": 0,
"last_test_result": "not_run", "last_test_result": "passed",
"last_runtime_result": "not_run", "last_runtime_result": "not_run",
"last_artifact_check": "not_run", "last_artifact_check": "not_run",
"score": 0 "score": 0
}, },
"next_action": { "next_action": {
"summary": "Phase 6: Projects (T022-T030). T021-T023 abgeschlossen. Nächstes: T024 Project function group and function editor UI.", "summary": "Phase 6: Projects (T022-T030). T024 completed: added function_type + group start/end dates to function groups UI. Nächstes: T025 Project form and editor UI (creation/editing).",
"owner_agent": "implementation_engineer", "owner_agent": "implementation_engineer",
"required_skill": "implementation-loop" "required_skill": "implementation-loop"
}, },
+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.