-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Find a better place to job status switcher #2082
Comments
Thanks for pointing me to #1704 that helped me find how to change the status! I would recommend changing the following in the documentation to use the Info button not the menu inside the job. I do realize it references the info button later on in the documentation, but making the change here would help too. "A status of the job. The status is specified by the user in the menu inside the job. There are three types of status: annotation, validation or completed. The status of the job is changes the progress bar of the task." I understand that a task which has the states "pending", "in progress", and "completed" changes automatically as the jobs statuses change. However, in enums.js the enumeration TaskStatus has the states, 'annotation', 'validation', and 'completed'. As mentioned these are not the states of a Task, they are the states of a Job so the name TaskStatus should be changed to reflect that. |
Hmm.. you are right. In UI task status is defined as following: if (numOfCompleted === numOfJobs) {
progressColor = 'cvat-task-completed-progress';
progressText = <Text strong className={progressColor}>Completed</Text>;
} else if (numOfCompleted) {
progressColor = 'cvat-task-progress-progress';
progressText = <Text strong className={progressColor}>In Progress</Text>;
} else {
progressColor = 'cvat-task-pending-progress';
progressText = <Text strong className={progressColor}>Pending</Text>;
} But it is only UI implementation. In the database task status is one of class StatusChoice(str, Enum):
ANNOTATION = 'annotation'
VALIDATION = 'validation'
COMPLETED = 'completed' as you can see here: Maybe we should sort it out. |
What's more, we wanted rename 'validation' to 'review' |
My actions before raising this issue
I don't have an option to change status of job.
Additionally the enumeration type for the status of the job in enums.js is called TaskStatus. I think the name of this should be changed since it is referring to a task not a job.
Expected Behaviour
The menu on the annotation page gives option to change status.
Current Behaviour
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
git log -1
): 1fdf100docker version
(e.g. Docker 17.0.05):Logs from `cvat` container
Next steps
You may join our Gitter channel for community support.
The text was updated successfully, but these errors were encountered: