Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit 3d56cef

Browse files
yyassi-heartexTravis1282bmartel
authored
feat: LSDV-3023: Annotation Tab Carousel (#1188)
* feat: dev-3879: Control bar * lint clean up * visual tweaks * control bar visual improvements * cleanup * visual tweak for view all button * visual tweak for auto annotation * feat: DEV-3879: Control bar (#1075) * applying changes based on feedback * adding reset button * feat: LSDV-3023: Annotation Tab Carousel * prepping button for usage * tweaking the icons * more icon tweaks * no using mobx observer * now using mobx observer * adding some icons + clean up * annotation state icons added and working on carousel * carousel working 🎉 * we can now update button capability when window is resized * resolving an error picked up in e2e * minor tweak for icon when dropdown is open * have a working test for AnnotationCarousel and AnnotationButton * making sure bottombar height is correct when FF is off * check for pk value before ground truth button display * cannot duplicate drafts * sort buttons by pk * viewall vertical alignment * side-pannels do not pad when hidden in view all * tab bar recalculates carosel on add/remove entity * update use effect with entities.length * space after set and unset * check history for that action type and entity for can undo states * create new button added to top bar * remove avatar icons * removing unused icon imports --------- Co-authored-by: yyassi-heartex <yyassi-heartex@users.noreply.github.com> Co-authored-by: Travis1282 <travisjosephclark@gmail.com> Co-authored-by: bmartel <brandonmartel@gmail.com>
1 parent d847f70 commit 3d56cef

39 files changed

+7313
-80
lines changed

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ module.exports = {
6565
'/node_modules/',
6666
'/e2e/',
6767
],
68+
'testRegex': '__tests__/.*.test.[tj]sx?',
6869
'transformIgnorePatterns': [
6970
'node_modules/?!(nanoid|konva)',
7071
],
Lines changed: 7 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading

src/assets/icons/annotation/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ export { ReactComponent as IconAnnotationAccepted } from './thumbs_up.svg';
22
export { ReactComponent as IconAnnotationRejected } from './thumbs_down.svg';
33
export { ReactComponent as IconAnnotationSubmitted } from './entity_created.svg';
44
export { ReactComponent as IconDraftCreated } from './draft_created.svg';
5+
export { ReactComponent as IconDraftCreated2 } from './draft_created2.svg';
56
export { ReactComponent as IconAnnotationPrediction } from './prediction.svg';
67
export { ReactComponent as IconAnnotationSkipped } from './skipped.svg';
78
export { ReactComponent as IconAnnotationImported } from './imported.svg';
89
export { ReactComponent as IconAnnotationReviewRemoved } from './removed.svg';
910
export { ReactComponent as IconAnnotationPropagated } from './propagated.svg';
11+
export { ReactComponent as IconAnnotationGroundTruth } from './ground_truth.svg';
12+
export { ReactComponent as IconAnnotationSkipped2 } from './skipped2.svg';
Lines changed: 6 additions & 0 deletions
Loading

src/assets/icons/check-bold.svg

Lines changed: 3 additions & 0 deletions
Loading

src/assets/icons/cross-bold.svg

Lines changed: 3 additions & 0 deletions
Loading

src/assets/icons/duplicate.svg

Lines changed: 3 additions & 0 deletions
Loading

src/assets/icons/ellipsis.svg

Lines changed: 2 additions & 2 deletions
Loading

src/assets/icons/index.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ export { ReactComponent as LsParentLink } from './parent_link.svg';
1010
export { ReactComponent as LsAnnotation } from './annotation.svg';
1111
export { ReactComponent as LsGrid } from './grid.svg';
1212
export { ReactComponent as LsSettings } from './settings.svg';
13+
export { ReactComponent as LsSettingsAlt } from './settings-alt.svg';
1314
export { ReactComponent as LsStar } from './star.svg';
15+
export { ReactComponent as LsStarOutline } from './star-outline.svg';
1416
export { ReactComponent as IconBan } from './ban.svg';
1517
export { ReactComponent as LsVisible } from './visible.svg';
1618
export { ReactComponent as LsInvisible } from './invisible.svg';
@@ -21,11 +23,14 @@ export { ReactComponent as LsDate } from './date.svg';
2123
export { ReactComponent as IconPlusCircle } from './plus_circle.svg';
2224
export { ReactComponent as IconSlow } from './slow.svg';
2325
export { ReactComponent as IconFast } from './fast.svg';
26+
export { ReactComponent as IconDuplicate } from './duplicate.svg';
2427
export { ReactComponent as IconEllipsis } from './ellipsis.svg';
2528
export { ReactComponent as IconWarning } from './warning.svg';
2629

2730
export { ReactComponent as IconCheck } from './check.svg';
31+
export { ReactComponent as IconCheckBold } from './check-bold.svg';
2832
export { ReactComponent as IconCross } from './cross.svg';
33+
export { ReactComponent as IconCrossBold } from './cross-bold.svg';
2934

3035
export { ReactComponent as IconPlayerPause } from './player/pause.svg';
3136
export { ReactComponent as IconPlayerPlay } from './player/play.svg';
@@ -60,13 +65,15 @@ export { ReactComponent as IconExpand } from './tools/expand-tool.svg';
6065
export { ReactComponent as IconMoveTool } from './tools/move-tool.svg';
6166
export { ReactComponent as IconRotateLeftTool } from './tools/rotate-left-tool.svg';
6267
export { ReactComponent as IconRotateRightTool } from './tools/rotate-right-tool.svg';
68+
export { ReactComponent as IconInfoOutline } from './info-outline.svg';
6369
export { ReactComponent as IconInfo } from './info.svg';
6470
export { ReactComponent as IconCopy } from './copy.svg';
6571
export { ReactComponent as IconText } from './text.svg';
6672
export { ReactComponent as IconViewAll } from './view_all.svg';
6773
export { ReactComponent as IconLink } from './link.svg';
6874
export { ReactComponent as IconPlusAlt } from './plus-alt.svg';
6975
export { ReactComponent as IconTrash } from './trash.svg';
76+
export { ReactComponent as IconTrashRect } from './trash-rect.svg';
7077
export { ReactComponent as IconMenu } from './menu.svg';
7178
export { ReactComponent as IconHamburger } from './hamburger.svg';
7279
export { ReactComponent as IconDetails } from './details.svg';

0 commit comments

Comments
 (0)