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

Implement the status filter on the org homepage #1313

Closed ecurrencyhodler closed 8 months ago

ecurrencyhodler commented 9 months ago

Context

Implement the status filter on the org homepage. It should include:

Also make sure that when a user clicks on status, it fires the correct API call and parameters.

The default filter should show bounties of all statuses, all skills (which should be 0 skills selected), and newest bounty first.

Design

Here is the design in figma. Use dev mode if needed. Group 399

Acceptance Criteria

AbdulWahab3181 commented 9 months ago

@ecurrencyhodler could you please assign me this task when it's unblock?

ecurrencyhodler commented 9 months ago

Hey abdul! You have 2 pending bounties. Let's focus on those first.

Ekep-Obasi commented 9 months ago

@ecurrencyhodler I can help with this Can you assign me

gouravmpk commented 9 months ago

I can take this

ecurrencyhodler commented 9 months ago

Both of you have several bounties open.

Ekep let's focus on getting your sort by PR merged and then edit organization one.

jordan-ae commented 9 months ago

@ecurrencyholder I Can take this. One of my PR's is in review and I'm closing in on the second one

MahtabBukhari commented 9 months ago

Could you assign me @ecurrencyhodler?

ecurrencyhodler commented 9 months ago

@MahtabBukhari this is yours. @okhot you have another you requested. you can take that one.

MahtabBukhari commented 9 months ago

Thank you @ecurrencyhodler

MahtabBukhari commented 9 months ago

Hi @ecurrencyhodler, I would like to confirm whether I only need to implement an API call when the user clicks on the STATUS button with default parameters, or if I also need to implement API calls for the 'Open,' 'Assigned,' 'Completed,' and 'Paid' checkboxes when they are clicked?

ecurrencyhodler commented 9 months ago

Just the status button.

ecurrencyhodler commented 8 months ago

Hey @MahtabBukhari I tried testing this on staging and for some reason the bounties displays don't function like they do in your video. Did we have a regression? Can you take a look?

https://github.com/stakwork/sphinx-tribes/assets/32662508/c278b8bc-2934-4674-a8ac-cfefffcfd49d

MahtabBukhari commented 8 months ago

It's weird I think due to merging others code it's effected let me check it what is happening behind the seen. I will update you as soon as possible.

MahtabBukhari commented 8 months ago

Hi @ecurrencyhodler , It is working perfectly in my side at local environment you can see that video https://www.loom.com/share/850c81860e13415c8416bbf80b2c7daa

MahtabBukhari commented 8 months ago

Also the complete check box would be not work becuase at backend side there is no implimentation for that is present at backend only open, assign and paid is implemented yet but not for complete but in my work i have passed the complete parameter if in backend side it is impletemented then in frontend it will be automatically start working.

image

ecurrencyhodler commented 8 months ago

Hmmm okay. I'm going to have to create a separate issue then.

ecurrencyhodler commented 8 months ago

Looks like staging wasn't updated. Sorry about that. It's working now.

MahtabBukhari commented 8 months ago

Not a problem @ecurrencyhodler 😊