scripts: add button to load script from clipboard - #7621
Conversation
|
Great job! No new security vulnerabilities introduced in this pull requestUse @Checkmarx to interact with Checkmarx PR Assistant. |
|
Do we really need this? 😅 Does not seem to save a lot of effort imo; users can create a new script and simply Maybe we can make the default script type in the dropdown in the new scripts dialog |
|
Maybe most users will not need it but I do miss this feature, I end up having to create a temp file just to try recordings (Zest does not allow to paste). I'm good with changing the default type. |
|
This is an unrelated bug, but the UI seems to hang when I try to load a Zest standalone script and select "Active Rules" as the "Type". Maybe for another PR, but we should also consider adding some validation to the load script flow. Right now it is possible to load any text as a Zest script (both from file as well as clipboard), which then cannot be edited. |
Allow to create a script directly from the contents of the clipboard. Signed-off-by: thc202 <thc202@gmail.com>
519a914 to
76deddc
Compare

Allow to create a script directly from the contents of the clipboard.