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 optional word clause to query to call bounty statuses for assigned bounties when viewing profile #1570

Closed
4 tasks
ecurrencyhodler opened this issue Feb 28, 2024 · 9 comments

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 22 15 PM

Add an optional word clause to query to call a person's specific bounty and filter the bounties based on status:

  • Assigned
  • Paid

Here is the call: r.Get("/wanteds/header", handlers.GetWantedsHeader)
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 moved this from 🆕 New to 🧨 To Do in Bounties Platform Feb 28, 2024
@ecurrencyhodler ecurrencyhodler added this to the Feb '24 milestone Feb 28, 2024
@Jagmohan2k
Copy link

Assign me @ecurrencyhodler

@ecurrencyhodler
Copy link
Contributor Author

Hey @Jagmohan2k I took a look at your profile and it looks brand new with 0 contributions. Do you have any work you can share? I'd like to see 3 projects of some sort before assigning you a bounty.

@jordan-ae
Copy link
Contributor

@ecurrencyhodler i can help with this

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

@ecurrencyhodler could you please assign me?

@ecurrencyhodler
Copy link
Contributor Author

@jordan-ae
Copy link
Contributor

@ecurrencyhodler Is there any design available for the filters? Or should I just add generic filters to the top of the page

@ecurrencyhodler
Copy link
Contributor Author

This is purely a backend change.

@jordan-ae
Copy link
Contributor

ooppss... didn't get the memo right then. I'm not fluent with Go 🙏🏽 you can reassign thanks

@AbdulWahab3181
Copy link
Contributor

@ecurrencyhodler Could you please assign me, I will create a PR in few hours.

@ecurrencyhodler ecurrencyhodler closed this as not planned Won't fix, can't repro, duplicate, stale Feb 29, 2024
@github-project-automation github-project-automation bot moved this from 🧨 To Do to ✅ Done in Bounties Platform Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

No branches or pull requests

4 participants