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.
Andrey Zhavoronkov 1ecc607286
Get preview images on the fly and keep them in cache (#5478)
Improved image preview loading for **Tasks**, **Jobs** and **Projects**
views
Backend behaviour change: creating image previews by request and storing
them in the cache
Added corresponding endpoints:
tasks/{id}/preview
projects/{id}/preview
jobs/{id}/preview

Demonstration(added random 0-1s delay for demo purposes):
https://user-images.githubusercontent.com/41117609/208106321-951b8647-6e6b-452e-910c-31c4d0b8682d.mp4
https://user-images.githubusercontent.com/41117609/208106339-2d3a5a7b-d422-4b27-9e76-08729022e1ca.mp4
3 years ago
..
dist React, Antd, Redux: Left sidebar and top for annotation page (#963) 6 years ago
src Get preview images on the fly and keep them in cache (#5478) 3 years ago
.dockerignore User interface with React and antd (#785) 6 years ago
.env Fixed Intel license headers (#119) 4 years ago
.eslintignore Projects (#2255) 5 years ago
.eslintrc.js Typescripted cvat-core, cvat-data (#120) 4 years ago
README.md fix: docs url (#4877) 4 years ago
index.d.ts Fix ESlint problems / typescript for cvat-core (#5027) 3 years ago
package.json Get preview images on the fly and keep them in cache (#5478) 3 years ago
react_nginx.conf Don't cache index.html (#4277) 4 years ago
tsconfig.json New authentication UI (#5181) 3 years ago
webpack.config.js Fix an "export was not found" webpack warning in canvas3d.ts (#5419) 3 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: yarn version --patch
  • After adding new features do: yarn version --minor
  • After significant UI redesign do: yarn version --major

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

Commands

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

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