You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gudipudiramanakumar 78158cbcf5
Added the feature to Remove annotation objects in a specified range of frames (#3617)
* Test Commit for Remove Range

Test Commit for Remove Range

* Remove annotations in range merged with remove annotations button merged

Remove annotations in range merged with remove annotations button merged

* Update annotation-reducer.ts

* Update annotation-actions.ts

* Update annotation-reducer.ts

* Converting remove range component to hook based component

Removed all the global states previously used and converted all the parameters to local state in annotation menu and remove range component.

* Improved clear in cvat core and implemented remove range

Added arguments of startframe and endframe to clear method in annotation-collection, and also added the updating of the states with payload on removeannotationsinrangeasync action in the reducer.

* Matching only the needed parts

There are few additional old files that were needed to be removed to be completely matched with develop branch of cvat

* Delete out.json

* Update annotations-collection.js

* Added a checkbox to remove range modal

Added a checkbox to remove range modal that can be used to select if only the keyframes should be deleted in tracks or the whole track

* ESLint fixed

All the updated files were formatted as per ESLint except one line in that even cvat base is also overlooking i.e.
Row 162, Column 15: "JSX props should not use functions" in cvat\cvat-ui\src\components\annotation-page\top-bar\annotation-menu.tsx.

* More ESLint and other updates

Changed all the suggested changes and also removed unnecessary files in dist.
Removed unnecessary explicit removals in objects and additional wrappers.

* Update annotation-menu.tsx

Fixed the mistake of wrong variable name.

* Update remove-range-confirm.tsx

Additional ESLint Issue fixed

* Changed the approach of removeAnnotations modal

Changed the approach of removeAnnotations modal so that it could match the implementation of all the other components

* Added to changelog

Fixed type annotations in the annotation-menu component for remove annotations, and updated cvat-ui and cvat-core npm versions.
4 years ago
..
docs Interpolation of polyshapes in CVAT (#1571) 6 years ago
src Added the feature to Remove annotation objects in a specified range of frames (#3617) 4 years ago
tests [cvat-core] support cloud storage (#3313) 5 years ago
.dockerignore User interface with React and antd (#785) 6 years ago
.eslintignore Projects (#2255) 5 years ago
.eslintrc.js [Dependent] Simple Review Pipeline (Client) (#2357) 5 years ago
.gitignore Added package-lock.json to cvat-core. (#1995) 6 years ago
README.md Fix many spelling errors (#3244) 5 years ago
jest.config.js Move coverage via "jest" to coverage via integration tests. (#2675) 5 years ago
jsdoc.config.js Fixes for eslint & precommit configuration (#2352) 5 years ago
package-lock.json Added the feature to Remove annotation objects in a specified range of frames (#3617) 4 years ago
package.json Added the feature to Remove annotation objects in a specified range of frames (#3617) 4 years ago
webpack.config.js Added notification, adjusted browserlist query and configs (#3501) 5 years ago

README.md

Module CVAT-CORE

Description

This CVAT module is a client-side JavaScript library for management of objects, frames, logs, etc. It contains the core logic of the Computer Vision Annotation Tool.

Versioning

If you make changes in this package, please do following:

  • After not important changes (typos, backward compatible bug fixes, refactoring) do: npm version patch
  • After changing API (backward compatible new features) do: npm version minor
  • After changing API (changes that break backward compatibility) do: npm version major

Commands

  • Dependencies installation
npm ci
  • Building the module from sources in the dist directory:
npm run build
npm run build -- --mode=development     # without a minification
  • Building the documentation in the docs directory:
npm run-script docs
  • Running of tests:
npm run-script test
  • Updating of a module version:
npm version patch   # updated after minor fixes
npm version minor   # updated after major changes which don't affect API compatibility with previous versions
npm version major   # updated after major changes which affect API compatibility with previous versions

Visual studio code configurations:

  • cvat.js debug starts debugging with entrypoint api.js
  • cvat.js test builds library and runs entrypoint tests.js