feat: Task management enhancements (#215)#271
feat: Task management enhancements (#215)#271rubenvdlinde wants to merge 16 commits intodevelopmentfrom
Conversation
…nents (#215) Added proper licensing headers (EUPL-1.2) and spec traceability annotations to all task management components: - TaskList.vue: Filter bar with status, assignee, priority, and search (TASK-TM-02) - TaskDetail.vue: Lifecycle transition error feedback (TASK-TM-03) - TaskCreateDialog.vue: Case reference validation (TASK-TM-04) - taskValidation.js: Task create/update/transition validation utility (TASK-TM-01) - taskLifecycle.js: CMMN task lifecycle management - taskHelpers.js: Date formatting and overdue calculations Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- TaskList.vue: fix vue/html-indent errors in CnIndexPage slot templates (36 errors) - TaskCreateDialog.vue: replace inline validation with validateTaskCreate() utility Co-fixed-by: Juan Claude van Damme <hydra-reviewer@conduction.nl>
…t methods - TaskCreateDialog.vue: import and use validateTaskCreate() in submit(), eliminating inline duplicate of the utility - TaskDetail.vue: add validateTaskUpdate to import and use in validate(), eliminating inline duplicate of the utility Co-fixed-by: Juan Claude van Damme <hydra-reviewer@conduction.nl>
Implement task management MVP: task list filtering and search, validation utilities, lifecycle transition error feedback, and case reference validation. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Quality Report — ConductionNL/procest @
|
| Check | PHP | Vue | Security | License | Tests |
|---|---|---|---|---|---|
| lint | ✅ | ||||
| phpcs | ❌ | ||||
| phpmd | ✅ | ||||
| psalm | ✅ | ||||
| phpstan | ✅ | ||||
| phpmetrics | ✅ | ||||
| eslint | ❌ | ||||
| stylelint | ❌ | ||||
| composer | ✅ | ✅ 100/100 | |||
| npm | ❌ | ❌ | |||
| PHPUnit | ⏭️ | ||||
| Newman | ⏭️ | ||||
| Playwright | ⏭️ |
Quality workflow — 2026-04-21 04:53 UTC
Download the full PDF report from the workflow artifacts.
Code Review — Juan Claude van DammeResult: FAIL (0 fixed, 3 unfixed, 3 blocking) Gate status
Changed-file findings[SUGGESTION] [unfixed: check-not-run — eslint] [unfixed: check-not-run — stylelint] [unfixed: inherited from base — phpcs] Code quality (changed files — all pass)The 8 changed JS/Vue files are well-implemented:
See inline findings above. Retry with a working |
| import { getAllowedTransitions, getStatusLabel, getTransitionLabel, isTerminalStatus } from '../../utils/taskLifecycle.js' | ||
| import { formatDueDate } from '../../utils/taskHelpers.js' | ||
| import { validateTaskTransition } from '../../utils/taskValidation.js' | ||
| import { validateTaskTransition, validateTaskUpdate } from '../../utils/taskValidation.js' |
There was a problem hiding this comment.
[unfixed: suggestion-level, no action required] Rule: OWASP A01:2021 / defence-in-depth — Task status transitions are validated client-side via validateTaskTransition() before saveObject('task', …) is called. If the backend task save/patch handler does not enforce the same CMMN state-machine constraints, an authenticated user could bypass client validation by crafting a direct API call and place a task in an invalid lifecycle state. Recommend confirming that the API layer also rejects illegal status transitions (e.g. available→completed).
Security Review — Clyde BarcodeResult: PASS (0 fixed, 1 unfixed SUGGESTION, 0 blocking) Checks run
Findings
SUGGESTION — OWASP A01:2021 / defence-in-depth
npm audit drift signalThe pre-review quality stage reported Skipped gates
See inline comment for per-finding detail. No fixes applied; no blocking findings. |
Closes #215
Summary
Implement task management MVP enhancements to Procest: task list filtering and search, task validation utilities, lifecycle transition error feedback, and case reference validation on task creation. All features enable users to manage tasks more effectively with better discoverability and validation.
Spec Reference
openspec/changes/task-management/design.mdChanges
src/utils/taskValidation.js— Validation utilities for task create/update/transition operations with user-facing error messagessrc/views/tasks/TaskList.vue— Enhanced with filter bar (status, priority, assignee), search functionality, improved overdue highlightingsrc/views/tasks/TaskDetail.vue— Added lifecycle transition error feedback, auto-set completedDate on completionsrc/views/tasks/TaskCreateDialog.vue— Case reference validation (required field)openspec/changes/task-management/design.md— Updated spec documentation with implementation statusTest Coverage
Implementation Notes