Skip to content

Sort projects by name and date #600

@NicoSerranoP

Description

@NicoSerranoP

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestfrontendFrontend related only
No fields configured for Feature.

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions