Skip to content

[WIP] Add feature for requesting photo changes and review process#825

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/add-photo-change-request-feature
Draft

[WIP] Add feature for requesting photo changes and review process#825
Copilot wants to merge 2 commits intomasterfrom
copilot/add-photo-change-request-feature

Conversation

Copy link
Contributor

Copilot AI commented Mar 19, 2026

  • Add photo request backend endpoints in app.py:
    • POST /photo-request — upload photo to epschedule-photo-requests bucket, save pending request in Datastore, email admins
    • GET /admin/photo-requests — list pending photo requests (admin only)
    • POST /admin/photo-requests/<username>/approve — move photo from requests bucket to avatars bucket (admin only)
    • POST /admin/photo-requests/<username>/deny — delete photo request (admin only)
  • Add sendgrid to requirements.txt for email sending
  • Add photo request UI to templates/index.html settings dialog
  • Add photo request JavaScript logic to static/js/index.js
  • Add admin UI panel to templates/index.html (admin only)
  • Add tests in main_test.py for new endpoints
  • Run tests to verify changes

💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

Co-authored-by: codingses <149913839+codingses@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants