Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v2.5.0 #6425

Merged
merged 418 commits into from
Jul 5, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
418 commits
Select commit Hold shift + click to select a range
c8da689
added colors to conflicts, conflict position
klakhov May 21, 2023
1f04dd3
moved switch to objects sidebar
klakhov May 21, 2023
20f15b1
refactored issues view
klakhov May 21, 2023
3d6340a
changed tasks breakpoints
klakhov May 21, 2023
3186001
improved issue first comment
klakhov May 21, 2023
66be4d0
added conflicts to sidebar
klakhov May 21, 2023
e96889e
added highlight feature
klakhov May 21, 2023
8a4a8dc
activate object from conflict
klakhov May 21, 2023
99bb87c
make inactive conflicts darker
klakhov May 21, 2023
56be78f
fixed show gt annotations position
klakhov May 21, 2023
8e16eeb
fixed scaling problem
klakhov May 21, 2023
6476cf4
added icon to issue sidebar
klakhov May 22, 2023
291b499
added colors to warnings
klakhov May 22, 2023
db8286b
show gt icon only in review workspace
klakhov May 22, 2023
7046c0a
fixed multiple objects highlight
klakhov May 22, 2023
efd76d9
Check quality after settings updated
zhiltsov-max May 22, 2023
56cfbe0
Improve settings dialog layout
zhiltsov-max May 22, 2023
54c4025
Fix several UI failures
zhiltsov-max May 22, 2023
b42a29a
Init quality settings on job creation
zhiltsov-max May 22, 2023
2958aac
Add settings patching tests
zhiltsov-max May 22, 2023
69d0643
Add more permission tests for endpoints
zhiltsov-max May 22, 2023
3ee41e6
Fix frame count display
zhiltsov-max May 23, 2023
1b54265
Add report content tests
zhiltsov-max May 23, 2023
6aa931f
Extend job result ttl, remove debug endpoint
zhiltsov-max May 24, 2023
9be819c
Remove comparison script
zhiltsov-max May 24, 2023
637841b
Polish quality tests
zhiltsov-max May 24, 2023
bb1c107
Fix frame naming in interpolation tasks
zhiltsov-max May 25, 2023
674ba56
Add draft solution for frame skips in chunks
zhiltsov-max May 25, 2023
412603c
Fix job removal
zhiltsov-max May 25, 2023
8c56cea
Polish some code
zhiltsov-max May 25, 2023
6ee3974
Add gt job data tests
zhiltsov-max May 26, 2023
bdfe614
Add squashed migration
zhiltsov-max May 26, 2023
ea8331a
Replace squashed migrations
zhiltsov-max May 26, 2023
8ee0000
Merge branch 'develop' into zm/gt-jobs
zhiltsov-max May 26, 2023
226e8b5
Fix quality settings defaults installation
zhiltsov-max May 26, 2023
da50bf5
Fix pylint messages
zhiltsov-max May 26, 2023
140105e
Merge branch 'develop' into zm/gt-jobs
zhiltsov-max May 26, 2023
8ffab84
Fix task mode in tasks from backup
zhiltsov-max May 26, 2023
504b4c0
Support drf-spectacular 0.26.2
zhiltsov-max May 26, 2023
d2eee3f
Merge test assets
zhiltsov-max May 26, 2023
25f61c4
Remove UI changes
zhiltsov-max May 26, 2023
56c27a2
Merge branch 'develop' into zm/gt-jobs
zhiltsov-max May 26, 2023
35d1918
Fix remaining places with org_id query params
zhiltsov-max May 26, 2023
b6117bd
Fix merge
zhiltsov-max May 26, 2023
76e2942
Fix some permission problems
zhiltsov-max May 26, 2023
6cd3dc3
Merge branch 'zm/gt-jobs' into zm/honey-pot-server
zhiltsov-max May 26, 2023
fa34b76
Drop ui changes
zhiltsov-max May 26, 2023
50c695e
Fix access permissions
zhiltsov-max May 29, 2023
6766e8a
Fix an error arising in rq worker debugging
zhiltsov-max May 29, 2023
484b75a
Move test setting declaration
zhiltsov-max May 29, 2023
32f80b1
Fix access permissions
zhiltsov-max May 29, 2023
7a0bbff
Fix an error arising in rq worker debugging
zhiltsov-max May 29, 2023
9294e9b
Move test setting declaration
zhiltsov-max May 29, 2023
6ccbff7
Add settings list endpoint
zhiltsov-max May 30, 2023
ded60d9
Update schema
zhiltsov-max May 30, 2023
fc7fa37
Fix CI
zhiltsov-max May 30, 2023
731c4f0
Add quality settings list endpoint
zhiltsov-max May 30, 2023
d4e0e47
Merge branch 'zm/gt-jobs' into zm/honey-pot-server
zhiltsov-max May 30, 2023
7434d48
Fix CI
zhiltsov-max May 30, 2023
b5331af
Merge branch 'zm/gt-jobs' into zm/honey-pot-server
zhiltsov-max May 30, 2023
3de9f6b
Fix interpolation tests
zhiltsov-max May 30, 2023
66c6474
Revert change for outside shapes
zhiltsov-max May 30, 2023
ce82601
Fix track merging
zhiltsov-max May 30, 2023
b3fcd51
Merge branch 'zm/gt-jobs' into zm/honey-pot-server
zhiltsov-max May 30, 2023
88ed6d8
Fix test requirements
zhiltsov-max May 31, 2023
0d7e59f
Merge branch 'zm/gt-jobs' into zm/honey-pot-server
zhiltsov-max May 31, 2023
0c5a6e5
Update frame shape percent
zhiltsov-max Jun 1, 2023
7151ddc
Add field descriptions in the quality settings api
zhiltsov-max Jun 1, 2023
a7b3ef3
Merge branch 'develop' into zm/gt-jobs
zhiltsov-max Jun 1, 2023
af9b951
removed dash from conflicted annotations
klakhov Jun 1, 2023
d57e561
fixed settings requests
klakhov Jun 1, 2023
14875d2
Update wrt iam changes
zhiltsov-max Jun 1, 2023
ebd6061
Merge branch 'zm/gt-jobs' into zm/honey-pot-server
zhiltsov-max Jun 1, 2023
0a291a5
Implement asgi server debugging
zhiltsov-max Jun 1, 2023
3416e87
Clear data cache
zhiltsov-max Jun 1, 2023
62a0247
Implement asgi server debugging
zhiltsov-max Jun 1, 2023
2179fb2
Clear data cache
zhiltsov-max Jun 1, 2023
3520d94
Fix frame range in job meta and ui handling
zhiltsov-max Jun 1, 2023
4d79aa3
Merge branch 'zm/gt-jobs' of https://github.com/cvat-ai/cvat into zm/…
klakhov Jun 2, 2023
cb17f54
removed description from task page
klakhov Jun 2, 2023
97871ae
Add helm config for quality reports worker
zhiltsov-max Jun 2, 2023
df24201
Fix frame range in job meta and ui handling
zhiltsov-max Jun 1, 2023
7a5301c
updated navigation
klakhov Jun 2, 2023
b11fe90
fixed job updated date
klakhov Jun 2, 2023
aac7b81
updated confclits tooltip and table col
klakhov Jun 2, 2023
3618a61
updated quality reports hint text
klakhov Jun 2, 2023
eee12b6
Merge branch 'zm/gt-jobs' of https://github.com/cvat-ai/cvat into zm/…
klakhov Jun 2, 2023
620ea2e
fix name
zhiltsov-max Jun 2, 2023
0720625
Fix comments
zhiltsov-max Jun 2, 2023
0d18320
fixed statistics module
klakhov Jun 2, 2023
086cb53
reverted frame filter changes
klakhov Jun 2, 2023
ba3b1ee
updated quality report names
klakhov Jun 2, 2023
203a135
added tooltips to settings
klakhov Jun 2, 2023
3aaba28
Add more tests
zhiltsov-max Jun 2, 2023
04604d7
Merge branch 'develop' into zm/honey-pot-server
zhiltsov-max Jun 2, 2023
a708cb9
Rename worker in helm
zhiltsov-max Jun 2, 2023
bdfe70b
Fix formatting
zhiltsov-max Jun 2, 2023
0a84f76
Update rqscheduler to use asgi
zhiltsov-max Jun 5, 2023
58e8fa9
Apply suggestions from code review
zhiltsov-max Jun 5, 2023
3257cd6
Remove extra permission checks
zhiltsov-max Jun 5, 2023
866f626
Merge branch 'develop' into zm/honey-pot-server
zhiltsov-max Jun 5, 2023
9bc966f
Fix method
zhiltsov-max Jun 5, 2023
11db795
Fix script name
zhiltsov-max Jun 5, 2023
d80ee00
changed conflict highlight, reworked aggregation
klakhov Jun 6, 2023
12856df
removed unused code, fixed comments
klakhov Jun 6, 2023
f4423d9
Enable code formatting for the quality control app
zhiltsov-max Jun 6, 2023
b66a296
renamed `frame_meta` to `frameMeta`
klakhov Jun 6, 2023
8f78184
Merge branch 'zm/honey-pot-server' of https://github.com/cvat-ai/cvat…
klakhov Jun 6, 2023
e4bd960
Fix python linters
zhiltsov-max Jun 6, 2023
f5d3fa0
Merge remote-tracking branch 'origin/zm/honey-pot-server' into zm/hon…
zhiltsov-max Jun 6, 2023
c2735d3
Merge branch 'develop' into zm/gt-jobs
zhiltsov-max Jun 6, 2023
02e0a13
Merge server changes from branch 'zm/honey-pot-server' into zm/gt-jobs
zhiltsov-max Jun 6, 2023
b2d6682
fixed deleted frames navigation
klakhov Jun 7, 2023
b853e2b
fixed overlap test
klakhov Jun 7, 2023
de7fb4a
fixed job asignee and job stage
klakhov Jun 7, 2023
231a25c
fixed changing state of job
klakhov Jun 7, 2023
2fb04fc
fixed skeletons test
klakhov Jun 7, 2023
9d06efb
fixed eslint
klakhov Jun 7, 2023
d2333c6
fixed links in tests
klakhov Jun 7, 2023
5c76068
fixed unit tests
klakhov Jun 7, 2023
05b9fa0
Remove query params with no values from schema
zhiltsov-max Jun 7, 2023
ee3891f
Improve some descriptions in api
zhiltsov-max Jun 7, 2023
87782cc
Rename importance to severity
zhiltsov-max Jun 7, 2023
cf4a4f3
Update some descriptions
zhiltsov-max Jun 7, 2023
732bb18
Update tests
zhiltsov-max Jun 7, 2023
1d309d7
Update tests
zhiltsov-max Jun 7, 2023
2fc2c27
Update changelog
zhiltsov-max Jun 7, 2023
bd23e22
Rename line orientation parameter
zhiltsov-max Jun 7, 2023
6bd00c6
Update frame share percent
zhiltsov-max Jun 7, 2023
990efdc
Merge branch 'zm/honey-pot-server' into zm/gt-jobs
zhiltsov-max Jun 7, 2023
cc8ec35
Update ui after api changes
zhiltsov-max Jun 7, 2023
230efd8
Merge remote-tracking branch 'origin/zm/gt-jobs' into zm/gt-jobs
zhiltsov-max Jun 7, 2023
71f7bfd
Fix schema
zhiltsov-max Jun 7, 2023
a4c0e9b
updated job actions menu
klakhov Jun 8, 2023
7147ed1
Don't remove frame_share from report data
zhiltsov-max Jun 8, 2023
5075c2b
fixed dashes on ground truth skeletons
klakhov Jun 8, 2023
17fad17
Remove parameters from reports list
zhiltsov-max Jun 8, 2023
27dcfd6
Use condensed db repr for report data, disjoint ann_id.type,
zhiltsov-max Jun 8, 2023
ea3cbc3
Fix schema
zhiltsov-max Jun 8, 2023
5d5985d
Merge branch 'develop' into zm/honey-pot-server
zhiltsov-max Jun 8, 2023
67b943b
Update migrations
zhiltsov-max Jun 8, 2023
3b1a60d
Merge branch 'zm/honey-pot-server' into zm/gt-jobs
zhiltsov-max Jun 8, 2023
2a8752e
reworked `case_69` filtering_sorting_jobs
klakhov Jun 8, 2023
e548da0
Update ui
zhiltsov-max Jun 8, 2023
e3dc63b
Merge remote-tracking branch 'origin/zm/gt-jobs' into zm/gt-jobs
zhiltsov-max Jun 8, 2023
0278c03
fixed create issue from conflict
klakhov Jun 9, 2023
85a5ddf
improved state & stage tip on analytics page
klakhov Jun 9, 2023
60ca387
Merge branch 'zm/gt-jobs' of https://github.com/cvat-ai/cvat into zm/…
klakhov Jun 9, 2023
4b7dd3a
added copy object from gt to normal job
klakhov Jun 9, 2023
3748d3f
activate main conflict, disable activation of others
klakhov Jun 9, 2023
0999497
Fix lambda function runs on job a frame
zhiltsov-max Jun 9, 2023
ce00104
Merge branch 'develop' into zm/honey-pot-server
zhiltsov-max Jun 9, 2023
080fa8e
Merge migrations
zhiltsov-max Jun 9, 2023
8a4ed6c
Fix gt job frames in complex setups
zhiltsov-max Jun 9, 2023
f80fbe0
Fix stop_frame
zhiltsov-max Jun 9, 2023
8fae5d3
Release 2.5.0 (#6277)
azhavoro Jun 9, 2023
09a10ca
Code coverage (#6173)
yasakova-anastasia Jun 12, 2023
5f588ed
added SAM to documentation (#6248)
mdacoca Jun 12, 2023
5fa11c9
Helm tests: collect container logs (#6013)
azhavoro Jun 12, 2023
0e122a9
Merge branch 'develop' into zm/honey-pot-server
zhiltsov-max Jun 12, 2023
74edcaf
Merge branch 'zm/honey-pot-server' into zm/gt-jobs
zhiltsov-max Jun 12, 2023
3777316
Merge remote-tracking branch 'origin/zm/gt-jobs' into zm/gt-jobs
zhiltsov-max Jun 12, 2023
9a600f3
Honey pot server (#6204)
zhiltsov-max Jun 12, 2023
8a72d2b
Merge branch 'develop' into zm/gt-jobs
zhiltsov-max Jun 12, 2023
f87cce5
Disable failed REST API tests (#6302)
yasakova-anastasia Jun 13, 2023
3b3f9ca
Accelerated SAM decoder, fixed serverless for EXIF rotated images (#6…
bsekachev Jun 13, 2023
e8a31b8
Test for exporting annotations into CS folder (#6301)
klakhov Jun 13, 2023
44bf2da
Codecov report after completion of full CI (#6293)
yasakova-anastasia Jun 13, 2023
e95c0a1
Remove max file count (#6292)
Jun 13, 2023
f578e47
docs: Describe changing default OPA permissions (#6294)
pktiuk Jun 13, 2023
0daced7
changed aligns on task page
klakhov Jun 14, 2023
e57b409
fixed job item styles
klakhov Jun 14, 2023
fcae9fa
fixed filtering by updated date
klakhov Jun 14, 2023
a727cdc
returned copy feature
klakhov Jun 14, 2023
f6183a8
fixed frame count percent
klakhov Jun 14, 2023
b1a55fd
fixed sorting in quality job list
klakhov Jun 14, 2023
ec933d0
Merge branch 'zm/gt-jobs' of https://github.com/cvat-ai/cvat into zm/…
klakhov Jun 14, 2023
c253809
Fix logging in the TransT serverless function (#6290)
SpecLad Jun 14, 2023
b19e925
Stop using the production configuration for generating the schema (#6…
SpecLad Jun 14, 2023
bd84ed6
removed list from gt anno, fixed higlight
klakhov Jun 14, 2023
e6d3d0d
fixed opening gt job
klakhov Jun 14, 2023
fc3af2b
gt tracks shown only on gt job frames
klakhov Jun 14, 2023
fb87d7d
Fixed x-forwarded-proto header (No need to set the header explicitly,…
azhavoro Jun 14, 2023
5faf945
unified annotation filter
klakhov Jun 15, 2023
a46df53
fixed issue highlight
klakhov Jun 15, 2023
871756d
Add organization support to the CLI (#6317)
SpecLad Jun 15, 2023
3eeaeb2
Added support for react-markown in AI tools errors (#6320)
klakhov Jun 15, 2023
86c5930
updated images, wording, added video to analytics documentation (#6315)
mdacoca Jun 16, 2023
22a0acb
Use unix domain socket instead of tcp for Uvicorn (#6325)
azhavoro Jun 16, 2023
5c006ea
Update changelog (#6327)
mdacoca Jun 16, 2023
451c539
Bump version to 2.4.7
azhavoro Jun 16, 2023
429bf6e
Merge remote-tracking branch 'origin/master' into release-2.4.7
azhavoro Jun 16, 2023
b0e32af
Update version
azhavoro Jun 16, 2023
f6b0801
Auto-annotation support for jobs (#6276)
zhiltsov-max Jun 16, 2023
24013a6
Add job validation stage summary (#5761)
zhiltsov-max Jun 16, 2023
01f86fd
fixed array operations
klakhov Jun 19, 2023
290634a
Renamed Raw to Serialized
klakhov Jun 19, 2023
38df1cf
Fix task mode in tasks restored from backup (#6216)
zhiltsov-max Jun 19, 2023
0c5c901
Merge remote-tracking branch 'origin/develop' into az/release-2.5.0
azhavoro Jun 20, 2023
9db68a3
Merge pull request #6329 from opencv/az/release-2.5.0
azhavoro Jun 20, 2023
97eb6a9
Optimize DB requests (#6340)
zhiltsov-max Jun 20, 2023
1a2365c
Fix API schema for the owner field (#6343)
zhiltsov-max Jun 20, 2023
9ba5934
fixed navigation with deleted frames
klakhov Jun 21, 2023
a136a86
fixed height on quality page
klakhov Jun 21, 2023
96090f2
reworked cvat-core classes
klakhov Jun 21, 2023
55c535d
removed !important
klakhov Jun 21, 2023
6c3ad26
fixed intersecting ids in conflicts/server-ids
klakhov Jun 21, 2023
39764f8
removed ablity to delete frame from GT
klakhov Jun 21, 2023
442050d
updated chanelog
klakhov Jun 21, 2023
614f3c7
Merge branch 'develop' into zm/gt-jobs
klakhov Jun 21, 2023
bb126d3
Enable coverage collection in quality reports worker (#6341)
zhiltsov-max Jun 21, 2023
109cd7a
applied comments
klakhov Jun 21, 2023
5d36068
Updated changelog (#6354)
bsekachev Jun 22, 2023
4bb0003
fixed potential performance issue
klakhov Jun 22, 2023
98cf03b
Merge branch 'develop' into zm/gt-jobs
klakhov Jun 22, 2023
cf91dcb
fixed unit test
klakhov Jun 22, 2023
5bc8c7b
Fixed extension when compute original chunks (#6355)
bsekachev Jun 22, 2023
27a1861
applied comments
klakhov Jun 22, 2023
02465c1
Organizations documentation updated documentation and images (#6349)
mdacoca Jun 22, 2023
821c456
fixed more comments
klakhov Jun 22, 2023
65d6713
renamed `ready` variable
klakhov Jun 22, 2023
f853490
Merge remote-tracking branch 'origin/develop' into az/update_develop
azhavoro Jun 22, 2023
ec149df
Merge pull request #6358 from opencv/az/update_develop
azhavoro Jun 22, 2023
ff76c64
removed outdated code, removed submit and open
klakhov Jun 23, 2023
307db39
Markdown documentation for tasks/projects (#6191)
bsekachev Jun 23, 2023
ea6c68f
Fixed: visible 'To background' button in review mode (#6363)
bsekachev Jun 23, 2023
8c8e2a8
Merge branch 'develop' into zm/gt-jobs
klakhov Jun 23, 2023
7ae3b93
fixed merge error
klakhov Jun 23, 2023
0908914
fixed eslint
klakhov Jun 23, 2023
1f6c63b
Update gitter link (#6365)
Jun 23, 2023
33dd488
fixed styles and report time
klakhov Jun 23, 2023
4775e3f
improved highlight styles
klakhov Jun 23, 2023
8590e90
Merge pull request #6039 from opencv/zm/gt-jobs
klakhov Jun 26, 2023
bedbd82
Added missed auto_add argument (#6364)
bsekachev Jun 26, 2023
e6a38da
Re-enable testing for the PyTorch adapter (#6377)
SpecLad Jun 27, 2023
7ec84b8
Don't rerun the tests when the PR description is edited (#6373)
SpecLad Jun 27, 2023
b415fec
Add Organization model to admin panel (#6366)
Jun 27, 2023
7f6080e
Added basic pipeline for markdown guide (#6381)
bsekachev Jun 28, 2023
f6420eb
Added test to check exif rotated images width/height (#6384)
bsekachev Jun 28, 2023
1b28162
Make the PyTorch adapter tests less likely to be disabled by accident…
SpecLad Jun 28, 2023
d950d24
PyTorch adapter: fix loading tasks that have already been cached (#6396)
SpecLad Jun 28, 2023
16d03aa
Implement more comprehensive SSRF mitigation (#6362)
SpecLad Jun 29, 2023
3f5eb71
Updated CHANGELOG.md with the version for the next release
azhavoro Jun 29, 2023
29397b3
Fix a bunch of typos (#6405)
SpecLad Jun 29, 2023
b3081bf
CLI: don't set `discard_unknown_keys` (#6402)
SpecLad Jun 29, 2023
31f78d5
Fix file matching in annotation import for multiple dots in filenames…
zhiltsov-max Jun 29, 2023
75451df
Annotators Guides documentation added (#6411)
mdacoca Jul 4, 2023
9148234
Fix task preview styles (#6418)
Marishka17 Jul 4, 2023
024ae69
Bump version to 2.5.0
azhavoro Jul 5, 2023
365bfb1
Merge remote-tracking branch 'origin/master' into release-2.5.0
azhavoro Jul 5, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactored issues view
  • Loading branch information
klakhov committed May 21, 2023
commit 20f15b1080c45a6be2f00e3cb7c626f1c9a00eee
7 changes: 7 additions & 0 deletions cvat-core/src/quality-conflict.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export class AnnotationConflict {
public readonly type: string;
public readonly conflictType: QualityConflictType;
public readonly importance: ConflictImportance;
public readonly description: string;

constructor(initialData: RawAnnotationConflictData) {
const data: RawAnnotationConflictData = {
Expand Down Expand Up @@ -70,6 +71,12 @@ export class AnnotationConflict {
importance: {
get: () => data.importance,
},
description: {
get: () => {
const desc = this.conflictType.split('_').join(' ');
return desc.charAt(0).toUpperCase() + desc.slice(1);
},
},
}),
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function ReviewContextMenu({
className='cvat-context-menu-item cvat-quick-issue-from-conflict'
key={ReviewContextMenuKeys.QUICK_ISSUE_FROM_CONFLICT}
>
{`Open an issue: ${conflict.description}`}
{`Quick issue: ${conflict.description}`}
</Menu.Item>
) : null}
<Menu.Item className='cvat-context-menu-item' key={ReviewContextMenuKeys.QUICK_ISSUE_POSITION}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ class CanvasWrapperComponent extends React.PureComponent<Props> {
(c: AnnotationConflict) => c.objId === objectState.serverID && c.jobId === objectState.jobID,
);
if (conflict && workspace === Workspace.REVIEW_WORKSPACE) {
objectState.conflict = { description: conflict.conflictType };
objectState.conflict = { description: conflict.description };
} else {
objectState.conflict = null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,8 @@ export default function ConflictAggregatorComponent(): JSX.Element | null {
if (state && canvasInstance) {
const points = canvasInstance.setupConflictsRegions(state);
if (points) {
const desc = c.conflictType.split('_').join(' ');
return {
description: desc.charAt(0).toUpperCase() + desc.slice(1),
description: c.description,
importance: c.importance,
x: points[0],
y: points[1],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ import {
LeftOutlined, RightOutlined, EyeInvisibleFilled, EyeOutlined,
CheckCircleFilled, CheckCircleOutlined,
} from '@ant-design/icons';
import Alert from 'antd/lib/alert';
import { Row, Col } from 'antd/lib/grid';
import Text from 'antd/lib/typography/Text';

import { changeFrameAsync } from 'actions/annotation-actions';
import { reviewActions } from 'actions/review-actions';
import CVATTooltip from 'components/common/cvat-tooltip';
import { CombinedState } from 'reducers';
import moment from 'moment';

export default function LabelsListComponent(): JSX.Element {
const dispatch = useDispatch();
Expand Down Expand Up @@ -47,7 +48,7 @@ export default function LabelsListComponent(): JSX.Element {
opacity: 0.5,
},
};

console.log(frameIssues);
return (
<>
<div className='cvat-objects-sidebar-issues-list-header'>
Expand Down Expand Up @@ -101,7 +102,9 @@ export default function LabelsListComponent(): JSX.Element {
<div
key={frameIssue.id}
id={`cvat-objects-sidebar-issue-item-${frameIssue.id}`}
className='cvat-objects-sidebar-issue-item'
className={
`cvat-objects-sidebar-issue-item ${frameIssue.resolved ? 'cvat-objects-sidebar-issue-resolved' : ''}`
}
onMouseEnter={() => {
const element = window.document.getElementById(
`cvat_canvas_issue_region_${frameIssue.id}`,
Expand All @@ -119,11 +122,15 @@ export default function LabelsListComponent(): JSX.Element {
}
}}
>
{frameIssue.resolved ? (
<Alert message='Resolved' type='success' showIcon />
) : (
<Alert message='Opened' type='warning' showIcon />
)}
<Row>
<Text strong>{`#${frameIssue.id} • Issue`}</Text>
</Row>
<Row>
<Text>{frameIssue.comments[0]?.message ? frameIssue.comments[0]?.message : ''}</Text>
</Row>
<Row>
<Text>{moment(frameIssue.createdDate).fromNow()}</Text>
</Row>
</div>
),
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,20 +112,26 @@
width: 100%;
margin: 1px;
padding: 2px;
border-left: 3px solid #ff7300;
border-bottom: 1px solid $border-color-1;

&:hover {
padding: 0;

> .ant-alert {
border-width: 3px;
}
border-left: 4px solid #ff7300;
}

> .ant-alert.ant-alert-with-description {
padding: $grid-unit-size $grid-unit-size $grid-unit-size $grid-unit-size * 8;
}
}

.cvat-objects-sidebar-issue-resolved {
border-left: 3px solid $border-color-1;

&:hover {
border-left: 4px solid $border-color-1;
}
}

.cvat-objects-sidebar-states-header {
background: $objects-bar-tabs-color;
padding: 5px;
Expand Down