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

image upload component #750

Closed
TanyaStere42 opened this issue Sep 9, 2024 · 2 comments · Fixed by #816 or #829
Closed

image upload component #750

TanyaStere42 opened this issue Sep 9, 2024 · 2 comments · Fixed by #816 or #829
Assignees
Labels
enhancement new or improvements on existing features modernization Updating the tech stack iteratively
Milestone

Comments

@TanyaStere42
Copy link
Member

TanyaStere42 commented Sep 9, 2024

Context

We need photo upload across different pages. Might as well make it a component 😃

Sign off requirements

Non-functional requirements

  • PR must go to feature branch submission_page

Functional requirements

  • supports jpg, jpeg, png, and bmp
  • drop folders/image or click to browse
  • displays thumbnail of file uploaded
  • x to remove uploaded file
  • button to "add more files" if any files have already been uploaded
  • fail state "failed to upload images"

Designs

Link to Prototype

Initial state: no images uploaded
Image
State in-use: images uploaded
Image

@TanyaStere42 TanyaStere42 added enhancement new or improvements on existing features modernization Updating the tech stack iteratively labels Sep 9, 2024
@TanyaStere42 TanyaStere42 added this to the 10.5.0 milestone Sep 9, 2024
@naknomum
Copy link
Member

investigate existing mechanism for adding images to encounters to see what might be reusable. very likely some backend code can be recycled. maybe also frontend.

@erinz2020
Copy link
Contributor

Maximum uploadable media size: maxMediaSize from commonConfiguration.properties
fail state "The file is too large. Please upload a file smaller than [maxSize] MB."?
may need to show in photo upload requirement copy

naknomum added a commit that referenced this issue Oct 8, 2024
@TanyaStere42 TanyaStere42 moved this from In Progress to Done in React Submission page Oct 9, 2024
@TanyaStere42 TanyaStere42 closed this as completed by moving to Done in React Submission page Oct 9, 2024
@TanyaStere42 TanyaStere42 linked a pull request Oct 10, 2024 that will close this issue
@TanyaStere42 TanyaStere42 moved this from Done to In Progress in React Submission page Oct 10, 2024
@TanyaStere42 TanyaStere42 reopened this Oct 10, 2024
@TanyaStere42 TanyaStere42 moved this from In Progress to Done in React Submission page Oct 11, 2024
@TanyaStere42 TanyaStere42 closed this as completed by moving to Done in React Submission page Oct 11, 2024
Rodhlann pushed a commit to Rodhlann/Wildbook that referenced this issue Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement new or improvements on existing features modernization Updating the tech stack iteratively
Projects
Status: Done
3 participants