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

Implement "sort by" in the bottom half of the dashboard #1012

Closed
2 tasks
ecurrencyhodler opened this issue Nov 27, 2023 · 10 comments
Closed
2 tasks

Implement "sort by" in the bottom half of the dashboard #1012

ecurrencyhodler opened this issue Nov 27, 2023 · 10 comments
Assignees

Comments

@ecurrencyhodler
Copy link
Contributor

ecurrencyhodler commented Nov 27, 2023

The default selection when viewing bounties is newest to oldest. But also add the ability to see oldest to newest.

Create a dropdown menu that says "newest" first and then "oldest" second when they click on "date".

Technical details

You can use the following query parameter: created&direction=DESC&open=true&assigned=true&paid=true

The second part of this parameter includes the status of the bounty. Don't worry about setting the status of tickets for now. Just default to all as true as that is the default query.

Design

Here is the design. Here's the link to figma. Use devmode for exact requirements. We want this to be pixel perfect.
Dashboard button Super Admin filter

Bounties V1 (5)

Acceptance Criteria

  • I've tested on Chrome
  • I've posted a video of sorting oldest and newest

@elraphty will create a separate ticket to create mockdata and a unit test for this component.

@VividhPandey003
Copy link
Contributor

Hey @ecurrencyhodler , I wanted to have a look on the superadmin v1 codebase. Could you please tell me more about it wrt this issue

@ecurrencyhodler
Copy link
Contributor Author

Hey vividh! This issue is currently blocked so it's not ready to go yet. You can see the "blocked" label on the issue.

Take a look at our home page to find some bounties you can take! https://community.sphinx.chat/bounties

@VividhPandey003
Copy link
Contributor

oh okay, didn't notice that. Thanks for informing

Hey vividh! This issue is currently blocked so it's not ready to go yet. You can see the "blocked" label on the issue.

Take a look at our home page to find some bounties you can take! https://community.sphinx.chat/bounties

@Ekep-Obasi
Copy link
Contributor

@ecurrencyhodler
Please could you assign this to me?

@ecurrencyhodler
Copy link
Contributor Author

One second. We are still missing design for this. Should be able to get it to you in the next couple of days.

@Ekep-Obasi
Copy link
Contributor

@ecurrencyhodler
Got it.
I'll be watching my inbox for the design

@kapildadhich075
Copy link

hi, @ecurrencyhodler I would like to work on this issue, can you please assign me to this?

@ecurrencyhodler
Copy link
Contributor Author

@Ekep-Obasi we are good to go! The description in the issue has the update design.

@Ekep-Obasi
Copy link
Contributor

@elraphty on the admin page I keep receiving 401 API response
Could you help?

@elraphty
Copy link
Contributor

@elraphty on the admin page I keep receiving 401 API response Could you help?

All 401 errors are related to token issues, @Ekep-Obasi what endpoint are you hitting, and are you signed in?

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

5 participants