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

Bounties list resets to the first page after closing a bounty, causing previously loaded items to disappear #1881

Open tomsmith8 opened 1 month ago

tomsmith8 commented 1 month ago

Describe the bug

When navigating through the "Assigned Bounties" list to find previously created bounties, after selecting and viewing a bounty's details, closing the bounty (using the X button) causes the bounties list to reset to the first page. The user must tap "LOAD MORE" multiple times again to return to where they were previously in the list. In some cases, bounties may disappear from the list after reloading, even when using the "LOAD MORE" button, requiring a page refresh to find them again.

Steps to reproduce the behavior:

  1. Go to the "Assigned Bounties" list.
  2. Tap "LOAD MORE" multiple times to search for a specific bounty.
  3. Tap on a bounty to view its details.
  4. Close the bounty by tapping the X button at the top right corner.
  5. Notice that the list has reset to the first page, and previously loaded bounties may not reappear.

Expected behavior

Acceptance Criteria

humansinstitute commented 1 month ago

@elraphty have you had a look at this one yet? i'm going to pick up the bounty and setup once I have access.

elraphty commented 1 month ago

@elraphty have you had a look at this one yet? i'm going to pick up the bounty and setup once I have access.

I'm looking at it now, I just finished merging the payment-related PRs.