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

Fix url regression in org url page when viewing a bounty. #998

Closed ecurrencyhodler closed 11 months ago

ecurrencyhodler commented 11 months ago

Describe the bug When viewing the org bounty page viewing a specific bounty, the url has switched to https://people-test.sphinx.chat/org/bounty/789 instead of https://people-test.sphinx.chat/bounty/789.

When https://people-test.sphinx.chat/org/bounty/789 is entered independently, this sends people to a 404 page.

Screenshot 2023-11-25 at 11 55 37 AM

This was most likely introduced by #966

Let's have it so that when I click to view a bounty, the correct url is displayed: https://people-test.sphinx.chat/bounty/789.

ecurrencyhodler commented 11 months ago

@Jeezman looks like we missed this during testing. Would you be able to take a look at this?

gouravmpk commented 11 months ago

Assign Is it fine ?? @ecurrencyhodler

https://github.com/stakwork/sphinx-tribes/assets/20900042/eb5edf18-c306-4d41-ac9c-f8342c4d9a85

ecurrencyhodler commented 11 months ago

@gouravmpk The video shows you are on the home page not viewing from an organization page. This issue is specifically discussing looking at a bounty from an organization page.

gouravmpk commented 11 months ago

What's the flow of the UI? Can you tell me ! so that I can check if this change works or not @ecurrencyhodler

ecurrencyhodler commented 11 months ago

@gouravmpk Let's have @Jeezman handle this because he has more context. You can work on a different bounty!