Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: add task reset feature for drone operators #211

Merged
merged 4 commits into from
Sep 10, 2024

Conversation

Pradip-p
Copy link
Collaborator

@Pradip-p Pradip-p commented Sep 10, 2024

Descriptions

This PR introduces a new feature allowing drone operators to unlock a task state by unlocking it if it is locked. This enhancement addresses the need for flexibility in task management, particularly in cases where tasks are mistakenly locked by drone operators.

Changes

  • New unlock Feature: Implements functionality to unlock a task if it's locked, enabling correction of mistakes by drone operators.

  • State Validation and Error Handling: Adds checks to ensure that the task is in the correct state for resetting and verifies that the request is made by the user who locked the task. Provides appropriate error messages for invalid operations.

@Pradip-p Pradip-p added bug Something isn't working enhancement New feature or request backend Related to backend code labels Sep 10, 2024
@Pradip-p Pradip-p self-assigned this Sep 10, 2024
@nrjadkry nrjadkry merged commit 23d5d81 into develop Sep 10, 2024
2 checks passed
@nrjadkry nrjadkry deleted the feat/unlock-task-if-locked branch September 13, 2024 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend code bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants