From bfb344a23c238875e67e02ee1b67f42c6577d27f Mon Sep 17 00:00:00 2001 From: Jan Date: Fri, 18 Dec 2020 18:55:53 +0100 Subject: [PATCH] :sparkles: Add functionality to easily copy data and path of output data (#1260) * :sparkles: Add functionality to easily copy data and path of output data * :zap: Fix issues with copied path * :shirt: Fix lint issue * ;bug: Fix issue that some paths were wrong * :zap: Final improvements --- packages/editor-ui/package.json | 2 +- packages/editor-ui/src/components/RunData.vue | 165 +++++++++++++++--- packages/editor-ui/src/main.ts | 1 + packages/editor-ui/tsconfig.json | 1 + 4 files changed, 142 insertions(+), 27 deletions(-) diff --git a/packages/editor-ui/package.json b/packages/editor-ui/package.json index 6aa3cf0d32..92c1587883 100644 --- a/packages/editor-ui/package.json +++ b/packages/editor-ui/package.json @@ -79,7 +79,7 @@ "uuid": "^8.1.0", "vue": "^2.6.9", "vue-cli-plugin-webpack-bundle-analyzer": "^2.0.0", - "vue-json-tree": "^0.4.1", + "vue-json-pretty": "^1.7.1", "vue-prism-editor": "^0.3.0", "vue-router": "^3.0.6", "vue-template-compiler": "^2.5.17", diff --git a/packages/editor-ui/src/components/RunData.vue b/packages/editor-ui/src/components/RunData.vue index b08f52e3dd..4f85a15ac5 100644 --- a/packages/editor-ui/src/components/RunData.vue +++ b/packages/editor-ui/src/components/RunData.vue @@ -62,6 +62,21 @@ +
+ + + + + + + + Copy Item Path + Copy Parameter Path + Copy Value + + + +
@@ -104,10 +119,19 @@
- @@ -171,8 +195,8 @@