Skip to content

Commit

Permalink
Merge branch 'main' into xxchan/list-source
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Sep 5, 2022
2 parents 29421ef + fa5206c commit f12fc67
Show file tree
Hide file tree
Showing 204 changed files with 36,039 additions and 8,780 deletions.
11 changes: 8 additions & 3 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ header:
copyright-owner: Singularity Data

paths:
- 'src/**/*.rs'
- 'dashboard/**/*.js'
- 'src/**/*.html'
- "src/**/*.rs"
- "dashboard/**/*.js"
- "dashboard/**/*.ts"
- "src/**/*.html"

paths-ignore:
- "**/gen/**"
- "**/*.d.ts"

comment: on-failure
6 changes: 4 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 14 additions & 11 deletions dashboard/pages/404.js → dashboard/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,18 @@
* limitations under the License.
*
*/
import { useEffect } from "react"

export default function Custom404() {

useEffect(() => {
window.location = "/"
}, []);

return <>

</>
}
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: ["plugin:react/recommended", "standard-with-typescript"],
overrides: [],
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
plugins: ["react"],
rules: {},
}
9 changes: 9 additions & 0 deletions dashboard/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
**/.git
**/.svn
**/.hg
**/node_modules
**/*.md
**/.next
**/*.json
out/
proto/
4 changes: 4 additions & 0 deletions dashboard/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"semi": false,
"tabWidth": 2
}
7 changes: 6 additions & 1 deletion dashboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dashboard/
TODO: Find a suitable testing framework

## Development
Start the RisingWave database.
Start the RisingWave database, remove drop tables from `tpch_snapshot.slt`
```bash
./risedev d
sqllogictest -p 4566 -d dev './e2e_test/streaming/tpch_snapshot.slt'
Expand All @@ -35,6 +35,11 @@ The website will be served at port 3000.
```bash
npm run dev
```
You should also run:
```
node mock-server.js
```
To start a mock API server when developing. You can use `fetch.sh` to update the mock APIs.

## Test with RisingWave meta node
To replace the built static files in RisingWave with your newest code,
Expand Down
208 changes: 0 additions & 208 deletions dashboard/components/Layout.js

This file was deleted.

Loading

0 comments on commit f12fc67

Please sign in to comment.