Skip to content
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

Add copy sha and name to experiment table row context menu #4544

Merged
merged 2 commits into from
Aug 21, 2023
Merged

Conversation

mattseddon
Copy link
Member

@mattseddon mattseddon commented Aug 21, 2023

Closes #4533

Demo

Screen.Recording.2023-08-21.at.10.19.19.am.mov

@mattseddon mattseddon added the product PR that affects product label Aug 21, 2023
@mattseddon mattseddon self-assigned this Aug 21, 2023
@mattseddon mattseddon marked this pull request as ready for review August 21, 2023 00:25
@mattseddon mattseddon requested a review from shcheklein August 21, 2023 09:02
Copy link
Contributor

@julieg18 julieg18 left a comment

Choose a reason for hiding this comment

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

Great work!

@@ -571,4 +575,13 @@ export class WebviewMessages {
private showPlots() {
return commands.executeCommand(RegisteredCommands.PLOTS_SHOW, this.dvcRoot)
}

private async copyToClipboard(text: string) {
await writeToClipboard(text)
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we be copying the full sha instead of the short version? When I see these context options, my first assumption is I'm copying the full sha, but on the other hand, the shortened version is probably all that's needed for most use cases.

Copy link
Member Author

Choose a reason for hiding this comment

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

The short sha should work for now.

@mattseddon mattseddon enabled auto-merge (squash) August 21, 2023 21:08
@codeclimate
Copy link

codeclimate bot commented Aug 21, 2023

Code Climate has analyzed commit 0ba14fa and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 83.3% (85% is the threshold).

This pull request will bring the total coverage in the repository to 95.2% (0.0% change).

View more on Code Climate.

@mattseddon mattseddon merged commit 88d1e1a into main Aug 21, 2023
@mattseddon mattseddon deleted the fix-4533 branch August 21, 2023 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product PR that affects product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Context menu entry to copy experiment name / base commit SHA
2 participants