Skip to content

feat(admin): review event photos in the admin panel - #180

Merged
shmoonwalker merged 3 commits into
mainfrom
166-frontend-admin-review-of-event-photos
Nov 17, 2026
Merged

shmoonwalker merged 3 commits into
mainfrom
166-frontend-admin-review-of-event-photos

Conversation

@shmoonwalker

@shmoonwalker shmoonwalker commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Closes #166.

Event photos are a section of the existing admin panel, not a separate page. The sidebar and the overview both include Event photos. The overview counts photos still waiting. The page uses the same list, tags and buttons as Reports and Feedback.

  • /admin/photos lists pending photos first: the card image, the event title (linked), the uploader and the time. Approve makes the photo public. Reject keeps it hidden. Both leave the pending list.
  • The Approved switch lists photos that are already public. Remove asks for confirmation, then deletes the photo.
  • A failed load uses the admin error with Try again. A failed approve, reject or remove is shown on that row.
  • On Reports, a photo report is labeled Photo, with the photo id and the event when the report includes one. Dismiss still closes the report. Remove photo deletes the photo. It is not shown as a comment, and Hide event is not offered for it.
  • Picture URLs are the ones the API returns.

This calls the photo API in #164. Merge that pull request first; until then the queue has nothing to load. Members still cannot open /admin.

@shmoonwalker
shmoonwalker force-pushed the 166-frontend-admin-review-of-event-photos branch from ef690a9 to 0efa594 Compare November 17, 2026 02:57
@shmoonwalker shmoonwalker self-assigned this Nov 17, 2026
@shmoonwalker shmoonwalker added the frontend Work in the web app: pages, layout, and client state. label Nov 17, 2026
@shmoonwalker
shmoonwalker merged commit 20fbd92 into main Nov 17, 2026
2 checks passed
@shmoonwalker
shmoonwalker deleted the 166-frontend-admin-review-of-event-photos branch November 17, 2026 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend Work in the web app: pages, layout, and client state.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Frontend] Admin review of event photos

1 participant