refactor(frontend): restructure project layout and update API schema

Relocate frontend source code from `next-app/` to `frontend/` to align with the new project structure. This includes removing the old Next.js boilerplate files and establishing a cleaner workspace.

Additionally, updates the OpenAPI specification to include support for the `immich` widget type and its corresponding configuration schema.

- Move frontend files to `frontend/`
- Delete obsolete `next-app/` directory and its configuration
- Add `immich` widget type to `openapi.yaml`
- Update `FrontendPlan.md` with dashboard refactor and UX direction
This commit is contained in:
Tomas Dvorak
2026-05-04 12:31:34 +02:00
parent b17a06fbba
commit 17a579880f
85 changed files with 9441 additions and 947 deletions
+8 -1
View File
@@ -521,7 +521,7 @@ components:
type: object
required: [type, title, config]
properties:
type: { type: string, enum: [clock, image, pihole, memos] }
type: { type: string, enum: [clock, image, pihole, memos, immich] }
title: { type: string, minLength: 1, maxLength: 80 }
enabled: { type: boolean, default: true }
config:
@@ -530,6 +530,7 @@ components:
- $ref: "#/components/schemas/ImageWidgetConfig"
- $ref: "#/components/schemas/PiHoleWidgetConfig"
- $ref: "#/components/schemas/MemosWidgetConfig"
- $ref: "#/components/schemas/ImmichWidgetConfig"
ClockWidgetConfig:
type: object
properties:
@@ -555,6 +556,12 @@ components:
baseUrl: { type: string, format: uri }
apiToken: { type: string, writeOnly: true }
pageSize: { type: integer, default: 5 }
ImmichWidgetConfig:
type: object
required: [baseUrl, apiKey]
properties:
baseUrl: { type: string, format: uri }
apiKey: { type: string, writeOnly: true }
ErrorResponse:
type: object
required: [code, message, details]