-
Notifications
You must be signed in to change notification settings - Fork 636
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
DYN-5745 re enable copy/paste capabilities for library searchBar #14492
DYN-5745 re enable copy/paste capabilities for library searchBar #14492
Conversation
@@ -32,6 +32,29 @@ namespace Dynamo.LibraryViewExtensionWebView2 | |||
{ | |||
[PermissionSet(SecurityAction.Demand, Name = "FullTrust")] | |||
[ComVisibleAttribute(true)] | |||
|
|||
public class ScriptObject |
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.
comments for public class and methods please, also please confirm if they need to be public or could be internal
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.
They have to be public as we access them through webview.hostObjects.scriptObject
otherwise they wouldn't be usable from the Library component.
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.
A couple comments
…ment including comments
* Re-work watch node display logic (#14841) * improvements (#14497) * [DYN-6455] Add warning text to selection node's initial warning (#14833) * Fix PostDiff job * Update Selection.cs * made the warning persistent and then add removal code * [DYN-6585] Fix Export workspace as Image option from Menu Item (#14809) * Fix PostDiff job * Update DynamoView.xaml * Revert UI Blocking Function calls (#14766) * [DYN-6354] Fix incorrect confidence score display in ML suggestions (#14829) * Fix PostDiff job * Update NodeAutoCompleteSearchViewModel.cs * Update * DYN-5745 re enable copy/paste capabilities for library searchBar (#14492) * feat(library): keydown events binding and copy/paste for clipboard management * refactor(library): OnPasteFromClipboard function for clipboard management including comments * DYN-6364 Skip Lucene indexing process in UIless mode (#14523) * skip Lucene indexing process in UIless mode * Update comments --------- Co-authored-by: Ashish Aggarwal <[email protected]> Co-authored-by: Enzo Batista <[email protected]>
Purpose
Ref.: DYN-5745
This PR includes a fix that allow us to manage the clipboard Ctrl + C and Ctrl + V on library search.
Declarations
Check these if you believe they are true
*.resx
filesRelease Notes
First I've added a keydown events binding mechanism for matching .net events to javascript ones using dispatchEvent(). Then I created the methods for clipboard management in Dynamo, so we can copy and paste between library search and Dynamo.
Reviewers
@QilongTang
@RobertGlobant20
FYIs
@avidit