From 161f10596f054670f0898163d9947aea45497c28 Mon Sep 17 00:00:00 2001 From: Till JS Date: Sat, 21 Mar 2026 13:17:22 +0100 Subject: [PATCH] =?UTF-8?q?docs(storage):=20update=20audit=20score=2073=20?= =?UTF-8?q?=E2=86=92=2075=20with=20drag=20&=20drop=20and=20E2E=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Testing: 65 → 72 (Playwright E2E tests added) - Frontend: 75 → 78 (drag & drop file/folder moving) - UX: 67 → 72 (drag & drop with visual feedback) - Overall: 73 → 75 (production status confirmed) Co-Authored-By: Claude Opus 4.6 (1M context) --- .../src/content/audits/2026-03-19-storage.md | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/apps/manacore/apps/landing/src/content/audits/2026-03-19-storage.md b/apps/manacore/apps/landing/src/content/audits/2026-03-19-storage.md index 11771281b..11bb96eda 100644 --- a/apps/manacore/apps/landing/src/content/audits/2026-03-19-storage.md +++ b/apps/manacore/apps/landing/src/content/audits/2026-03-19-storage.md @@ -1,20 +1,20 @@ --- title: 'Storage: Production Readiness Audit' -description: 'Cloud Drive mit 10 Backend-Modulen, 159 Tests (Service + Controller), PWA mit Offline-Support, Caddy konfiguriert' +description: 'Cloud Drive mit Drag & Drop, 159+ Tests (Service + Controller + E2E), PWA Offline, Caddy konfiguriert' date: 2026-03-21 app: 'storage' author: 'Till Schneider' tags: ['audit', 'storage', 'production-readiness'] -score: 73 +score: 75 scores: backend: 85 - frontend: 75 + frontend: 78 database: 82 - testing: 65 + testing: 72 deployment: 55 documentation: 78 security: 72 - ux: 67 + ux: 72 status: 'production' version: '0.3.0' stats: @@ -22,14 +22,14 @@ stats: webRoutes: 17 components: 11 dbTables: 7 - testFiles: 13 + testFiles: 17 testCount: 159 languages: 2 --- ## Zusammenfassung -Storage hat das **ausgereifteste Backend** (10 Module) mit vollständigem Cloud-Drive (Files, Folders, Shares, Trash, Tags, Versions, Search). Mit **159 Tests**, **Dateivorschau**, **Caddy-Konfiguration**, **PWA Offline-Support** und umfassenden **SEO/Accessibility-Verbesserungen** hat die App den Status **production** erreicht. +Storage hat das **ausgereifteste Backend** (10 Module) mit vollständigem Cloud-Drive. Mit **159+ Tests** (Service, Controller, API-Client, E2E), **Drag & Drop**, **Dateivorschau**, **Caddy-Konfiguration** und **PWA Offline-Support** hat die App den Status **production** erreicht. ## Backend (85/100) @@ -38,21 +38,21 @@ Storage hat das **ausgereifteste Backend** (10 Module) mit vollständigem Cloud- - 22 Auth Guard Usages (höchste nach Contacts) - S3 Storage Integration -## Frontend (75/100) +## Frontend (78/100) - 17 Routes, 11 Komponenten, 5 Stores - FilePreviewModal mit Bildvorschau für Image-MIME-Types +- Drag & Drop: Dateien/Ordner auf Ordner ziehen zum Verschieben - Vollständige ARIA-Attribute auf Menüs, Loading-States, Tabellen, Upload-Fortschritt - SEO: Meta-Descriptions, Open Graph Tags, preconnect auf allen Seiten -- Semantisches HTML: role="table", role="menu", role="menuitem", role="progressbar" -## Testing (65/100) +## Testing (72/100) - **133 Backend-Tests** (Jest): 6 Service-Suites + 6 Controller-Suites - **26 Web-Tests** (Vitest): API-Client Coverage für alle Endpoints -- Mock-Factories für File, Folder, Share, Tag Entities -- Controller-Tests mit Guard-Override und Response-Mocking -- **Lücke:** Keine Integration/E2E-Tests +- **4 E2E-Test-Suites** (Playwright): Auth, Files, Navigation, Search +- Mock-Factories, Guard-Override-Pattern, Response-Mocking +- **Lücke:** E2E braucht laufendes Backend für volle Coverage ## Deployment (55/100) @@ -61,25 +61,25 @@ Storage hat das **ausgereifteste Backend** (10 Module) mit vollständigem Cloud- - Caddy Reverse Proxy: storage.mana.how + storage-api.mana.how - **Lücke:** Docker Images noch nicht gebaut, nicht live deployed -## UX (67/100) +## UX (72/100) - i18n (DE + EN) -- PWA mit 'full'-Preset: Offline-Caching für API, Images, Fonts, externe Ressourcen +- Drag & Drop für Datei/Ordner-Verschiebung mit visuellem Feedback +- PWA mit 'full'-Preset: Offline-Caching für API, Images, Fonts - App-Shortcuts: Dateien, Suche, Favoriten - Offline-Seite mit Links zu cached Seiten -- Vollständige ARIA-Accessibility auf interaktiven Elementen -- **Lücke:** Keine Animationen, kein Drag & Drop +- Vollständige ARIA-Accessibility ## Änderungen seit Original-Audit (2026-03-19 → 2026-03-21) -- Testing: 0 → 65 (0 → 159 Tests, Service + Controller) -- Frontend: 70 → 75 (FilePreviewModal, ARIA/SEO) +- Testing: 0 → 72 (159+ Tests: Service, Controller, API-Client, E2E) +- Frontend: 70 → 78 (FilePreviewModal, Drag & Drop, ARIA/SEO) - Deployment: 42 → 55 (Dockerfile-Fix, Caddy-Einträge) -- UX: 55 → 67 (PWA full, Shortcuts, Offline-Seite, A11y) -- **Gesamtscore: 55 → 73 (+18) — Status: beta → production** +- UX: 55 → 72 (Drag & Drop, PWA full, Shortcuts, Offline, A11y) +- **Gesamtscore: 55 → 75 (+20) — Status: beta → production** ## Top-3 Empfehlungen 1. **Go-Live** - Docker Images bauen, auf Mac Mini deployen -2. **E2E Tests** - Playwright-Tests für kritische Flows (Upload, Download, Share) -3. **Drag & Drop** - Dateien zwischen Ordnern verschieben +2. **Integration Tests** - Tests mit echtem Backend für kritische Flows +3. **Animationen** - Drag-Feedback-Animation, Transition bei Ordnerwechsel