Merge branch 'main' of github.com:apache/skywalking-booster-ui into feat/zipkin

This commit is contained in:
Fine 2023-01-03 16:06:42 +08:00
commit 7eedd68f29
3 changed files with 16 additions and 11 deletions

1
.gitignore vendored
View File

@ -30,6 +30,7 @@ yarn-error.log*
pnpm-debug.log* pnpm-debug.log*
lerna-debug.log* lerna-debug.log*
node
node_modules node_modules
.DS_Store .DS_Store
dist dist

View File

@ -1,20 +1,20 @@
Apache SkyWalking Booster UI # Apache SkyWalking Booster UI
===============
<img src="http://skywalking.apache.org/assets/logo.svg" alt="Sky Walking logo" height="90px" align="right" /> <img src="http://skywalking.apache.org/assets/logo.svg" alt="Sky Walking logo" height="90px" align="right" />
[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) ![NPM BUILD](https://github.com/apache/skywalking-booster-ui/workflows/Node%20CI/badge.svg)
This UI starts from SkyWalking OAP v9 core. This UI starts from SkyWalking OAP v9 core.
## Release ## 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. 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 ## 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 ### Prepare
@ -28,19 +28,21 @@ npm install
### Build ### Build
**All following builds are for dev.** **All following builds are for dev.**
``` ```
npm install npm install
npm run serve npm run dev
``` ```
The default UI address is `http://localhost:8080`. The default UI address is `http://localhost:8080`.
# Contact Us # 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. - 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.
* Join Slack. Send `Request to join SkyWalking slack` mail to the mail list(`dev@skywalking.apache.org`), we will invite you in. - Mailing list: **dev@skywalking.apache.org**. Mail to `dev-subscribe@skywalking.apache.org`, follow the reply to subscribe the mailing list.
* QQ Group: 392443393, 901167865 - 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 # License
[Apache 2.0 License.](/LICENSE) [Apache 2.0 License.](/LICENSE)

View File

@ -324,7 +324,9 @@ limitations under the License. -->
const drag: any = d3.drag().on("drag", (d: ProcessNode) => { const drag: any = d3.drag().on("drag", (d: ProcessNode) => {
moveNode(d); moveNode(d);
}); });
d3.selectAll(".node").call(drag); setTimeout(() => {
d3.selectAll(".node").call(drag);
}, 1000);
} }
function shuffleArray(array: number[][]) { function shuffleArray(array: number[][]) {