feat(assets): Bild-Upload ins verbundene Git-Repo (#10) (#26)
Image / Image bauen und pushen (push) Successful in 4m29s
CI / App (npm ci + Build, ESLint, Stylelint, Jest) (push) Successful in 2m40s
CI / Storage (mongo) (push) Successful in 1m35s
CI / Storage (postgres) (push) Successful in 1m30s

Upload-Endpunkt POST /api/git/brews/:editId/assets (Magic Bytes, konfigurierbare Limits HB_ASSET_*, Dedupe, Commit ins Repo, Snapshot in brew_assets) und Auslieferung /git-assets/:shareId/:sha256.:ext gemäß ADR 0004. Postgres-Migration 0003, Mongo-Repo, Editor-Button, Drag-and-drop und Einfügen.

Closes #10

Co-authored-by: Dev (Paperclip) <dev-bot@noreply.git.morlana.online>
This commit was merged in pull request #26.
This commit is contained in:
dev-bot Bot authored and Gitea committed 2026-11-26 01:39:34 +00:00
1 parent bbf838c5d6
commit aeca3926a3
34 files changed
+1353 -11

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ const GitNavItem = ({ brew, lastSavedTime, onLinkedChange })=>{
}
}, [status]);
useEffect(()=>{ onLinkedChange?.(!!status?.linked); }, [status?.linked]);
useEffect(()=>{ onLinkedChange?.(!!status?.linked); window.dispatchEvent(new Event('hb:git-link-changed')); }, [status?.linked]); // zweiter Teil: ADR 0004 (Upload-Button)
if(!editId || !status) return null;