-
Notifications
You must be signed in to change notification settings - Fork 73
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: add copy button for full image name in session launcher and environments page #2708
Conversation
Your org requires the Graphite merge queue for merging into mainAdd the label “flow:merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “flow:hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @ironAiken2 and the rest of your teammates on Graphite |
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
---|---|---|---|
🔴 | Statements | 5.41% | 338/6246 |
🔴 | Branches | 4.92% (-0% 🔻) |
214/4346 |
🔴 | Functions | 3.07% | 63/2053 |
🔴 | Lines | 5.31% | 324/6101 |
Test suite run success
90 tests passing in 11 suites.
Report generated by 🧪jest coverage report action from 0dc3660
054f20d
to
fe6fcd9
Compare
fe6fcd9
to
4485f56
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.
LGTM
Merge activity
|
…ironments page (#2708) ### This PR resolves [giftbox#726](lablup/giftbox#726) issue. This PR enhances the user experience by adding copy functionality for image names in multiple components: 1. In `ImageEnvironmentSelectFormItems.tsx`: - Added a copyable text for the environment/version label, allowing users to easily copy the full image name. 2. In `ImageList.tsx`: - Introduced a new copy button in the image list, enabling users to copy the full image name with a single click. 3. Updated `CopyButton.tsx`: - Added a `defaultIcon` prop to allow customization of the default icon displayed before copying. These changes make it more convenient for users to copy and use image names across the application. |Environments|Session Laucner| |---|---| |![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/lSyr8xXz1wdXALkJKzVx/8359f664-56bf-49ce-9562-f81a05f3452c.png)|![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/lSyr8xXz1wdXALkJKzVx/f114a788-eaef-41f0-9fb8-0ecbfc1c5129.png)| **Checklist:** - [ ] Documentation - [ ] Test case(s) to demonstrate the difference of before/after
4485f56
to
0dc3660
Compare
This PR resolves giftbox#726 issue.
This PR enhances the user experience by adding copy functionality for image names in multiple components:
In
ImageEnvironmentSelectFormItems.tsx
:In
ImageList.tsx
:Updated
CopyButton.tsx
:defaultIcon
prop to allow customization of the default icon displayed before copying.These changes make it more convenient for users to copy and use image names across the application.
Checklist: