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

Display qr code of provider when I click "I can help" when viewing bounty from org homepage #253

Closed ecurrencyhodler closed 8 months ago

ecurrencyhodler commented 8 months ago

Describe the bug When I go to an org homepage, click on a bounty, and click "i can help", the window automatically closes.

https://github.com/stakwork/sphinx-tribes-frontend/assets/32662508/f3b76daf-5fe9-4193-a6de-53d1247d914b

Expected behavior The QR code of the provider should display. It should look like this:

Screenshot 2024-02-15 at 9 33 32 AM

Acceptance Criteria

Here is an example unit test Here is an example component test

ColdMice commented 8 months ago

@ecurrencyhodler Can you assign this one to me?

AbdulWahab3181 commented 8 months ago

@ecurrencyhodler could you please assign me

aliraza556 commented 8 months ago

@ecurrencyhodler assign me?

ecurrencyhodler commented 8 months ago

Welcome back @ColdMice this is yours.

ColdMice commented 8 months ago
Screenshot 2024-02-16 at 12 33 56 PM

Noticed a Strange behaviour with goBack() function if I comment it I can see the qr for org bounties else It just goes back to org bounties with no qr @ecurrencyhodler

ColdMice commented 8 months ago

The problem seems to be the url it navigates to like if we goBack() => /bounties we see qr , while not visible if goBack() => /org/bounites/orguuid

ecurrencyhodler commented 8 months ago

Okay that's a good find. Can you put in a fix Coldmice and remove that behavior?

ColdMice commented 8 months ago

@ecurrencyhodler working on that boss, will raise a PR soon