Fix GT label changing to Manual in Ground Truth Job

Motivation and context

Fixes #8874

How has this been tested?

Here is a demo video showing that the GT label doesn't change to Manual in a Ground Truth Job: In this video, I have also shown that the Ground Truth label is assigned only when we are annotating in the ground truth job. When we are annotating in a normal job, the annotation has a Manual label or any other depending on the source.

https://github.com/user-attachments/assets/8b585966-9fcd-439b-a03d-7da13be25f36

Checklist

  • I submit my changes into the develop branch
  • I have created a changelog fragment
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • I have linked related issues (see GitHub docs)
  • I have increased versions of npm packages if it is necessary (cvat-canvas, cvat-core, cvat-data and cvat-ui)

License

  • I submit my code changes under the same MIT License that covers the project. Feel free to contact the maintainers if that's a concern.

Summary by CodeRabbit

  • Bug Fixes
    • Fixed an issue where the Ground Truth (GT) label would unexpectedly change to manual during annotation editing
    • Ensured GT label remains consistent when making modifications to annotations

Merge request reports

Loading