Fixed uploading a skeleton template in configurator
Motivation and context
Resolved #8592 (closed)
How has this been tested?
Checklist
-
I submit my changes into the developbranch -
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
- Resolved an issue with uploading skeleton templates in the configurator.
- Enhanced error handling for SVG uploads, providing clearer error messages and ensuring valid SVG structure.
-
Improvements
- Improved the robustness of SVG upload functionality and validation process, leading to a more reliable skeleton configuration setup.