feat(events): show every photo on the event page without folders
CI / build (push) Has been cancelled

Folders were an implementation detail leaking into the event workflow: every
upload needed a folder first and photos were split across pages. Uploads now
land in a single implicit "Photos" folder and the event page renders one
gallery with the uploader and an edited-only download.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
2026-11-21 14:37:57 +00:00
parent ebe0c77f7e
commit fac9b96cca
13 changed files with 416 additions and 459 deletions
+4 -7
View File
@@ -158,14 +158,11 @@ test.describe("growth goals and maintenance", () => {
"No media storage share",
);
await page.goto(`${BASE}/events/${eventId}/folders/${folderId}`);
await expect(page.getByRole("alert").first()).toContainText(
"Photo uploads and editing are disabled",
);
await page.goto(`${BASE}/events/${eventId}`);
await expect(page.getByRole("alert").first()).toContainText(
"Photo and video uploads are disabled",
);
await expect(
page.getByText("Photo uploads and editing are disabled"),
).toBeVisible();
await expect(page.getByText("Photo and video uploads are disabled")).toBeVisible();
// A share name that reads like `host:/export` while the path is a local
// directory must block writes: media would silently land on local disk.