Skip to content

Fix Progress Update Logic When Changing Status to "Assigned" and "In Progress" #1371

@RishiChaubey31

Description

@RishiChaubey31

Issue Description :

  • On status site under /tasks?dev=true and /mine?dev=tru,e Whenever a user changes their task status from any other status to Assigned, a modal appears displaying:
    "The progress of the current task is 90%. Proceeding further will make the task progress 100%."

  • On proceeding, the progress is set to 100%.

  • Similarly when user changes status to IN PROGRESS then it sets the progress to 0 %.

Current Behaviour :

  • Whenever a user changes their task status from any other status to Assigned, a modal appears displaying:
    "The progress of the current task is 90%. Proceeding further will make the task progress 100%."

  • On proceeding, the progress is set to 100%.

  • the cross icon appears outside the modal

Image

Expected Behaviour :

  • On changing the the task status to Assigned the progress of the task should be made 0 % .

  • the modal should display text like this "The progress of the current task is 90%. Proceeding further will make the task progress 0%."

  • the cross icon should be present inside the modal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions