Skip to content

Conversation

@nowgnuesLee
Copy link
Contributor

@nowgnuesLee nowgnuesLee commented Sep 1, 2025

resolves #4190 (FR-1409)

Reservoir UI Enhancements

This PR enhances the Reservoir UI with improved artifact management capabilities:

  • Adds artifact cleanup functionality to remove versions that are no longer needed
  • Improves the artifact detail page with better version management
  • Adds cancel functionality for in-progress artifact pulls
  • Refactors components for better reusability and maintainability
  • Adds comprehensive i18n support for all new UI elements

Key Components Added:

  • BAIDeleteArtifactModal for removing artifact versions
  • BAIArtifactDescriptions for consistent artifact metadata display
  • BAIArtifactTypeTag and BAIArtifactStatusTag for consistent status visualization
  • BAIArtifactRevisionDownloadButton and BAIArtifactRevisionDeleteButton for version management
  • BAISelect, BAIBucketSelect, and BAIObjectStorageSelect for improved selection interfaces

Schema Changes:

  • Removed duplicate type definitions
  • Added new mutation cleanupArtifactRevisions to replace deleteArtifactRevisions
  • Added ReservoirRegistry types and related mutations
  • Simplified storage handling in artifact operations

Checklist:

  • Documentation
  • Minium required manager version
  • Specific setting for review
  • Minimum requirements to check during review
  • Test case(s) to demonstrate the difference of before/after

@github-actions github-actions bot added area:ux UI / UX issue. area:i18n Localization size:XL 500~ LoC labels Sep 1, 2025
@nowgnuesLee nowgnuesLee changed the title feat: implementing import and delete for revision feat(FR-1409): implementing import and delete for revision Sep 1, 2025
Copy link
Contributor Author

nowgnuesLee commented Sep 1, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • flow:merge-queue - adds this PR to the back of the merge queue
  • flow:hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has required the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link

github-actions bot commented Sep 1, 2025

Coverage report for ./packages/backend.ai-ui

St.
Category Percentage Covered / Total
🔴 Statements 52.42% 130/248
🔴 Branches 32.26% 80/248
🔴 Functions 35.09% 20/57
🔴 Lines 54.84% 119/217

Test suite run success

55 tests passing in 3 suites.

Report generated by 🧪jest coverage report action from 3aca6b9

@nowgnuesLee nowgnuesLee marked this pull request as ready for review September 1, 2025 15:54
@nowgnuesLee nowgnuesLee requested a review from yomybaby September 1, 2025 16:03
@nowgnuesLee nowgnuesLee force-pushed the feat/import-delete-revision branch 2 times, most recently from c9d42bd to 08dd52e Compare September 2, 2025 02:33
@nowgnuesLee nowgnuesLee force-pushed the feat/reservoir-grphql branch from 72baf49 to 006b666 Compare September 2, 2025 02:33
@github-actions
Copy link

github-actions bot commented Sep 2, 2025

Coverage report for ./react

St.
Category Percentage Covered / Total
🔴 Statements
4.49% (+0.01% 🔼)
501/11157
🔴 Branches
3.64% (+0.01% 🔼)
285/7829
🔴 Functions
2.59% (+0% 🔼)
90/3475
🔴 Lines
4.47% (+0.01% 🔼)
487/10907

Test suite run success

114 tests passing in 13 suites.

Report generated by 🧪jest coverage report action from 3aca6b9

@nowgnuesLee nowgnuesLee force-pushed the feat/import-delete-revision branch 3 times, most recently from 4d1efb5 to 242576c Compare September 2, 2025 08:30
@github-actions github-actions bot added the area:lib Library and SDK related issue. label Sep 2, 2025
@nowgnuesLee nowgnuesLee force-pushed the feat/reservoir-grphql branch from 006b666 to 642989f Compare September 3, 2025 04:58
@nowgnuesLee nowgnuesLee force-pushed the feat/import-delete-revision branch 5 times, most recently from 1e8fc7e to c52c92c Compare September 4, 2025 04:26
@nowgnuesLee nowgnuesLee force-pushed the feat/reservoir-grphql branch from 642989f to 7b9abcb Compare September 4, 2025 04:48
@nowgnuesLee nowgnuesLee force-pushed the feat/import-delete-revision branch 2 times, most recently from 69a4397 to ad6829f Compare September 4, 2025 07:29
@nowgnuesLee nowgnuesLee force-pushed the feat/import-delete-revision branch from 1dffa87 to 01fcc67 Compare September 22, 2025 04:16
@nowgnuesLee nowgnuesLee force-pushed the feat/import-delete-revision branch from 01fcc67 to b9232a0 Compare September 22, 2025 04:19
@nowgnuesLee nowgnuesLee force-pushed the feat/import-delete-revision branch from b9232a0 to 58c1c32 Compare September 22, 2025 11:22
@nowgnuesLee nowgnuesLee force-pushed the feat/import-delete-revision branch from 58c1c32 to 5aedb3a Compare September 23, 2025 07:18
@yomybaby yomybaby force-pushed the feat/reservoir-grphql branch from 096d50d to 5cabe48 Compare September 23, 2025 09:57
@yomybaby yomybaby force-pushed the feat/import-delete-revision branch from 5aedb3a to 25530b2 Compare September 23, 2025 09:57
@nowgnuesLee nowgnuesLee force-pushed the feat/import-delete-revision branch from 25530b2 to 1aeaa1b Compare September 23, 2025 15:25
@nowgnuesLee nowgnuesLee force-pushed the feat/import-delete-revision branch from 1aeaa1b to bd95558 Compare September 25, 2025 04:20
@nowgnuesLee nowgnuesLee force-pushed the feat/import-delete-revision branch 2 times, most recently from dcea61c to 4d203b0 Compare September 25, 2025 06:30
@yomybaby yomybaby force-pushed the feat/reservoir-grphql branch from eb503f9 to e86d92d Compare September 25, 2025 08:33
@yomybaby yomybaby force-pushed the feat/import-delete-revision branch from 4d203b0 to 27c9bf6 Compare September 25, 2025 08:33
Copy link
Member

@yomybaby yomybaby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@graphite-app
Copy link

graphite-app bot commented Sep 25, 2025

Merge activity

resolves #4190 (FR-1409)

# Reservoir UI Enhancements

This PR enhances the Reservoir UI with improved artifact management capabilities:

- Adds artifact cleanup functionality to remove versions that are no longer needed
- Improves the artifact detail page with better version management
- Adds cancel functionality for in-progress artifact pulls
- Refactors components for better reusability and maintainability
- Adds comprehensive i18n support for all new UI elements

## Key Components Added:
- `BAIDeleteArtifactModal` for removing artifact versions
- `BAIArtifactDescriptions` for consistent artifact metadata display
- `BAIArtifactTypeTag` and `BAIArtifactStatusTag` for consistent status visualization
- `BAIArtifactRevisionDownloadButton` and `BAIArtifactRevisionDeleteButton` for version management
- `BAISelect`, `BAIBucketSelect`, and `BAIObjectStorageSelect` for improved selection interfaces

## Schema Changes:
- Removed duplicate type definitions
- Added new mutation `cleanupArtifactRevisions` to replace `deleteArtifactRevisions`
- Added `ReservoirRegistry` types and related mutations
- Simplified storage handling in artifact operations

**Checklist:**
- [x] Documentation
- [ ] Minium required manager version
- [ ] Specific setting for review
- [ ] Minimum requirements to check during review
- [ ] Test case(s) to demonstrate the difference of before/after
@graphite-app graphite-app bot force-pushed the feat/reservoir-grphql branch from e86d92d to 74b18be Compare September 25, 2025 09:01
@graphite-app graphite-app bot force-pushed the feat/import-delete-revision branch from 27c9bf6 to 3aca6b9 Compare September 25, 2025 09:02
Base automatically changed from feat/reservoir-grphql to main September 25, 2025 09:05
@graphite-app graphite-app bot merged commit 3aca6b9 into main Sep 25, 2025
9 checks passed
@graphite-app graphite-app bot deleted the feat/import-delete-revision branch September 25, 2025 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:i18n Localization area:lib Library and SDK related issue. area:ux UI / UX issue. size:XL 500~ LoC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implementing import and delete for revision

2 participants