Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add status filters to query to call bounty statuses for created bounties when viewing profile to query to call bounty statuses for created bounties when viewing profile #1571

Closed
4 tasks
ecurrencyhodler opened this issue Feb 28, 2024 · 3 comments · Fixed by #1575
Assignees
Milestone

Comments

@ecurrencyhodler
Copy link
Contributor

ecurrencyhodler commented Feb 28, 2024

Context

We want to enable the ability for users to filter bounties when viewing the assigned bounties on their profile.
Screenshot 2024-02-28 at 1 29 30 PM

Add status filters to query to call a person's specific bounty and filter the bounties based on status:

  • Open
  • Assigned
  • Paid

Here is the call: r.Get("/wanteds/created/{uuid}", bountyHandler.GetPersonCreatedBounties)
https://github.com/stakwork/sphinx-tribes/blob/master/routes/people.go

Acceptance Criteria

  • I've tested on Chrome
  • I've created a test that asserts that the endpoint accepts search query, limits query, and bounty status
  • I have rebased and tested locally before submitting my PR
  • I can submit a pr within 2 days of taking the bounty

Here is an example backend test

@ecurrencyhodler ecurrencyhodler added this to the Feb '24 milestone Feb 28, 2024
@ecurrencyhodler ecurrencyhodler changed the title Create endpoints to call bounty statuses for created bounties when viewing profile Add optional word clause to query to call bounty statuses for created bounties when viewing profile Feb 28, 2024
@AbdulWahab3181
Copy link
Contributor

@ecurrencyhodler could you please assign me?

@ecurrencyhodler
Copy link
Contributor Author

Bounty is yours abdul: https://community.sphinx.chat/bounty/1598

@ecurrencyhodler ecurrencyhodler changed the title Add optional word clause to query to call bounty statuses for created bounties when viewing profile Add status filters to query to call bounty statuses for created bounties when viewing profile to query to call bounty statuses for created bounties when viewing profile Feb 29, 2024
@ecurrencyhodler
Copy link
Contributor Author

Paid 200k sats! https://community.sphinx.chat/bounty/1598

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
2 participants