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

Make entire menuitem clickable for copy query #1747

Merged
merged 1 commit into from
Dec 5, 2016

Conversation

vera-liu
Copy link
Contributor

@vera-liu vera-liu commented Dec 2, 2016

Issue:

  • only span is specified in CopyToClipboard component, the user had to click on the text to copy a url, clicking on blank spaces or icon doesn't work

Solution:

  • move MenuItem to CopyToClipboard, make entire MenuItem clickable for copying query when rendering in menu

needs-review @mistercrunch @ascott

>
{this.props.copyNode}
</span>
<MenuItem>
Copy link
Member

Choose a reason for hiding this comment

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

I'm pretty sure CopyToClipboard is used in places that are not menus...

Copy link
Contributor Author

@vera-liu vera-liu Dec 2, 2016

Choose a reason for hiding this comment

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

@ascott
Copy link

ascott commented Dec 5, 2016

LGTM

@vera-liu vera-liu merged commit 89fc9d7 into apache:master Dec 5, 2016
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.15.0 labels Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants