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

hotfix: query to update state labels in task_details #135

Merged
merged 3 commits into from
Aug 9, 2024

Conversation

Pradip-p
Copy link
Collaborator

@Pradip-p Pradip-p commented Aug 9, 2024

Description

Updated the task_details query to map state values to more descriptive labels. Added a default case for unexpected values.

Changes

  • Modified CASE statement for state labels:
    • 'REQUEST_FOR_MAPPING' → 'request logs'
    • 'LOCKED_FOR_MAPPING' → 'ongoing'
    • 'UNLOCKED_DONE' → 'completed'
    • 'UNFLYABLE_TASK' → 'unflyable task'
    • Added 'unknown' for any other values

@Pradip-p Pradip-p requested a review from nrjadkry August 9, 2024 08:15
@github-actions github-actions bot added enhancement New feature or request backend Related to backend code labels Aug 9, 2024
@nrjadkry nrjadkry merged commit 26ba1ea into main Aug 9, 2024
2 checks passed
@nrjadkry nrjadkry deleted the feat/task-stats-endpoint branch August 9, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend code enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants