Skip to content

Commit 117a1bb

Browse files
authored
Move ui folder to application/ui (#4763)
1 parent 48be55f commit 117a1bb

File tree

209 files changed

+47
-47
lines changed

Some content is hidden

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

209 files changed

+47
-47
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
!docker/nginx.conf
99
!.ci
1010
!backend
11-
!ui
11+
!application

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ lib/ @samet-akcay @eugene123tw @kprokofi @sovrasov @daankrol @ashwinvaidya17 @ra
1515
backend/ @leoll2 @itallix @warrkan @A-Artemis
1616

1717
# Frontend
18-
ui/ @jpggvilaca @MarkRedeman @camiloHimura @pplaskie @romanowska @dwesolow
18+
application/ui/ @jpggvilaca @MarkRedeman @camiloHimura @pplaskie @romanowska @dwesolow
1919

2020
# Docker files
2121
docker/ @samet-akcay @eugene123tw @kprokofi @sovrasov @daankrol @ashwinvaidya17 @rajeshgangireddy

.github/labeler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ Geti Tune Backend:
88
Geti Tune UI:
99
- changed-files:
1010
- any-glob-to-any-file:
11-
- "ui/**/*"
11+
- "application/ui/**/*"
1212

1313
TEST:
1414
- changed-files:
1515
- any-glob-to-any-file:
1616
- "lib/tests/**/*"
1717
- "backend/tests/**/*"
18-
- "ui/tests/**/*"
18+
- "application/ui/tests/**/*"
1919

2020
DOC:
2121
- changed-files:

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
with:
4242
files_yaml: |
4343
test:
44-
- ui/**
44+
- application/ui/**
4545
- backend/**
4646
- docker/**
4747
- .github/**

.github/workflows/codeql.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ jobs:
4040
- lib/**
4141
- docker/**
4242
rust:
43-
- ui/**
43+
- application/ui/**
4444
javascript-typescript:
45-
- ui/**
45+
- application/ui/**
4646
actions:
4747
- .github/**
4848

.github/workflows/ui-lint-and-test.yaml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
files_yaml: |
4343
test:
4444
- backend/**
45-
- ui/**
45+
- application/ui/**
4646
- .github/**
4747
4848
- name: Set run flag
@@ -118,24 +118,24 @@ jobs:
118118
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
119119
id: setup-node
120120
with:
121-
node-version-file: ui/.nvmrc
121+
node-version-file: application/ui/.nvmrc
122122

123123
- name: Install dependencies
124-
working-directory: "ui"
124+
working-directory: "application/ui"
125125
run: npm ci
126126

127127
- name: Build UI
128-
working-directory: "ui"
128+
working-directory: "application/ui"
129129
run: npm run build
130130

131131
- name: Compress build
132-
working-directory: "ui"
132+
working-directory: "application/ui"
133133
run: tar -czf dist.tar.gz dist
134134

135135
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
136136
with:
137137
name: ui-dist
138-
path: "ui/dist.tar.gz"
138+
path: "application/ui/dist.tar.gz"
139139

140140
lint:
141141
name: Eslint checks
@@ -155,36 +155,36 @@ jobs:
155155
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
156156
id: setup-node
157157
with:
158-
node-version-file: ui/.nvmrc
158+
node-version-file: application/ui/.nvmrc
159159

160160
- name: Install dependencies
161-
working-directory: "ui"
161+
working-directory: "application/ui"
162162
run: npm ci
163163

164164
- name: Download OpenAPI spec artifact
165165
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
166166
with:
167167
name: openapi-spec
168-
path: ui/src/api
168+
path: application/ui/src/api
169169

170170
- name: Build OpenAPI type definitions
171-
working-directory: "ui"
171+
working-directory: "application/ui"
172172
run: npm run build:api
173173

174174
- name: Prettier
175-
working-directory: "ui"
175+
working-directory: "application/ui"
176176
run: npm run format:check
177177

178178
- name: Eslint
179-
working-directory: "ui"
179+
working-directory: "application/ui"
180180
run: npm run lint
181181

182182
- name: Eslint cyclic imports
183-
working-directory: "ui"
183+
working-directory: "application/ui"
184184
run: npm run cyclic-deps-check
185185

186186
- name: Typescript
187-
working-directory: "ui"
187+
working-directory: "application/ui"
188188
run: npm run type-check
189189

190190
unit-tests:
@@ -206,29 +206,29 @@ jobs:
206206
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
207207
id: setup-node
208208
with:
209-
node-version-file: ui/.nvmrc
209+
node-version-file: application/ui/.nvmrc
210210

211211
- name: Install dependencies
212-
working-directory: "ui"
212+
working-directory: "application/ui"
213213
run: npm ci
214214

215215
- name: Download OpenAPI spec artifact
216216
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
217217
with:
218218
name: openapi-spec
219-
path: ui/src/api
219+
path: application/ui/src/api
220220

221221
- name: Build OpenAPI type definitions
222-
working-directory: "ui"
222+
working-directory: "application/ui"
223223
run: npm run build:api
224224

225225
- name: UI Unit tests
226-
working-directory: "ui"
226+
working-directory: "application/ui"
227227
run: npm run test:unit:coverage
228228

229229
- name: Generate coverage report
230230
if: github.event.pull_request.head.repo.full_name == github.repository
231-
working-directory: "ui"
231+
working-directory: "application/ui"
232232
run: |
233233
echo "## 📊 Test coverage report" > coverage.md
234234
if [ -f "coverage/coverage-summary.json" ]; then
@@ -264,7 +264,7 @@ jobs:
264264
265265
let coverageComment = '';
266266
try {
267-
coverageComment = fs.readFileSync('ui/coverage.md', 'utf8');
267+
coverageComment = fs.readFileSync('application/ui/coverage.md', 'utf8');
268268
} catch (error) {
269269
coverageComment = '## 📊 Test Coverage Report\n\nCoverage report generation failed.';
270270
}
@@ -316,41 +316,41 @@ jobs:
316316
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
317317
id: setup-node
318318
with:
319-
node-version-file: ui/.nvmrc
319+
node-version-file: application/ui/.nvmrc
320320

321321
- name: Install dependencies
322-
working-directory: "ui"
322+
working-directory: "application/ui"
323323
run: npm ci
324324

325325
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
326326
with:
327327
name: ui-dist
328-
path: "ui"
328+
path: "application/ui"
329329

330330
- name: Unpack build
331-
working-directory: "ui"
331+
working-directory: "application/ui"
332332
run: tar -xzf dist.tar.gz
333333

334334
- name: Download OpenAPI spec artifact
335335
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
336336
with:
337337
name: openapi-spec
338-
path: ui/src/api
338+
path: application/ui/src/api
339339

340340
- name: Build OpenAPI type definitions
341-
working-directory: "ui"
341+
working-directory: "application/ui"
342342
run: npm run build:api
343343

344344
- name: Run Playwright tests
345-
working-directory: "ui"
345+
working-directory: "application/ui"
346346
run: npm run test:component -- --project "Component tests"
347347

348348
- name: Upload blob report to GitHub Actions Artifacts
349349
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
350350
if: always()
351351
with:
352352
name: playwright-report
353-
path: ui/playwright-report/
353+
path: application/ui/playwright-report/
354354
retention-days: 30
355355

356356
required_check:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repos:
99
rev: v3.0.3
1010
hooks:
1111
- id: prettier
12-
exclude: ^ui/
12+
exclude: ^application/ui/
1313

1414
- repo: https://github.com/pre-commit/mirrors-mypy
1515
rev: "v1.6.1"
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)