Skip to content

feature/update-task-priority#154

Merged
mdawoud27 merged 4 commits into
mainfrom
feature/153/update_task_priority
Apr 17, 2025
Merged

feature/update-task-priority#154
mdawoud27 merged 4 commits into
mainfrom
feature/153/update_task_priority

Conversation

@mdawoud27
Copy link
Copy Markdown
Contributor

PR Checklist (required)

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines.

  • Tests for the changes have been added (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation changes
  • Other... Please describe:

Related Issue

Closes #153

@mdawoud27 mdawoud27 added documentation Improvements or additions to documentation feature For new feature labels Apr 17, 2025
@mdawoud27 mdawoud27 requested a review from Copilot April 17, 2025 17:48
@mdawoud27 mdawoud27 self-assigned this Apr 17, 2025
@mdawoud27 mdawoud27 linked an issue Apr 17, 2025 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new feature to update a task's priority.

  • Adds a PATCH route in the task routes to handle priority updates.
  • Implements the updateTaskPriority controller function with necessary validations and permissions.
  • Updates the README documentation to include the new API endpoint.

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/routes/task.routes.js Added import and new PATCH route for task priority updates.
src/controllers/task.controller.js Implemented the updateTaskPriority controller with validations.
README.md Updated API endpoint documentation to reflect new changes.
Files not reviewed (1)
  • src/docs/swagger.json: Language not supported

Comment thread src/controllers/task.controller.js
@mdawoud27 mdawoud27 merged commit 8d6ad78 into main Apr 17, 2025
11 checks passed
@mdawoud27 mdawoud27 deleted the feature/153/update_task_priority branch April 17, 2025 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation feature For new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: Update the task priority

2 participants