commit | 06543a541d6909739933fd1ca955654c6e5c28fa | [log] [tgz] |
---|---|---|
author | Allen Wang <Allen.Wang.123@outlook.com> | Thu Dec 20 13:45:35 2018 +0800 |
committer | 吴晟 Wu Sheng <wu.sheng@foxmail.com> | Thu Dec 20 13:45:35 2018 +0800 |
tree | 4cfb5092a280f1e0aac560ebd8197ddd349544ee | |
parent | de112d1824b7fab34bf34b45220b31969e176081 [diff] |
Feature: 'Update the span display' (#210) 1. Why i update the d3 version 4.12.2 => 5.7.0. The d3 version 4.12.2 has a d3.event bug. So it cause the event cannot be injected and then the zoom drag event cannot be used. 2. The tree display deficiencies: it cannot show the break traces, because the break trace cannot turn into a right tree struction,so i also hold back the list span display.
The UI for Apache SkyWalking.
See CONTRIBUTING.
The app was built with dva framework.
Fork, then clone the incubator-skywalking-ui
repo and change directory into it.
git clone https://github.com/apache/incubator-skywalking-ui.git cd incubator-skywalking-ui
Install dependencies via npm
:
npm install
This mode is suitable for developing locally. Use username:admin, password:888888
to login system.
npm start
This mode is suitable for e2e test with backend collector. No webapp proxy required.
npm run start:no-proxy
The default collector query address is http://localhost:12800
. You can change this address by editing .webpack.js
file. From 5.0.0-beta2, login auth is supported, but without webapp proxy, there is no one to take charge of authentication, so we need specific processes to login in this mode.
Mock mode
.username:admin, password:888888
. (Now, browser saved authentication in local storage)No-Mock mode
.Command | Description |
---|---|
npm start | Starts development server with hot reloading and mock. |
npm run start:no-proxy | Starts development server to access collector |
npm test | Runs all the tests |
npm run lint | Lint the project (eslint, stylelint) |
npm run build | Runs production build. Outputs files to /dist . |
Running build will output all the static files to the ./dist
folder:
npm install npm run build