stakwork / sphinx-tribes-frontend

Frontend for sphinx tribes and bounties. The bounty platform that pays out in bitcoin. Sign up with Sphinx Chat, complete a bounty, and earn bitcoin! Go to our website for available bounties.
https://community.sphinx.chat/bounties
12 stars 42 forks source link

Upload image to Feature fields #536

Closed fvalentiner closed 4 months ago

fvalentiner commented 4 months ago

Context

We need to add an image upload functionality into some of the fields in the feature page. feature/{feature_uuid}

Here is a video demonstrating how this functionality works today on github issues. https://www.loom.com/share/cca486fdf1544747afba85459f494b5b?sid=0645d0d1-b8b5-4c2a-8595-0536193e0bac

Design

Add the upload image functionality to the fields [Feature Brief], [Requirements] and [Architecture] of the feature/{feature_uuid] screen.

The endpoint to call for image upload and name retrieval is: /meme_upload endpoint

You can see examples in the Edit Workspace screen and in /workspace/{workspace_uuid} on the edit schematic.

Take your best shot at creating the cypress test for it but it is not necessary.

Acceptance Criteria


If a PR is not submitted within two days, we will assign the bounty to someone else Bounty ??


Here is an example unit test

Here is an example component test

aliraza556 commented 4 months ago

@fvalentiner assign me

saithsab877 commented 4 months ago

@fvalentiner please assign me? my sphinx name Abubakar

AbdulWahab3181 commented 4 months ago

@fvalentiner Could you please assign me?