-
Notifications
You must be signed in to change notification settings - Fork 462
Secondary toolbar with Accept/Delete actions #4931
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
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a secondary toolbar with Accept/Delete actions in the media preview interface, enhancing the annotation workflow by allowing users to submit or delete annotations directly from the preview screen.
Key changes:
- Added Submit/Close buttons and delete functionality to the secondary toolbar
- Implemented user review status indicators (Accept/Search icons) on sidebar media items
- Refactored component architecture to pass dataset items through the component tree
Reviewed Changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 4 comments.
Show a summary per file
File | Description |
---|---|
application/ui/src/index.css |
Added new color variable --coral-shade-1 and z-index styling for modal overlays |
application/ui/src/features/dataset/media-preview/sidebar-items/sidebar-media-item.module.scss |
Defined styles for Accept and Search icon containers with distinctive background colors |
application/ui/src/features/dataset/media-preview/sidebar-items/sidebar-media-item.component.tsx |
Created new component to display media items with review status icons |
application/ui/src/features/dataset/media-preview/sidebar-items/sidebar-items.component.tsx |
Refactored to accept items as props and removed local state management |
application/ui/src/features/dataset/media-preview/secondary-toolbar/secondary-toolbar.component.tsx |
Enhanced with Submit/Close buttons, delete functionality, and automatic navigation to next item |
application/ui/src/features/dataset/media-preview/media-preview.component.tsx |
Updated to fetch dataset items and pass them to child components |
application/ui/src/features/dataset/media-preview/annotator-buttons.component.tsx |
Removed file as functionality moved to secondary toolbar |
application/ui/src/features/dataset/gallery/media-item.module.scss |
Removed background color from floating containers |
application/ui/src/features/dataset/gallery/media-item.component.tsx |
Added className prop and data attributes to floating containers |
application/ui/src/features/dataset/gallery/gallery.module.scss |
Created new stylesheet to apply background to gallery floating containers |
application/ui/src/features/dataset/gallery/gallery.component.tsx |
Applied new styles and removed unnecessary key prop |
application/ui/src/features/annotator/annotation-actions-provider.component.tsx |
Added isUserReviewed field, error handling for unannotated items, and retry logic |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
...tion/ui/src/features/dataset/media-preview/secondary-toolbar/secondary-toolbar.component.tsx
Show resolved
Hide resolved
...tion/ui/src/features/dataset/media-preview/secondary-toolbar/secondary-toolbar.component.tsx
Outdated
Show resolved
Hide resolved
...tion/ui/src/features/dataset/media-preview/secondary-toolbar/secondary-toolbar.component.tsx
Outdated
Show resolved
Hide resolved
application/ui/src/features/annotator/annotation-actions-provider.component.tsx
Show resolved
Hide resolved
Docker Image Sizes
|
📊 Test coverage report
|
c5dd653
to
911747f
Compare
Summary
Screen.Recording.2025-10-20.at.16.46.31.mov
How to test
Checklist