Files
rentman-clone/worklog.md
T
2026-05-31 21:27:23 +00:00

10 lines
946 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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.