stakwork / sphinx-tribes

Backend for sphinx tribes and bounties. The bounty platform 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
33 stars 60 forks source link

Add default text in bounty creation flow #1041

Closed ecurrencyhodler closed 10 months ago

ecurrencyhodler commented 10 months ago

Add the following text inside the description area when creating a bounty and if github selected:

Screenshot 2023-12-04 at 12 36 50 PM

Description *

Provide some context and be as detailed as possible. The more information you provide the better. This will allow the hunter to have a fuller picture of the amount of work that is required to complete the task. Screenshots and screen recordings help a lot too!


When you click into the box for the description, the text should disappear and the word "Description *" should float up and become the title of the box like you see in this video:

https://github.com/stakwork/sphinx-tribes/assets/32662508/1c04d832-c50e-4a4c-adc5-bee2414d1501

Acceptance Criteria

gouravmpk commented 10 months ago

Assign @ecurrencyhodler

VividhPandey003 commented 10 months ago

@ecurrencyhodler is this issue up for grabs? I would like to work on it

VividhPandey003 commented 10 months ago

@ecurrencyhodler, I had some doubts regarding this. So do you want the default text to only get displayed when the "Get description from github is selected. " or just everytime.

https://github.com/stakwork/sphinx-tribes/assets/91251535/7970c6b7-6e9b-43e9-aafa-a94494db54bd

Also this is how it looks like right now.

ecurrencyhodler commented 10 months ago

OH wow okay.

Text should only get displayed when "Get github description" is NOT selected. Text should disappear when user clicks inside the box.

Is there anyway to have the text appear below the "Description" text that eventually moves up to the top of the box?

VividhPandey003 commented 10 months ago

Text should only get displayed when "Get github description" is NOT selected. Text should disappear when user clicks inside the box.

Okay I'll add a check to that

Is there anyway to have the text appear below the "Description" text that eventually moves up to the top of the box?

I could add spaces so that it looks like it is below "Description" text

ecurrencyhodler commented 10 months ago

Okay cool. Post a screenshot and let's see how it looks.