Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple images for milestones #50

Closed
4 tasks done
lkeegan opened this issue Sep 16, 2024 · 0 comments · Fixed by #184
Closed
4 tasks done

Multiple images for milestones #50

lkeegan opened this issue Sep 16, 2024 · 0 comments · Fixed by #184
Labels
enhancement New feature or request meta A meta issue

Comments

@lkeegan
Copy link
Member

lkeegan commented Sep 16, 2024

Currently there is a single image displayed for a milestone.

Since there are many ways to do a milestone, it would be ideal if there were a selection of (valid) images for a milestone.

These could even be crowd-sourced, by allowing users to upload their own image for a milestone, then having an approval step by an admin, before the image is added to the gallery of images for that milestone.

This would require some changes to

  • database
    • new table of milestone images with
      • filename
      • milestone_id
      • approved
      • source?
      • ...?
  • admin site
    • list of images waiting for approval
      • buttons to either approve or delete the image
  • backend
    • milestone endpoint should include the list of images
    • user endpoint to submit an image
    • admin endpoints to list images waiting for approval, and to approve/delete an image
  • frontend milestone component
@lkeegan lkeegan added enhancement New feature or request meta A meta issue labels Sep 16, 2024
@lkeegan lkeegan added this to the Initial production version milestone Nov 14, 2024
lkeegan added a commit that referenced this issue Nov 22, 2024
- backend
  - add SubmittedMilestoneImage to models
  - add /submitted-milestone-images post endpoint for users
  - add admin endpoints to get, approve and delete submitted images
- frontend
  - button to Milestone component for user to upload an image
  - add SubmitMilestoneImageModal
    - with a checkbox for user to agree to conditions before submitting the image
- admin-frontend
  - add tab with submitted images for review (accept / delete)
  - add text prop to SaveButton component
- resolves #50
lkeegan added a commit that referenced this issue Nov 22, 2024
- backend
  - add SubmittedMilestoneImage to models
  - add /submitted-milestone-images post endpoint for users
  - add admin endpoints to get, approve and delete submitted images
- frontend
  - button to Milestone component for user to upload an image
  - add SubmitMilestoneImageModal
    - with a checkbox for user to agree to conditions before submitting the image
- admin-frontend
  - add tab with submitted images for review (accept / delete)
  - add text prop to SaveButton component
- resolves #50
MaHaWo pushed a commit that referenced this issue Nov 25, 2024
- backend
  - add SubmittedMilestoneImage to models
  - add /submitted-milestone-images post endpoint for users
  - add admin endpoints to get, approve and delete submitted images
- frontend
  - button to Milestone component for user to upload an image
  - add SubmitMilestoneImageModal
    - with a checkbox for user to agree to conditions before submitting the image
- admin-frontend
  - add tab with submitted images for review (accept / delete)
  - add text prop to SaveButton component
- resolves #50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request meta A meta issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant