Skip to content

WIP - User can add an image to a quote request#23

Open
Alex-Bellamy wants to merge 3 commits into
capybara-tech:developmentfrom
Alex-Bellamy:user_can_upload_image
Open

WIP - User can add an image to a quote request#23
Alex-Bellamy wants to merge 3 commits into
capybara-tech:developmentfrom
Alex-Bellamy:user_can_upload_image

Conversation

@Alex-Bellamy

Copy link
Copy Markdown
Member

PT board URL

User Story

As a property owner
In order to obtain a more accurate quote
I would like to be able to add an image to my quote request

Changes proposed in this pull request:

Packages added

…an image upload, adding a test image to the fixutre folder and configuring a cypress command for the file upload
…e name, adding a function in the quotespage component to convert image to base64, update the onsubmit function with a conditional for file uploading and an input to capture the file
… accordingly - setting new states, updating params and removing the conditional which was in the onsubmit function, adding an ondrop function and utilising the imageuploader input with the desired attrributes
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.

1 participant