From b1c65f4d4a86409dfbee9cbfa162c411c81c4406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Sat, 21 Feb 2026 23:48:18 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20ui:=20re-scaffolding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - fix lint errors --- ui/_legacy/tsconfig.json | 21 ---------- ui/src/__tests__/App.spec.ts | 11 ----- ui/src/components/admin/CalendarAssistant.vue | 40 ++++++++++++------- ui/src/components/admin/ConfigView.vue | 2 +- ui/src/components/editor/DoorChooser.vue | 16 +++++++- ui/src/lib/api.ts | 7 +--- ui/src/lib/helpers.ts | 1 - ui/src/lib/model.ts | 4 -- ui/src/lib/store.ts | 2 +- ui/tsconfig.app.json | 2 + ui/tsconfig.vitest.json | 1 - ui/vite.config.ts | 5 ++- 12 files changed, 49 insertions(+), 63 deletions(-) delete mode 100644 ui/_legacy/tsconfig.json delete mode 100644 ui/src/__tests__/App.spec.ts diff --git a/ui/_legacy/tsconfig.json b/ui/_legacy/tsconfig.json deleted file mode 100644 index 1a887f3..0000000 --- a/ui/_legacy/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "extends": "@vue/tsconfig/tsconfig.dom.json", - "compilerOptions": { - "experimentalDecorators": true, - "lib": ["es2020", "dom", "dom.iterable", "es2022.object", "es2023.array"], - // "moduleResolution": "node", - // "sourceMap": true, - "baseUrl": ".", - "types": ["webpack-env", "mocha", "chai"], - "paths": { - "@/*": ["src/*"] - } - }, - "include": [ - "src/**/*.vue", - "src/**/*.ts", - // "src/**/*.tsx", - "tests/**/*.ts" - // "tests/**/*.tsx", - ] -} diff --git a/ui/src/__tests__/App.spec.ts b/ui/src/__tests__/App.spec.ts deleted file mode 100644 index cf17422..0000000 --- a/ui/src/__tests__/App.spec.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { describe, it, expect } from "vitest"; - -import { mount } from "@vue/test-utils"; -import App from "../App.vue"; - -describe("App", () => { - it("mounts renders properly", () => { - const wrapper = mount(App); - expect(wrapper.text()).toContain("You did it!"); - }); -}); diff --git a/ui/src/components/admin/CalendarAssistant.vue b/ui/src/components/admin/CalendarAssistant.vue index 3de966c..ef16cec 100644 --- a/ui/src/components/admin/CalendarAssistant.vue +++ b/ui/src/components/admin/CalendarAssistant.vue @@ -8,7 +8,7 @@

Zuordnung Buchstaben

-