diff --git a/CHANGELOG.md b/CHANGELOG.md index bec9fa89781ce2d188c00adc8e51b913950f2d4c..161beee174d9d7f9d04a89feb5bf2e82fdf18da1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - The cursor jumps to the end of the line when renaming a task () - SSLCertVerificationError when remote source is used () - Fixed filters select overflow () +- Cuboids are missed in annotations statistics () ### Security diff --git a/cvat-ui/package-lock.json b/cvat-ui/package-lock.json index 2b863d789d3f76fb55b14898d28d172628fd57b0..1d03be1d5a198cfdbb05f5950264b1f9e64d658b 100644 --- a/cvat-ui/package-lock.json +++ b/cvat-ui/package-lock.json @@ -1,6 +1,6 @@ { "name": "cvat-ui", - "version": "1.13.5", + "version": "1.13.6", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/cvat-ui/package.json b/cvat-ui/package.json index f852b8b495f891d7e6a7b9624805369eb3ca0892..6cf51d2bf6fd19900812bda7087d715b19710376 100644 --- a/cvat-ui/package.json +++ b/cvat-ui/package.json @@ -1,6 +1,6 @@ { "name": "cvat-ui", - "version": "1.13.5", + "version": "1.13.6", "description": "CVAT single-page application", "main": "src/index.tsx", "scripts": { diff --git a/cvat-ui/src/components/annotation-page/top-bar/statistics-modal.tsx b/cvat-ui/src/components/annotation-page/top-bar/statistics-modal.tsx index ae9058ef551184878292090128a79780cc7eba11..7db9b687307a7e34894553de37f7b99b37d1af19 100644 --- a/cvat-ui/src/components/annotation-page/top-bar/statistics-modal.tsx +++ b/cvat-ui/src/components/annotation-page/top-bar/statistics-modal.tsx @@ -1,4 +1,4 @@ -// Copyright (C) 2020 Intel Corporation +// Copyright (C) 2020-2021 Intel Corporation // // SPDX-License-Identifier: MIT @@ -34,7 +34,7 @@ export default function StatisticsModalComponent(props: Props): JSX.Element { cancelButtonProps: { style: { display: 'none' } }, okButtonProps: { style: { width: 100 } }, onOk: closeStatistics, - width: 1000, + width: 1024, visible, closable: false, }; @@ -54,6 +54,7 @@ export default function StatisticsModalComponent(props: Props): JSX.Element { polygon: `${data.label[key].polygon.shape} / ${data.label[key].polygon.track}`, polyline: `${data.label[key].polyline.shape} / ${data.label[key].polyline.track}`, points: `${data.label[key].points.shape} / ${data.label[key].points.track}`, + cuboid: `${data.label[key].cuboid.shape} / ${data.label[key].cuboid.track}`, tags: data.label[key].tags, manually: data.label[key].manually, interpolated: data.label[key].interpolated, @@ -67,6 +68,7 @@ export default function StatisticsModalComponent(props: Props): JSX.Element { polygon: `${data.total.polygon.shape} / ${data.total.polygon.track}`, polyline: `${data.total.polyline.shape} / ${data.total.polyline.track}`, points: `${data.total.points.shape} / ${data.total.points.track}`, + cuboid: `${data.total.cuboid.shape} / ${data.total.cuboid.track}`, tags: data.total.tags, manually: data.total.manually, interpolated: data.total.interpolated, @@ -108,6 +110,11 @@ export default function StatisticsModalComponent(props: Props): JSX.Element { dataIndex: 'points', key: 'points', }, + { + title: makeShapesTracksTitle('Cuboids'), + dataIndex: 'cuboid', + key: 'cuboid', + }, { title: Tags , dataIndex: 'tags',