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

[BUG] Fix Load More Bounties on Assigned and Bounties Pages #499

Closed elraphty closed 5 months ago

elraphty commented 5 months ago

Describe the bug

Currently, when we click on the Load More button on the Assigned/Created bounties on the user profile page, it loads new bounties but does not retain bounties from the previous page.

We want to load more bounties and retain the bounties from the previous page, so store the bounties in a Javascript array, and when Load More is clicked append the new bounties to the Array.

Steps To Reproduce

Loom Video

https://www.loom.com/share/7118bdcfd85543799b45c8b23de5e33c

Acceptance Criteria

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

elraphty commented 5 months ago

@aliraza556 comment on this

aliraza556 commented 5 months ago

@elraphty, Please assign me