Conversation
Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
There was a problem hiding this comment.
Pull request overview
This pull request implements a task reassignment feature for workflow step executions, allowing users to delegate tasks to other users via email. The feature adds a new "Reassign Task" action in the step execution panel and a quick reassign button in the My Tasks view, along with comprehensive test coverage for the new functionality.
Changes:
- Added task reassignment API endpoint integration with support for email-based assignment and optional reason
- Implemented reassignment UI in StepExecutionPanel with user search autocomplete and validation
- Added quick reassign button to MyTasksView for reassignable tasks (pending, blocked, in_progress)
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| src/types/workflows.ts | Added StepReassignmentRequest and StepReassignmentHistory types, plus assignedAt field to StepExecution |
| src/composables/workflows/index.ts | Exported new reassignment types for use across the application |
| src/composables/workflows/useStepExecutions.ts | Implemented reassignStepExecution function with API integration, toast notifications, and error handling |
| src/composables/workflows/tests/useStepExecutions.spec.ts | Added comprehensive tests for reassignment API calls, transforms, callbacks, and error handling |
| src/views/workflow-executions/partials/StepExecutionPanel.vue | Added reassignment dialog with user search, validation, and integration with useUserSearch composable |
| src/views/workflow-executions/partials/tests/StepExecutionPanel.spec.ts | Added tests for reassignment button visibility, validation, and submission |
| src/views/MyTasksView.vue | Added quick reassign button and canQuickReassign helper for reassignable task statuses |
| src/views/tests/MyTasksView.spec.ts | Added tests for quick reassign button rendering and panel opening |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.