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(services-jeunes): filtre par catégorie #3342

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sokl-octo
Copy link
Contributor

@sokl-octo sokl-octo commented Sep 25, 2024

Dépriorisé : À faire après les développements de la campagne sur l'apprentissage

@sokl-octo sokl-octo removed the blocked label Oct 23, 2024
@sokl-octo sokl-octo force-pushed the UNJ1S-1937-page-service-jeune-avec-champs-de-selection branch 6 times, most recently from be03a38 to 93a9afd Compare October 29, 2024 16:02
@sokl-octo sokl-octo force-pushed the UNJ1S-1937-page-service-jeune-avec-champs-de-selection branch 2 times, most recently from 755283e to 645b44d Compare November 5, 2024 10:36
@sokl-octo sokl-octo marked this pull request as ready for review November 5, 2024 10:36
@sokl-octo sokl-octo changed the title WIP(services-jeunes): exploration sélection champs avec étiquettes cliquables feat(services-jeunes): filtre par catégorie Nov 5, 2024
src/client/components/useRouter.mock.ts Outdated Show resolved Hide resolved
src/client/components/useSearchParams.mock.ts Outdated Show resolved Hide resolved
src/pages/services-jeunes/index.module.scss Outdated Show resolved Hide resolved
Comment on lines 34 to 40
jest.mock('next/navigation', () => ({
usePathname: jest.fn().mockReturnValue('/services-jeunes'),
useSearchParams: () => ({
getAll: jest.fn().mockReturnValue([]),
}),
}));

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tu peux t'inspirer de mockUseRouter pour intégrer ça directement dans une fonction mockSearchParams nan ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C'est possible oui, je vois ça à mon retour après avoir réimplémenter une version avec URLSearchParams

src/pages/services-jeunes/index.page.test.tsx Outdated Show resolved Hide resolved
src/pages/services-jeunes/index.page.tsx Outdated Show resolved Hide resolved
src/pages/services-jeunes/index.page.tsx Outdated Show resolved Hide resolved
src/pages/services-jeunes/index.page.tsx Outdated Show resolved Hide resolved
src/pages/services-jeunes/index.page.tsx Outdated Show resolved Hide resolved
src/pages/services-jeunes/index.page.tsx Outdated Show resolved Hide resolved
@sokl-octo sokl-octo force-pushed the UNJ1S-1937-page-service-jeune-avec-champs-de-selection branch from 645b44d to 40db044 Compare November 5, 2024 13:13
@sokl-octo sokl-octo force-pushed the UNJ1S-1937-page-service-jeune-avec-champs-de-selection branch from 40db044 to 24888b9 Compare November 5, 2024 16:10
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.

2 participants