Skip to content

feat: import/export UX updates - P2#5795

Merged
camiloHimura merged 5 commits intodevelopfrom
ccolora11/5762-import-export-updates-p2
Mar 18, 2026
Merged

feat: import/export UX updates - P2#5795
camiloHimura merged 5 commits intodevelopfrom
ccolora11/5762-import-export-updates-p2

Conversation

@camiloHimura
Copy link
Contributor

@camiloHimura camiloHimura commented Mar 17, 2026

Summary

Adds a new JobStatus card and reuses it across all import/export status updates. It also displays video frame statistics when available.

closes #5764

How to test

Checklist

  • The PR title and description are clear and descriptive
  • I have manually tested the changes
  • All changes are covered by automated tests
  • All related issues are linked to this PR (if applicable)
  • Documentation has been updated (if applicable)

Copilot AI review requested due to automatic review settings March 17, 2026 14:51
@camiloHimura camiloHimura added the Geti Tune UI Issues related to Geti Tune UI label Mar 17, 2026
Copy link
Contributor

Copilot AI left a 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 updates the dataset import/export UX by refactoring import job status UI into a reusable card, improving error handling/loading states in the “import dataset as new project” flow, and enhancing displayed dataset statistics during label mapping.

Changes:

  • Refactors multiple import job status components to use a new shared JobStatusCard.
  • Adds a loading card + error boundary around the “import as new project” dialog content, and disables task-selection actions while staged dataset fetch is in progress.
  • Updates label-mapping “Imported dataset statistics” to use annotated image/frame counts and show separate stats for images vs frames.

Reviewed changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
application/ui/src/features/project/list/import-jobs-list/import-jobs-list.component.tsx Minor JSX cleanup for import queue rendering.
application/ui/src/features/project/list/import-dataset-as-new-project/import-task-selection/import-task-selection-buttons.component.tsx Disables task-selection buttons while staged dataset query is fetching.
application/ui/src/features/project/list/import-dataset-as-new-project/import-loadind-card.component.tsx Adds a dedicated Suspense loading placeholder card.
application/ui/src/features/project/list/import-dataset-as-new-project/import-label-mapping/import-label-mapping.component.tsx Updates dataset statistics calculation/display (images/frames + annotated counts).
application/ui/src/features/project/list/import-dataset-as-new-project/import-error-boundary.component.tsx Adds an error boundary intended to close the import dialog on errors.
application/ui/src/features/project/list/import-dataset-as-new-project/import-dataset-as-new-project.component.tsx Wraps dialog content with new loading/error handling and updates format options text.
application/ui/src/features/dataset/import-export/import-jobs-list/import-jobs-list.component.tsx Minor JSX cleanup for import queue rendering.
application/ui/src/features/dataset/import-export/import-dataset/label-mapping/label-mapping.component.tsx Updates dataset statistics calculation/display (images/frames + annotated counts).
application/ui/src/components/util.ts Adds a generic error-message helper.
application/ui/src/components/prepare-import-dataset/prepare-import-dataset.component.tsx Removes redundant wrapper container around job status rendering.
application/ui/src/components/loading-import-dataset/loading-import-dataset.component.tsx Removes redundant wrapper container around job status rendering.
application/ui/src/components/job-status-card/job-status-card.component.tsx Introduces reusable status card layout used by import job components.
application/ui/src/components/import-card-status/staged-import-dataset/staged-import-dataset.test.tsx Adds test coverage for staged dataset “not found” error state.
application/ui/src/components/import-card-status/staged-import-dataset/staged-import-dataset.component.tsx Uses JobStatusCard and renders ImportFailedJob on staged dataset fetch errors.
application/ui/src/components/import-card-status/import-job-done/import-job-done.component.tsx Refactors “done” UI to JobStatusCard.
application/ui/src/components/import-card-status/import-failed-job/import-failed-job.component.tsx Refactors “failed” UI to JobStatusCard.
application/ui/src/components/import-card-status/import-active-job/import-active-job.component.tsx Refactors “active” UI to JobStatusCard.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@github-actions
Copy link

github-actions bot commented Mar 17, 2026

📊 Test coverage report

Metric Coverage
Lines 44.2%
Functions 77.5%
Branches 87.3%
Statements 44.2%

@camiloHimura camiloHimura requested a review from jpggvilaca March 17, 2026 15:02
@github-actions
Copy link

github-actions bot commented Mar 17, 2026

Docker Image Sizes

CPU

Image Size
geti-cpu:pr-5795 1.01G
geti-cpu:sha-82c03a0 1.01G

CUDA

Image Size
geti-cuda:pr-5795 5.54G
geti-cuda:sha-82c03a0 5.54G

XPU

Image Size
geti-xpu:pr-5795 3.33G
geti-xpu:sha-82c03a0 3.33G

@camiloHimura camiloHimura requested a review from a team as a code owner March 17, 2026 16:40
@camiloHimura camiloHimura added this pull request to the merge queue Mar 18, 2026
Merged via the queue into develop with commit 69a39d5 Mar 18, 2026
33 checks passed
@camiloHimura camiloHimura deleted the ccolora11/5762-import-export-updates-p2 branch March 18, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Geti Tune UI Issues related to Geti Tune UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dataset import - negative number of images

3 participants