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
11 stars 42 forks source link

Persist Bounties Filters Selection. #564

Open elraphty opened 1 month ago

elraphty commented 1 month ago

Describe the bug

Currently, after filters are selected on the bounties page if a user leaves the page and returns, the filter is cleared and returned to the default filter Open, the user has to select the filters again which is bad for UX.

https://www.loom.com/share/f96f5824d48146b0acef870e91a3d34a

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://community.sphinx.chat/bounties
  2. Click on the filters Icon and select the Assigned and Paid filters.
  3. Navigate to https://community.sphinx.chat/p
  4. Return to https://community.sphinx.chat/bounties
  5. And the filter will be cleared.

Expected behavior

We want to persist the filters so that when a user returns to the bounties page they can continue from where they stopped without having to reselect the filters

Acceptance Criteria

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

ManyRios commented 1 month ago

Hey @aliraza556 is this available?

aliraza556 commented 1 month ago

@ManyRios, Sorry, No already assign @elraphty