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
..
dist React, Antd, Redux: Left sidebar and top for annotation page (#963) 6 years ago
src Added the feature to Remove annotation objects in a specified range of frames (#3617) 4 years ago
.dockerignore User interface with React and antd (#785) 6 years ago
.env Added license headers (#1208) 6 years ago
.eslintignore Projects (#2255) 5 years ago
.eslintrc.js Added linting rule to specify import ordering (#2889) 5 years ago
.gitignore Eslint-Prettier integration & pre commit hook (#2272) 5 years ago
README.md Update documentation sorting (#3320) 5 years ago
index.d.ts React UI: Added client versioning (#1448) 6 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
react_nginx.conf cvat-ui in docker (serve using nginx) (#658) 7 years ago
tsconfig.json Reformatted (#2349) 5 years ago
webpack.config.js Revert "Updating tests for migration to a new version of antd (#3623)" 4 years ago

README.md

cvat-ui module

Description

This is a client UI for Computer Vision Annotation Tool based on React, Redux and Antd

Versioning

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

  • After not important changes (typos, bug fixes, refactoring) do: npm version patch
  • After adding new features do: npm version minor
  • After significant UI redesign do: npm version major

Important: If you have changed versions for cvat-core, cvat-canvas, cvat-data, you also need to do npm install to update package-lock.json

Commands

  • Installing dependencies:
cd ../cvat-core && npm ci && cd - && npm ci
  • Running development UI server with autorebuild on change
npm start
  • Building the module from sources in the dist directory:
npm run build
npm run build -- --mode=development     # without a minification

Important: You also have to run CVAT REST API server (please read https://openvinotoolkit.github.io/cvat/docs/contributing/) to correct working since UI gets all necessary data (tasks, users, annotations) from there