-
Notifications
You must be signed in to change notification settings - Fork 42
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 a copy method to task run result locations #1033
Conversation
src/pages/TaskRun/Details-Tile.vue
Outdated
" | ||
v-on="on" | ||
> | ||
<v-icon x-small class="mb-2px mr-2" tabindex="0"> |
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.
Should we add a v-if here to check if there's actually a result location to copy?
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.
Yeah that's sensible - the copy method won't throw an error since it checks for text to copy but I like hiding the icon in the case as well.
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.
One small suggestion @znicholasbrown otherwise LGTM
Updated 👍🏻 |
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.
Thanks @znicholasbrown
PR Checklist:
CHANGELOG.md
Describe this PR
Adds a copy function to task run result locations.
Resolves: #969