kyuubi/kyuubi-server/web-ui
zwangsheng 768b8ff7ca
[KYUUBI #3648][UI] Add Session Detail Page
### _Why are the changes needed?_

Close #3648

### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [ ] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #4793 from zwangsheng/KYUUBI_3648.

Closes #3648

e5fe04f7a [zwangsheng] debug
a14c6d325 [zwangsheng] debug
eb96cf0dc [zwangsheng] retest
5cfbb64c5 [zwangsheng] Add UT
7a83a01b0 [zwangsheng] [KYUUBI #3648][UI] Add Session Detail Page

Authored-by: zwangsheng <2213335496@qq.com>
Signed-off-by: Cheng Pan <chengpan@apache.org>
2023-06-14 14:56:53 +08:00
..
public
src [KYUUBI #3648][UI] Add Session Detail Page 2023-06-14 14:56:53 +08:00
.env.development [KYUUBI #4537][UI] Enable Vite proxy server for web ui development 2023-03-16 22:02:46 +08:00
.env.production
.eslintrc [KYUUBI #3646][UI] Init Session Statistic Page 2023-03-24 11:43:15 +08:00
.gitignore [KYUUBI #4397] [BUILD] build/dist supports --web-ui 2023-02-23 11:45:58 +08:00
.prettierrc [KYUUBI #3646][Improvement][UI] Front-end style should bracket same line 2023-03-21 21:05:57 +08:00
index.html [KYUUBI #4397] [BUILD] build/dist supports --web-ui 2023-02-23 11:45:58 +08:00
package-lock.json [KYUUBI #4931] [BUILD] Bump vite from 3.0.0 to 4.2.3 and vitest from 0.22.0 to 0.32.0 2023-06-07 18:08:58 +08:00
package.json [KYUUBI #4931] [BUILD] Bump vite from 3.0.0 to 4.2.3 and vitest from 0.22.0 to 0.32.0 2023-06-07 18:08:58 +08:00
pnpm-lock.yaml [KYUUBI #4931] [BUILD] Bump vite from 3.0.0 to 4.2.3 and vitest from 0.22.0 to 0.32.0 2023-06-07 18:08:58 +08:00
README.md [KYUUBI #4783] Use pnpm v8 and update pnpm lockfile to v6 schema 2023-05-03 18:39:22 +08:00
tsconfig.json
tsconfig.node.json
vite.config.ts [KYUUBI #4537][UI] Enable Vite proxy server for web ui development 2023-03-16 22:02:46 +08:00
vitest.config.ts

Kyuubi Web UI

Start Using

For the best experience, we recommend using node 16.x.x. You can learn how to install the corresponding version from its official website.

Install Dependencies

npm install

Development Project

Notice:

Before you start the Web UI project, please make sure the Kyuubi server has been started.

Kyuubi Web UI will proxy the requests to Kyuubi server, with the default endpoint path tohttp://localhost:10099. Modify VITE_APP_DEV_WEB_URL in .env.development for customizing targeted endpoint path.

Why proxy to http://localhost:10099

Currently kyuubi server binds on http://0.0.0.0:10099 in case your are running kyuubi server in MacOS or Windows(If in linux, you should config kyuubi server kyuubi.frontend.rest.bind.host=0.0.0.0, or change VITE_APP_DEV_WEB_URL in .env.development).

npm run dev

Build Project

npm run build

Code Format

Usually after you modify the code, you need to perform code formatting operations to ensure that the code in the project is the same style.

npm run prettier

Recommend

If you want to save disk space and boost installation speed, we recommend using pnpm 8.x.x to instead of npm. You can learn how to install the corresponding version from its official website.

# Install Dependencies
pnpm install

# Development Project
pnpm run dev

# Build Project
pnpm run build

# Code Format
pnpm run prettier