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

Sort projects by name and date #600

Open
1 of 5 tasks
NicoSerranoP opened this issue Jan 20, 2025 · 0 comments
Open
1 of 5 tasks

Sort projects by name and date #600

NicoSerranoP opened this issue Jan 20, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request frontend Frontend related only

Comments

@NicoSerranoP
Copy link
Member

Prerequisites

Please answer the following question for yourself before submitting a feature request.

  • I checked to make sure that this request has not already been filed

Motivation

We need to make the projects list sortable by name (ascending and descending) and creation date (ascending and descending)

Details

  • Check the most efficient way to sort the projects list (I think that modifying it here packages/interface/src/utils/fetchProjects.ts)
  • Modify packages/interface/src/components/SortFilter.tsx to send the sort values to the upper component (packages/interface/src/features/rounds/components/Projects.tsx)
  • Modify useSearchProjects hook in packages/interface/src/features/projects/hooks/useProjects.ts to accept sort values
  • Create sort logic

Make sure that you have reviewed MACI's Contributor Guidelines

@NicoSerranoP NicoSerranoP added enhancement New feature or request frontend Frontend related only labels Jan 20, 2025
@kalidiagne kalidiagne self-assigned this Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend Frontend related only
Projects
Status: No status
Development

No branches or pull requests

2 participants