Skip to content

Commit d4b706c

Browse files
committed
more client refactor
1 parent f439479 commit d4b706c

124 files changed

Lines changed: 4948 additions & 6870 deletions

File tree

Some content is hidden

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

client/.editorconfig

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

client/.prettierrc.json

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

client/.vscode/extensions.json

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

client/.vscode/settings.json

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
{
2-
"explorer.fileNesting.enabled": true,
3-
"explorer.fileNesting.patterns": {
4-
"tsconfig.json": "tsconfig.*.json, env.d.ts",
5-
"vite.config.*": "jsconfig*, vitest.config.*, cypress.config.*, playwright.config.*",
6-
"package.json": "package-lock.json, pnpm*, .yarnrc*, yarn*, .eslint*, eslint*, .oxlint*, oxlint*, .prettier*, prettier*, .editorconfig"
7-
},
8-
"editor.codeActionsOnSave": {
9-
"source.fixAll": "explicit"
10-
},
11-
"editor.formatOnSave": true,
12-
"editor.defaultFormatter": "esbenp.prettier-vscode",
13-
"oxc.enable": true,
14-
"[vue]": {
15-
"editor.defaultFormatter": "esbenp.prettier-vscode"
16-
},
17-
"[typescript]": {
18-
"editor.defaultFormatter": "esbenp.prettier-vscode"
19-
}
2+
"explorer.fileNesting.enabled": true,
3+
"explorer.fileNesting.patterns": {
4+
"tsconfig.json": "tsconfig.*.json, *.d.ts, biome.json",
5+
"package.json": "package-lock.json"
6+
}
207
}

client/biome.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3+
"vcs": {
4+
"enabled": false,
5+
"clientKind": "git",
6+
"useIgnoreFile": false
7+
},
8+
"files": {
9+
"ignoreUnknown": false,
10+
"ignore": []
11+
},
12+
"formatter": {
13+
"enabled": true,
14+
"indentStyle": "tab"
15+
},
16+
"organizeImports": {
17+
"enabled": true
18+
},
19+
"linter": {
20+
"enabled": true,
21+
"rules": {
22+
"recommended": true
23+
}
24+
},
25+
"javascript": {
26+
"formatter": {
27+
"quoteStyle": "double",
28+
"semicolons": "asNeeded"
29+
}
30+
}
31+
}

client/components.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ export {}
99
declare module 'vue' {
1010
export interface GlobalComponents {
1111
AnnotateTab: typeof import('./src/components/AnnotateTab.vue')['default']
12+
AppBanner: typeof import('./src/components/AppBanner.vue')['default']
1213
BenchmarkSetsHelp: typeof import('./src/components/help/BenchmarkSetsHelp.vue')['default']
1314
ComparisonModal: typeof import('./src/components/modals/ComparisonModal.vue')['default']
14-
ContributeTaggerLink: typeof import('./src/components/links/ContributeTaggerLink.vue')['default']
1515
CorpusForm: typeof import('./src/components/modals/corpus/CorpusForm.vue')['default']
1616
CorpusFormHelp: typeof import('./src/components/help/CorpusFormHelp.vue')['default']
1717
CorpusHelp: typeof import('./src/components/help/CorpusHelp.vue')['default']
@@ -38,14 +38,15 @@ declare module 'vue' {
3838
HelpLink: typeof import('./src/components/links/HelpLink.vue')['default']
3939
InspectButton: typeof import('./src/components/input/InspectButton.vue')['default']
4040
JobModal: typeof import('./src/components/modals/jobs/JobModal.vue')['default']
41+
JobProgress: typeof import('./src/components/modals/jobs/JobProgress.vue')['default']
42+
JobProgressSegment: typeof import('./src/components/modals/jobs/JobProgressSegment.vue')['default']
4143
JobSelect: typeof import('./src/components/input/JobSelect.vue')['default']
4244
JobsHelp: typeof import('./src/components/help/JobsHelp.vue')['default']
4345
KeyValues: typeof import('./src/components/KeyValues.vue')['default']
4446
LayerViewer: typeof import('./src/components/tables/LayerViewer.vue')['default']
4547
MailAddress: typeof import('./src/components/links/MailAddress.vue')['default']
4648
MetricsFilter: typeof import('./src/components/tables/MetricsFilter.vue')['default']
4749
MetricsTable: typeof import('./src/components/tables/MetricsTable.vue')['default']
48-
ProgressSegment: typeof import('./src/components/modals/jobs/ProgressSegment.vue')['default']
4950
RightFloatCell: typeof import('./src/components/tables/RightFloatCell.vue')['default']
5051
RouterLink: typeof import('vue-router')['RouterLink']
5152
RouterView: typeof import('vue-router')['RouterView']

client/docker-compose.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
services:
2+
proxy:
3+
image: nginx:1.28.0-alpine3.21-slim
4+
volumes:
5+
- ./nginx.conf:/etc/nginx/nginx.conf
6+
- ./dist:/usr/share/nginx/html
7+
ports:
8+
- "80:80"
9+
restart: unless-stopped
10+
extra_hosts:
11+
- "host.docker.internal:host-gateway"

client/eslint.config.d.ts

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

client/eslint.config.ts

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

0 commit comments

Comments
 (0)