This fixes#5369 by adding keyboard shortcut [x] that delete a frame
without prompt.
Co-authored-by: Scotty Kwok <scottykwok@sebit.word>
Co-authored-by: Boris Sekachev <sekachev.bs@gmail.com>
The only change in production code is the one in `shortcuts-reducer.ts`.
It makes no functional difference, however, because the shortcut in
question is not handled by the regular shortcut mechanism; the control
key is handled separately in `interactionHandler.ts`, while the string
"ctrl" in `shortcuts-reducer.ts` is only used for display purposes.
Fix ESLint errors in altered files, as well.
<!-- Raised an issue to propose your change
(https://github.com/cvat-ai/cvat/issues).
It helps to avoid duplication of efforts from multiple independent
contributors.
Discuss your ideas with maintainers to be sure that changes will be
approved and merged.
Read the
[CONTRIBUTION](https://github.com/cvat-ai/cvat/blob/develop/CONTRIBUTING.md)
guide. -->
<!-- Provide a general summary of your changes in the Title above -->
### Motivation and context
<!-- Why is this change required? What problem does it solve? If it
fixes an open
issue, please link to the issue here. Describe your changes in detail,
add
screenshots. -->
These Cyrillic Cs interfere with searching and can cause confusion.
### How has this been tested?
<!-- Please describe in detail how you tested your changes.
Include details of your testing environment, and the tests you ran to
see how your change affects other areas of the code, etc. -->
I'm relying on GitHub Actions.
### Checklist
<!-- Go over all the following points, and put an `x` in all the boxes
that apply.
If an item isn't applicable by a reason then ~~explicitly
strikethrough~~ the whole
line. If you don't do that github will show an incorrect process for the
pull request.
If you're unsure about any of these, don't hesitate to ask. We're here
to help! -->
- [x] I submit my changes into the `develop` branch
- ~~[ ] I have added a description of my changes into
[CHANGELOG](https://github.com/cvat-ai/cvat/blob/develop/CHANGELOG.md)
file~~
- ~~[ ] I have updated the [documentation](
https://github.com/cvat-ai/cvat/blob/develop/README.md#documentation)
accordingly~~
- ~~[ ] I have added tests to cover my changes~~
- ~~[ ] I have linked related issues ([read github docs](
https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))~~
- ~~[ ] I have increased versions of npm packages if it is necessary
([cvat-canvas](https://github.com/cvat-ai/cvat/tree/develop/cvat-canvas#versioning),
[cvat-core](https://github.com/cvat-ai/cvat/tree/develop/cvat-core#versioning),
[cvat-data](https://github.com/cvat-ai/cvat/tree/develop/cvat-data#versioning)
and
[cvat-ui](https://github.com/cvat-ai/cvat/tree/develop/cvat-ui#versioning))~~
### License
- [x] I submit _my code changes_ under the same [MIT License](
https://github.com/cvat-ai/cvat/blob/develop/LICENSE) that covers the
project.
Feel free to contact the maintainers if that's a concern.
* Supported type for all labels
* Multiple fixes in UI for new type scheme
* Fixed on 3d annotation view
* Fixed tests
* Updated version && changelog
* Fixed test
* Added type
* Fixed typos
* Fixed minor comments
* typescripted some files
* typescripted cloud storage
* reverted api-implementation, fixed minor errors
* updated changelog
* fixed jest test
* updated file: to link:
Co-authored-by: Boris Sekachev <boris.sekachev@yandex.ru>
* add alert when uploading photo and video together
* add creating multiple tasks for My computer tabs
* add creating multiple tasks for Remote source tab
* add creating multi tasks for File share tab
* add libmagic in dockerfile
* fix lint
* change class name of create multi tasks button
* fix incorrect deletion of validation error notification
* add opportunity upload manifest.jsonl with image files for single task create
* remove status showing of task from multitasks case
* refactoring create queue in mutlitasks case
* fix warning
* revert incorrect remove notification about error
* fix showing error of clone the repository
* fix esling error
* move of initialValue creating for task name
* rename isMultiTask properti to many
* return incorrect deleted progress value
* add source and license on icon file
* fix unhandled promise rejection
* change mime_type getter method
* add hint how to see these template rules
* refactoring of multi task progress markup
* remove unnecessary processings for share
* remove unnecessary notification
* remove opportunity upload no video on multi mode
* correct formation of the task name
* rename function
* change queueSize to 1
* fix root selecting on share tab
* refactoring selectCloudStorageFiles logic
* add debig info. temporarily
* Some fixes
* Tried to fix unstable test
* Adjusted messages
* Fixed license headers
Co-authored-by: Boris <sekachev.bs@gmail.com>
* Prepare UI for attributes configuration
* Add padding for label attributes
* Update attributes inference logic
Check the attributes returned by nuclio function call and reject those that
have either incompatible types or values.
* Update cvat-ui version, CHANGELOG.md
* Enhance automatic annotation BE logic
The code in lambda_manager didn't account for attributes mappings that had
different names thus returning an empty set of attributes because it couldn't
find the correct match. Fix this by getting proper mapping from `attrMapping`
property of the input data.
* Updated CHANGELOG
* Updated changelog
* Adjusted code & feature
* A bit adjusted layout
* Minor refactoring
* Fixed bug when run auto annotation without 'attributes' key
* Fixed a couple of minor issues
* Increased access key id length
* Fixed unit tests
* Merged develop
* Rejected unnecessary change
Co-authored-by: Artem Zhivoderov <artemz@retailnext.net>
* Fix different project configs
* Sorted out all eslint configurations
* Return package-lock file created with npm 7 (just in case of compatibility issues), prev was 8
* Changed based image to lts slim
* 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.