-
Notifications
You must be signed in to change notification settings - Fork 67
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
[YUNIKORN-2679] Add copy URL button on the allocations panel #193
Conversation
Implemented copy button on allocations sidebar view that copies the hot-link to that view.
- Added copy link test - Fixed linting in test file - Fixed errors on test suite execution
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #193 +/- ##
=======================================
Coverage 38.77% 38.77%
=======================================
Files 2 2
Lines 49 49
=======================================
Hits 19 19
Misses 27 27
Partials 3 3 ☔ View full report in Codecov by Sentry. |
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.
@dcoric , thanks for the new commit.
Please update the test function too, I saw some error logs after run 'pnpm test'.
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.
+1 LGTM
What is this PR for?
This PR adds a copy button to the allocations panel. It is using the hotlinking feature that was implemented with YUNIKORN-2624
What type of PR is it?
What is the Jira issue?
YUNIKORN-2679 Add copy URL button on the allocations panel
How should this be tested?
Open the allocations tab, in the title bar there should be a clipboard icon. Clicking that icon it should copy the URL to that view.
Screenshots (if appropriate)
Note
The test is added for the feature, and alongside that I have added a minor fix to the
licenses-modal
test file that was outputting some errors due to a missing import.