You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/02/04 00:52:21 UTC

[GitHub] [incubator-superset] rubypollev opened a new issue #9080: Superset clipboard contents should paste nicely in Excel

rubypollev opened a new issue #9080: Superset clipboard contents should paste nicely in Excel
URL: https://github.com/apache/incubator-superset/issues/9080
 
 
   **Is your feature request related to a problem? Please describe.**
   Clipboard contents from Superset paste as on one like in Excel. That's kind of frustrating. Copying tabular content from SQL Lab should paste nicely into a tabular program like Excel or Google Sheets. 
   
   **Describe the solution you'd like**
   Described the outcome above. The work might be as simple as swapping out a character or two. Not sure. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] stale[bot] closed issue #9080: Superset clipboard contents should paste nicely in Excel

Posted by GitBox <gi...@apache.org>.
stale[bot] closed issue #9080: Superset clipboard contents should paste nicely in Excel
URL: https://github.com/apache/incubator-superset/issues/9080
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] suddjian commented on issue #9080: Superset clipboard contents should paste nicely in Excel

Posted by GitBox <gi...@apache.org>.
suddjian commented on issue #9080: Superset clipboard contents should paste nicely in Excel
URL: https://github.com/apache/incubator-superset/issues/9080#issuecomment-582032412
 
 
   This seems like a good idea to me. I should note that you can save query results as a CSV, which can be opened in Excel. But that's not very convenient if you just want to quickly copy/paste a portion of the results.
   
   Right now results are rendered as `<div>`s. I'm not very familiar with how copy-pasting formatted data works, but I would think using proper HTML `<table>` tags would do the trick.
   
   Changing to `<table>` is a bit tricky though, as we're using [react-virtualized](https://github.com/bvaughn/react-virtualized) to render the table for performance. It looks like the `Grid` component is being used for this, but I'm not sure if there is a `react-virtualized` component that allows rendering to a `<table>`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] stale[bot] commented on issue #9080: Superset clipboard contents should paste nicely in Excel

Posted by GitBox <gi...@apache.org>.
stale[bot] commented on issue #9080: Superset clipboard contents should paste nicely in Excel
URL: https://github.com/apache/incubator-superset/issues/9080#issuecomment-609100293
 
 
   This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue `.pinned` to prevent stale bot from closing the issue.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] suddjian commented on issue #9080: Superset clipboard contents should paste nicely in Excel

Posted by GitBox <gi...@apache.org>.
suddjian commented on issue #9080: Superset clipboard contents should paste nicely in Excel
URL: https://github.com/apache/incubator-superset/issues/9080#issuecomment-582139432
 
 
   This could also be done via JS event handlers on the [copy](https://developer.mozilla.org/en-US/docs/Web/API/Element/copy_event) event. We could manually insert a `text/html` formatted entry into the clipboard, but it would be very tricky to make sure we get the selection right and strikes me as a very bug-prone solution.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] suddjian edited a comment on issue #9080: Superset clipboard contents should paste nicely in Excel

Posted by GitBox <gi...@apache.org>.
suddjian edited a comment on issue #9080: Superset clipboard contents should paste nicely in Excel
URL: https://github.com/apache/incubator-superset/issues/9080#issuecomment-582032412
 
 
   This seems like a good idea to me. I should note that you can save query results as a CSV, which can be opened in Excel. But that's not very convenient if you just want to quickly copy/paste a portion of the results.
   
   Right now results are rendered as `<div>`s. I'm not very familiar with how copy-pasting formatted data works, but I would think using proper HTML `<table>` tags would do the trick.
   
   Changing to `<table>` is a bit tricky though, as we're using [react-virtualized](https://github.com/bvaughn/react-virtualized) to render the table for performance. It looks like the `Grid` component is being used for this. There's a `Table` component, but that appears to render to `<div>`s as well. I'm not sure if there is a `react-virtualized` component that allows rendering to a `<table>`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org