Skip to content

Commit 6099144

Browse files
tenphivasilev-alex
andauthored
feat(cubejs-client/playground): new query builder & new chart prototyping (#8678)
* feat(cubejs-client/playground): new query builder * fix react ts errors * fix(cubejs-client/playground): typings * fix(cubejs-client/playground): e2e tests * fix(cubejs-client/playground): e2e tests * 2 * fix(cubejs-client/playground): e2e tests * 3 * fix(cubejs-client/playground): e2e tests * 4 * fix(cubejs-client/playground): e2e tests * 5 * fix(cubejs-client/playground): e2e tests * 6 * fix(cubejs-client/playground): e2e tests * 7 * fix(cubejs-client/playground): e2e tests * 8 * fix(cubejs-client/playground): e2e tests * 9 * fix(cubejs-client/playground): e2e tests * 10 * fix(cubejs-client/playground): e2e tests * 11 * fix(cubejs-client/playground): e2e tests * 12 * fix(cubejs-client/playground): e2e tests * 13 * fix(cubejs-client/playground): e2e tests * 14 * fix(cubejs-client/playground): e2e tests * 15 * fix(cubejs-client/playground): graphql raw response * fix(cubejs-client/playground): graphql raw response * 2 * feat(cubejs-playground): add chart prototyping * feat(cubejs-playground): add chart prototyping * 2 * feat(cubejs-playground): update query builder * fix(cubejs-playground): update build command * fix(cubejs-playground): update build command and vizard version * fix(cubejs-playground): update build command * fix(cubejs-playground): update build command --------- Co-authored-by: Alex Vasilev <vaspiring@gmail.com>
1 parent 995f526 commit 6099144

File tree

270 files changed

+28367
-1691
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

270 files changed

+28367
-1691
lines changed

packages/cubejs-playground/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# production
1212
/build
1313
/dist
14+
/public/vizard
1415

1516
# misc
1617
.DS_Store

packages/cubejs-playground/package.json

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
"unit": "vitest run",
1515
"dev": "vite",
1616
"watch": "tsc --noEmit false --watch",
17-
"build": "tsc && yarn build:playground && yarn build:lib",
1817
"build:lib": "tsc --noEmit false && node postbuild.js && cp -R src/img/ lib/img/",
18+
"build:vizard": "cd ./vizard && yarn && yarn build && cp -R ./build ../public/vizard",
19+
"build": "tsc && yarn build:vizard && yarn build:playground && yarn build:lib",
1920
"build:playground": "SKIP_PREFLIGHT_CHECK=true vite build && rm -Rf ../cubejs-server-core/playground/** && cp -R build/ ../cubejs-server-core/playground/"
2021
},
2122
"browserslist": [
@@ -29,12 +30,14 @@
2930
"homepage": ".",
3031
"license": "MIT",
3132
"dependencies": {
33+
"@apollo/client": "^3.11.4",
3234
"@graphiql/toolkit": "^0.4.3",
3335
"anser": "^2.1.1",
3436
"camel-case": "^4.1.2",
3537
"codesandbox-import-utils": "^2.1.1",
3638
"cron-validator": "^1.2.1",
3739
"customize-cra": "^1.0.0",
40+
"date-fns": "^2.16.1",
3841
"fast-deep-equal": "^3.1.3",
3942
"flexsearch": "^0.7.21",
4043
"graphiql": "^1.8.6",
@@ -53,24 +56,25 @@
5356
"react-is": "^16.8.4",
5457
"react-responsive": "^8.0.1",
5558
"react-router-dom": "^5.1.2",
59+
"recharts": "^2.12.7",
5660
"sql-formatter": "^3.1.0",
5761
"throttle-debounce": "^3.0.1",
58-
"uuid": "^8.3.2"
62+
"uuid": "^8.3.2",
63+
"vite-plugin-environment": "^1.1.3"
5964
},
6065
"devDependencies": {
61-
"@ant-design/compatible": "^1.0.2",
62-
"@ant-design/icons": "^4.7.0",
63-
"@cube-dev/ui-kit": "0.31.2",
66+
"@ant-design/compatible": "^1.0.1",
67+
"@ant-design/icons": "^5.3.5",
68+
"@cube-dev/ui-kit": "0.37.3",
6469
"@cubejs-client/core": "^0.35.23",
6570
"@cubejs-client/react": "^0.35.48",
6671
"@types/flexsearch": "^0.7.3",
6772
"@types/node": "^16",
68-
"@types/react": "^17.0.3",
73+
"@types/react": "^18.3.4",
6974
"@types/react-beautiful-dnd": "^13.0.0",
70-
"@types/react-dom": "^17.0.2",
71-
"@types/react-router": "^5.1.12",
72-
"@types/react-router-dom": "^5.1.7",
73-
"@types/styled-components": "^5.1.9",
75+
"@types/react-dom": "^18.3.0",
76+
"@types/react-router-dom": "^5.3.3",
77+
"@types/styled-components": "^5.1.34",
7478
"@types/uuid": "^8.3.1",
7579
"@vitejs/plugin-react": "^2.1.0",
7680
"antd": "4.16.13",
@@ -81,25 +85,25 @@
8185
"graphql": "^15.8.0",
8286
"jsdom": "^24.0.0",
8387
"prismjs": "^1.25.0",
84-
"react": "^17.0.1",
85-
"react-dom": "^17.0.1",
88+
"react": "^18.3.1",
89+
"react-dom": "^18.3.1",
8690
"recursive-readdir": "^2.2.2",
87-
"styled-components": "5.2.0",
91+
"styled-components": "6.1.12",
8892
"tslib": "^2.3.0",
8993
"typescript": "~5.2.2",
90-
"vite": "^4.5.0",
94+
"vite": "^5.4.2",
9195
"vitest": "^0.34.6"
9296
},
9397
"peerDependencies": {
9498
"@ant-design/icons": ">=4.7.0",
95-
"@cube-dev/ui-kit": ">=0.30.0",
99+
"@cube-dev/ui-kit": ">=0.37.2",
96100
"@cubejs-client/core": ">=0.30.0",
97101
"@cubejs-client/react": ">=0.30.0",
98102
"antd": ">=4.16.13",
99103
"graphql": ">=15.8.0",
100104
"prismjs": ">=1.25.0",
101-
"react": ">=17.0.1",
102-
"react-dom": ">=17.0.1",
103-
"styled-components": ">=5.2.0"
105+
"react": ">=18.0.0",
106+
"react-dom": ">=18.0.0",
107+
"styled-components": ">=6.0.0"
104108
}
105109
}

packages/cubejs-playground/public/chart-renderers/angular/index.html

Lines changed: 0 additions & 13 deletions
This file was deleted.

packages/cubejs-playground/public/chart-renderers/angular/main.c9ec6970e8db9607c52c.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/cubejs-playground/public/chart-renderers/angular/polyfills.5e0ce2c1a99c8658e3f9.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/cubejs-playground/public/chart-renderers/angular/runtime.acf0dec4155e77772545.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/cubejs-playground/public/chart-renderers/angular/styles.c241fdf862898bf70e5f.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/cubejs-playground/public/chart-renderers/react/index.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/cubejs-playground/public/chart-renderers/react/static/css/main.1607577d.css

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/cubejs-playground/public/chart-renderers/react/static/js/main.71cb3173.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)