-
Notifications
You must be signed in to change notification settings - Fork 837
feat(inspect): add, remove list and connect sources #3078
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
feat(inspect): add, remove list and connect sources #3078
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 the initial implementation of pipeline source integration for the inspect feature. The new UI allows users to create, edit, and connect different types of sources (webcam, IP camera, video file, images folder) to a pipeline through a comprehensive configuration interface.
- Added pipeline source management functionality with CRUD operations
- Implemented source connection/disconnection to pipeline
- Created modular source components for different input types with validation
Reviewed Changes
Copilot reviewed 43 out of 46 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| application/ui/vitest.config.ts | Added TypeScript path resolution plugin for testing |
| application/ui/src/routes/inspect/inspect.tsx | Updated toolbar import path to new nested structure |
| application/ui/src/index.css | Added new CSS color variables for UI styling |
| application/ui/src/hooks/use-pipeline.hook.ts | Added comprehensive pipeline management hooks |
| application/ui/src/features/inspect/toolbar/toolbar.tsx | Refactored toolbar with extracted components and pipeline configuration |
| application/ui/src/features/inspect/toolbar/sources/* | Complete source management system with components for different source types |
| application/ui/src/features/inspect/toolbar/pipeline-configuration.component.tsx | Main pipeline configuration dialog with tabbed interface |
| application/ui/src/features/inspect/toolbar/inference-opacity.tsx | Extracted inference opacity control component |
| application/ui/src/components/disclosure-group/* | Reusable disclosure group component for expandable UI sections |
| application/ui/src/assets/icons/index.ts | Added pipeline link icon export |
| application/ui/package.json | Added vite-tsconfig-paths dependency |
Files not reviewed (1)
- application/ui/package-lock.json: Language not supported
Comments suppressed due to low confidence (1)
application/ui/src/features/inspect/toolbar/sources/image-folder/image-folder-fields.module.scss:1
- Double
var()usage is incorrect CSS syntax. Should bevar(--spectrum-accent-background-color-hover).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
...i/src/features/inspect/toolbar/sources/source-list/settings-list/settings-list.component.tsx
Outdated
Show resolved
Hide resolved
application/ui/src/features/inspect/toolbar/sources/video-file/video-file-fields.module.scss
Outdated
Show resolved
Hide resolved
application/ui/src/features/inspect/toolbar/sources/edit-source/edit-source.module.scss
Outdated
Show resolved
Hide resolved
b91b7a0 to
14fcf99
Compare
14fcf99 to
49d8b62
Compare
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
Copilot reviewed 43 out of 46 changed files in this pull request and generated 3 comments.
Files not reviewed (1)
- application/ui/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
application/ui/src/features/inspect/toolbar/sources/add-source/add-source.test.tsx
Outdated
Show resolved
Hide resolved
...i/src/features/inspect/toolbar/sources/source-list/settings-list/settings-list.component.tsx
Outdated
Show resolved
Hide resolved
application/ui/src/features/inspect/toolbar/sources/source-menu/source-menu.component.tsx
Outdated
Show resolved
Hide resolved
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
ashwinvaidya17
left a comment
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.
Looks good to me. One super nitpicky comment but tbh I have no comments regarding UI code.
| @@ -0,0 +1,3 @@ | |||
| export const removeUnderscore = (text: string) => { | |||
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.
Maybe nitpicky but is this needed? Maybe we can make it inline
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.
It’s possible, but I’ll be reusing it in an upcoming PR, so it’s useful to keep it as a reusable function
MarkRedeman
left a comment
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.
Than you Camilo! I added quite some comments but really like the progress.
I don't have any big blockers, more some open design suggestions that we can look into.
...ation/ui/src/features/inspect/toolbar/sources/image-folder/image-folder-fields.component.tsx
Outdated
Show resolved
Hide resolved
application/ui/src/features/inspect/toolbar/sources/add-source/add-source.component.tsx
Show resolved
Hide resolved
application/ui/src/features/inspect/toolbar/sources/source-actions.component.tsx
Show resolved
Hide resolved
application/ui/src/features/inspect/toolbar/sources/source-factory.component.tsx
Outdated
Show resolved
Hide resolved
application/ui/src/features/inspect/toolbar/sources/source-factory.component.tsx
Outdated
Show resolved
Hide resolved
Signed-off-by: Colorado, Camilo <[email protected]>
Signed-off-by: Colorado, Camilo <[email protected]>
Signed-off-by: Colorado, Camilo <[email protected]>
Signed-off-by: Colorado, Camilo <[email protected]>
Signed-off-by: Colorado, Camilo <[email protected]>
Signed-off-by: Colorado, Camilo <[email protected]>
Signed-off-by: Colorado, Camilo <[email protected]>
fcd52f9 to
5647c05
Compare
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
Copilot reviewed 46 out of 49 changed files in this pull request and generated 8 comments.
Files not reviewed (1)
- application/ui/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
application/ui/src/features/inspect/train-model/train-model-dialog.component.tsx
Show resolved
Hide resolved
application/ui/src/features/inspect/toolbar/sources/ip-camera/utils.ts
Outdated
Show resolved
Hide resolved
application/ui/src/features/inspect/toolbar/sources/image-folder/utils.ts
Outdated
Show resolved
Hide resolved
...on/ui/src/features/inspect/toolbar/sources/source-list/source-icon/source-icon.component.tsx
Outdated
Show resolved
Hide resolved
...i/src/features/inspect/toolbar/sources/source-list/settings-list/settings-list.component.tsx
Show resolved
Hide resolved
application/ui/src/features/inspect/toolbar/pipeline-configuration.component.tsx
Outdated
Show resolved
Hide resolved
application/ui/src/features/inspect/toolbar/pipeline-configuration.component.tsx
Outdated
Show resolved
Hide resolved
5647c05 to
97f72da
Compare
Signed-off-by: Colorado, Camilo <[email protected]>
97f72da to
292a8dd
Compare
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
Copilot reviewed 46 out of 49 changed files in this pull request and generated no new comments.
Files not reviewed (1)
- application/ui/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
87a1efe
into
open-edge-platform:feature/geti-inspect
…rm#3078) * group disclosure config Signed-off-by: Colorado, Camilo <[email protected]> * render SourceOptions Signed-off-by: Colorado, Camilo <[email protected]> * update vites config Signed-off-by: Colorado, Camilo <[email protected]> * render sourcer list and connection status Signed-off-by: Colorado, Camilo <[email protected]> * implement EditSource component Signed-off-by: Colorado, Camilo <[email protected]> * refactor api-camera, split it in two components * refactor edit and new source components * display source config details Signed-off-by: Colorado, Camilo <[email protected]> * add SourceMenu unit tests Signed-off-by: Colorado, Camilo <[email protected]> * update source API * update forms with projectId * fix Pr comments Signed-off-by: Colorado, Camilo <[email protected]> --------- Signed-off-by: Colorado, Camilo <[email protected]>
📝 Description
This PR introduces the initial implementation of pipeline source integration. The new UI allows users to create, edit, and connect sources to a pipeline. Due to the number of files involved, this functionality will be split across multiple PRs. The upcoming one will focus on UX improvements
#3061
Screen.Recording.2025-10-30.at.10.54.27.mov
✨ Changes
Select what type of change your PR is:
✅ Checklist
Before you submit your pull request, please make sure you have completed the following steps:
For more information about code review checklists, see the Code Review Checklist.