-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Allow different mimetypes for the clipboard data #7202
Conversation
Thanks for making a pull request to JupyterLab! To try out this branch on binder, follow this link: |
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!
Thoughts on using the new Async Clipboard API and falling back to the current implementation on Safari ? (mdn's compat table says clipboard API support is unknown for Safari) |
In this case I don't think the capability is worth the added complexity of two code paths. |
Yes that's true. I just wanted to use that one because it errors better and
isn't synchronous.
…On Fri, 13 Sep 2019, 16:17 Steven Silvester, ***@***.***> wrote:
In this case I don't think the capability is worth the added complexity of
two code paths.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#7202?email_source=notifications&email_token=ACEZEDEUOVDR4T2JWQN7OWLQJNVUJA5CNFSM4IWKUP7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6UVJ7Q#issuecomment-531191038>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACEZEDAII7TNEX2WZZROZO3QJNVUJANCNFSM4IWKUP7A>
.
|
Ah, I missed that it had better error handling. Go for it!
Sent from Phone
________________________________
From: Madhu94 <[email protected]>
Sent: Friday, September 13, 2019 6:59 AM
To: jupyterlab/jupyterlab
Cc: Steven Silvester; Comment
Subject: Re: [jupyterlab/jupyterlab] Allow different mimetypes for the clipboard data (#7202)
Yes that's true. I just wanted to use that one because it errors better and
isn't synchronous.
On Fri, 13 Sep 2019, 16:17 Steven Silvester, ***@***.***> wrote:
In this case I don't think the capability is worth the added complexity of
two code paths.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#7202?email_source=notifications&email_token=ACEZEDEUOVDR4T2JWQN7OWLQJNVUJA5CNFSM4IWKUP7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6UVJ7Q#issuecomment-531191038>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACEZEDAII7TNEX2WZZROZO3QJNVUJANCNFSM4IWKUP7A>
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#7202?email_source=notifications&email_token=AAP735A4T6Z4VS3I4D7TJFDQJN6DBA5CNFSM4IWKUP7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6UZZLQ#issuecomment-531209390>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAP735D4P26YX4VTJM7LK4DQJN6DBANCNFSM4IWKUP7A>.
|
I tried out the async API - the error messages were really great (in the old way, you never know why But I also faced problems -
Maybe we can wait for the API to improve a bit? |
Some references - original proposal and recent status update |
Waiting sounds good to me, so this is ready to merge? |
Yeah, ready for review/merge |
Thanks! |
@meeseeksdev backport to 1.x |
…2-on-1.x Backport PR #7202 on branch 1.x (Allow different mimetypes for the clipboard data)
This should allow multiple mime types on the clipboard, for #7119
Let me know your thoughts on this.