Skip to content

Commit 768e47b

Browse files
Deltalake UI (#1810)
* Add DeltaLake Output connector * Add DeltaLake input connector * Add output buffer configuration UI * Refactor all connector dialogs to use the same layout * Make secret fields behave like password fields * Make a step to unify display of form fields * Add component test for DeltaLake input dialog Signed-off-by: George <bulakh.96@gmail.com>
1 parent 3b944da commit 768e47b

File tree

126 files changed

+3186
-1458
lines changed

Some content is hidden

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

126 files changed

+3186
-1458
lines changed

.devcontainer/postCreate.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# Install Playwright system dependencies
22
cd ./web-console && yarn playwright install-deps
3+
# Install Playwright browsers
4+
npx playwright install

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2626
([#1835](https://github.com/feldera/feldera/pull/1835))
2727
- [Python] Add function to wait for the pipeline to become idle
2828
([#1841](https://github.com/feldera/feldera/pull/1841))
29+
- WebConsole: DeltaLake input (#1744) and output (#1584) conenctors
30+
- WebConsole: Add output buffer configuration UI (#1591)
2931

3032
### Fixed
3133

web-console/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ and run `yarn install`.
6464

6565
## OpenAPI bindings
6666

67-
The bindings for OpenAPI (under src/lib/services/manager) are generated using
67+
The bindings for OpenAPI (under $lib/services/manager) are generated using
6868
[openapi typescript codegen](https://www.npmjs.com/package/openapi-typescript-codegen).
6969

7070
If you change the API, execute the following steps to update the bindings:

web-console/bun.lockb

1.7 KB
Binary file not shown.

web-console/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"lint": "eslint --max-warnings 0 --fix \"src/**/*.{js,jsx,ts,tsx}\"",
2323
"format": "prettier --write \"{src,tests}/**/*.{js,jsx,ts,tsx}\"",
2424
"format-check": "prettier --check \"src/**/*.{js,jsx,ts,tsx}\"",
25-
"generate-openapi": "openapi --input ../openapi.json --output ./src/lib/services/manager && yarn format && patch -p2 < openapi-fixes.patch",
25+
"generate-openapi": "openapi --input ../openapi.json --request ./src/lib/services/manager/core/request.ts --output ./src/lib/services/manager && yarn format && patch -p2 < openapi-fixes.patch",
2626
"build-openapi": "cd .. && cargo run --bin pipeline-manager -- --dump-openapi",
2727
"test": "PLAYWRIGHT_API_ORIGIN=http://localhost:8080/ PLAYWRIGHT_APP_ORIGIN=http://localhost:8080/ DISPLAY= yarn playwright test",
2828
"test-ui": "PLAYWRIGHT_API_ORIGIN=http://localhost:8080/ PLAYWRIGHT_APP_ORIGIN=http://localhost:8080/ DISPLAY= yarn playwright test --ui-host=0.0.0.0",
@@ -43,6 +43,7 @@
4343
"@emotion/server": "^11.11.0",
4444
"@emotion/styled": "^11.11.5",
4545
"@faker-js/faker": "^8.4.1",
46+
"@fontsource-variable/public-sans": "^5.0.19",
4647
"@hookform/resolvers": "^3.3.4",
4748
"@mantine/hooks": "^7.9.1",
4849
"@monaco-editor/react": "^4.6.0",
@@ -122,6 +123,7 @@
122123
"use-debounce": "^10.0.0",
123124
"valibot": "^0.30.0",
124125
"vite": "^5.2.11",
126+
"vite-plugin-svgr": "^4.2.0",
125127
"yaml": "^2.4.2",
126128
"zustand": "^4.5.2"
127129
}

web-console/playwright-ct.config.ts

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { resolve } from 'path'
2-
import { FileSystemIconLoader } from 'unplugin-icons/loaders'
3-
import UnpluginIcons from 'unplugin-icons/vite'
2+
import svgr from 'vite-plugin-svgr'
43

54
import { defineConfig, devices } from '@playwright/experimental-ct-react'
65
import react from '@vitejs/plugin-react'
@@ -9,7 +8,7 @@ import react from '@vitejs/plugin-react'
98
* See https://playwright.dev/docs/test-configuration.
109
*/
1110
export default defineConfig({
12-
testDir: './src/lib/components',
11+
testDir: './src/lib',
1312
/* The base directory, relative to the config file, for snapshot files created with toMatchSnapshot and toHaveScreenshot. */
1413
snapshotDir: './playwright-snapshots/ct',
1514
/* Maximum time one test can run for. */
@@ -34,24 +33,16 @@ export default defineConfig({
3433
ctViteConfig: {
3534
resolve: {
3635
alias: {
36+
'$app': resolve(__dirname, './src/app'),
3737
'$lib': resolve(__dirname, './src/lib'),
3838
'$tests': resolve(__dirname, './tests'),
3939
'src/lib': resolve(__dirname, './src/lib'),
40+
'$public': resolve(__dirname, './public'),
41+
'@core': resolve(__dirname, './src/@core')
4042
},
4143
},
4244
plugins: [
43-
react(),
44-
UnpluginIcons({
45-
compiler: 'jsx', jsx: 'react',
46-
customCollections: {
47-
'vendors': FileSystemIconLoader(
48-
"./public/icons/vendors",
49-
),
50-
'generic': FileSystemIconLoader(
51-
"./public/icons/generic",
52-
),
53-
}
54-
}),
45+
react(), svgr()
5546
],
5647
},
5748
testIdAttribute: 'data-testid',

web-console/playwright/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// Import styles, initialize component theme here.
2-
// import '../src/common.css';
1+
import '../src/styles/globals.css'
32

43
import { faker } from '@faker-js/faker'
54

Lines changed: 25 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)