From 7768f6ef162a0c47eccab583b95e8d92fdd5b547 Mon Sep 17 00:00:00 2001 From: Fine0830 Date: Tue, 20 Dec 2022 16:52:14 +0800 Subject: [PATCH 1/4] fix: drag nodes (#211) --- .../related/network-profiling/components/ProcessTopology.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/dashboard/related/network-profiling/components/ProcessTopology.vue b/src/views/dashboard/related/network-profiling/components/ProcessTopology.vue index c8e802d0..e1680daf 100644 --- a/src/views/dashboard/related/network-profiling/components/ProcessTopology.vue +++ b/src/views/dashboard/related/network-profiling/components/ProcessTopology.vue @@ -324,7 +324,9 @@ limitations under the License. --> const drag: any = d3.drag().on("drag", (d: ProcessNode) => { moveNode(d); }); - d3.selectAll(".node").call(drag); + setTimeout(() => { + d3.selectAll(".node").call(drag); + }, 1000); } function shuffleArray(array: number[][]) { From 127845414890fc3868dc9af73972f1c89e776366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=99=9F=20Wu=20Sheng?= Date: Wed, 28 Dec 2022 10:51:39 +0800 Subject: [PATCH 2/4] Update .gitignore (#212) --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index f55c0030..8006e3d2 100644 --- a/.gitignore +++ b/.gitignore @@ -30,6 +30,7 @@ yarn-error.log* pnpm-debug.log* lerna-debug.log* +node node_modules .DS_Store dist From d11ceab59df60978b7ff269e01da96fd94b62cbb Mon Sep 17 00:00:00 2001 From: Fine0830 Date: Wed, 28 Dec 2022 19:02:44 +0800 Subject: [PATCH 3/4] fix: add ElPopconfirm (#213) --- src/types/components.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types/components.d.ts b/src/types/components.d.ts index fa07aadd..05ec63bd 100644 --- a/src/types/components.d.ts +++ b/src/types/components.d.ts @@ -22,6 +22,7 @@ declare module '@vue/runtime-core' { ElMenuItemGroup: typeof import('element-plus/es')['ElMenuItemGroup'] ElOption: typeof import('element-plus/es')['ElOption'] ElPagination: typeof import('element-plus/es')['ElPagination'] + ElPopconfirm: typeof import('element-plus/es')['ElPopconfirm'] ElPopover: typeof import('element-plus/es')['ElPopover'] ElProgress: typeof import('element-plus/es')['ElProgress'] ElRadio: typeof import('element-plus/es')['ElRadio'] From db793e6c050d7683bbb41dd7970d954aef23c880 Mon Sep 17 00:00:00 2001 From: Fine0830 Date: Thu, 29 Dec 2022 17:55:44 +0800 Subject: [PATCH 4/4] docs: update (#214) --- README.md | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 39ae54c3..bd5d26d6 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,20 @@ -Apache SkyWalking Booster UI -=============== +# Apache SkyWalking Booster UI Sky Walking logo -[Apache SkyWalking](https://github.com/apache/skywalking) Booster UI. +[Apache SkyWalking](https://github.com/apache/skywalking) Booster UI. ![NPM BUILD](https://github.com/apache/skywalking-booster-ui/workflows/Node%20CI/badge.svg) This UI starts from SkyWalking OAP v9 core. ## Release + This repo wouldn't release separately. All source codes have been included in the main repo release. The tags match the [main repo](https://github.com/apache/skywalking) tags. ## Development - The app was built with [Vue3.x + Typescript](https://github.com/vuejs/vue). +The app was built with [Vue3.x + Typescript](https://github.com/vuejs/vue). ### Prepare @@ -28,19 +28,21 @@ npm install ### Build **All following builds are for dev.** + ``` npm install -npm run serve +npm run dev ``` The default UI address is `http://localhost:8080`. - # Contact Us -* Submit an [issue](https://github.com/apache/skywalking/issues) if you face some issues. Submit a [discussion](https://github.com/apache/skywalking/discussions) if you want to propose new feature or have any question. -* Mailing list: **dev@skywalking.apache.org**. Mail to `dev-subscribe@skywalking.apache.org`, follow the reply to subscribe the mailing list. -* Join Slack. Send `Request to join SkyWalking slack` mail to the mail list(`dev@skywalking.apache.org`), we will invite you in. -* QQ Group: 392443393, 901167865 + +- Submit an [issue](https://github.com/apache/skywalking/issues) if you face some issues. Submit a [discussion](https://github.com/apache/skywalking/discussions) if you want to propose new feature or have any question. +- Mailing list: **dev@skywalking.apache.org**. Mail to `dev-subscribe@skywalking.apache.org`, follow the reply to subscribe the mailing list. +- Join Slack. Send `Request to join SkyWalking slack` mail to the mail list(`dev@skywalking.apache.org`), we will invite you in. +- QQ Group: 392443393, 901167865 # License + [Apache 2.0 License.](/LICENSE)