6 Commits

Author SHA1 Message Date
wass08
a86609aa5c community presets draft 2026-03-04 13:18:18 +01:00
Aymeric Rabot
18307761b5 Revert "chore(editor): remove instrumentation.ts bucket creation logic"
This reverts commit da3168ccb8a93aae527656cfc73965c6d32c561b.
2026-02-27 12:58:18 -05:00
Aymeric Rabot
da3168ccb8 chore(editor): remove instrumentation.ts bucket creation logic
Made-with: Cursor
2026-02-27 12:43:09 -05:00
wass08
b167702bca store reference assets on supabase 2026-02-26 09:56:50 +09:00
Anton
94e5f37983
fix: create project-thumbnails bucket in instrumentation.ts (#118)
The thumbnail upload (uploadProjectThumbnail) writes to a
'project-thumbnails' storage bucket, but instrumentation.ts only
bootstrapped the 'avatars' bucket.  This caused:

  Upload failed: Bucket not found

Add the missing bucket creation with matching constraints (public,
10 MB limit, image/png only).  Also refactor the bucket-exists check
to use a Set so it scales cleanly as more buckets are added.

Co-authored-by: Anton Pascal <anton-pascal@users.noreply.github.com>
2026-02-25 12:22:10 -05:00
Aymeric Rabot
48397917a9 feat: auto-create avatars storage bucket on server startup
Uses Next.js instrumentation.ts to ensure the Supabase "avatars"
bucket exists on first boot — no manual setup needed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-19 01:41:48 -05:00