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

Feat: add project sorting by sector #1592

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

dolemoine
Copy link
Collaborator

@dolemoine dolemoine commented Jan 29, 2025

Cette pull request se concentre sur l'introduction d'une nouvelle méthode de filtre et la modification de la logique de tri des projets.

Mises à jour du store des filtres :

  • Ajout d'une nouvelle méthode isCompanyDataSelected au store des filtres pour vérifier si les données de l'entreprise sont sélectionnées. [1] [2]

Simplification et refactorisation du code :

  • Simplification des déclarations d'importation dans projectFilter.ts en consolidant les imports du même module.
  • Suppression de la méthode inutilisée byPrograms de la classe ProjectFilter.
  • Modification de la classe ProjectSorter pour inclure un mécanisme de tri conditionnel basé sur le filtre isCompanyDataSelected.

@dolemoine dolemoine self-assigned this Jan 29, 2025
Updated project sorting functionality to include a new method for sorting by sector when company data is selected. Refactored existing code to improve reusability and integrate the sector-based sorting across multiple components. Enhanced UI by adding badges for sector count and priority in project cards.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant