Commit Graph

6 Commits

Author SHA1 Message Date
zhi
d6a45c3e17 feat(P5.3+P5.4): pass completion comment in transition body, remove separate comment API call for finish/close 2026-03-17 11:02:19 +00:00
zhi
e6b91e9558 P9.2+P9.4: Task action buttons (open/start/finish/close/reopen) with finish-comment modal and close-reason modal 2026-03-17 07:07:04 +00:00
zhi
e60763b128 feat: update frontend type definitions and status enums to match new backend
- types/index.ts: Task status 'progressing' → 'undergoing' + 'completed'; Milestone status updated to open/freeze/undergoing/completed/closed + started_at field
- MilestoneFormModal: dropdown options updated
- MilestoneDetailPage: isProgressing → isUndergoing, badge class simplified
- MilestonesPage: badge class simplified
- TaskDetailPage: status transition map updated for new state machine
2026-03-17 01:04:51 +00:00
zhi
7587554fd8 feat: unify project milestone and task editing with modals 2026-03-16 18:13:54 +00:00
zhi
0c5c78a45d fix: align task pages with backend task api 2026-03-16 13:22:19 +00:00
zhi
01affdb020 refactor: rename Issue → Task throughout frontend
- Rename files: IssuesPage → TasksPage, IssueDetailPage → TaskDetailPage,
  CreateIssuePage → CreateTaskPage
- Rename TypeScript interface: Issue → Task (keep backend field names)
- Update routes: /issues → /tasks, /issues/new → /tasks/new, /issues/:id → /tasks/:id
- Update CSS class names: issue-* → task-*, create-issue → create-task
- Update UI text: 'Issues' → 'Tasks', 'Create Issue' → 'Create Task'
- Keep 'issue' as a task subtype value in TASK_TYPES dropdown
- Keep all backend API endpoint paths unchanged (/issues, /comments, etc.)
- Rename local Task interface in MilestoneDetailPage to MilestoneTask
  to avoid conflict with the global Task type
2026-03-16 07:47:58 +00:00