Skip to content

fix(search): refactor header search and SearchComponent - #1500

Open
abulte wants to merge 2 commits into
mainfrom
fix/search/empty
Open

abulte wants to merge 2 commits into
mainfrom
fix/search/empty

Conversation

@abulte

@abulte abulte commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Fix #1480
Fix ecolabdata/ecospheres#1304

This started by fixing the "empty search impossible" bug on SearchComponent (because of the wrong fix for the double Enter bug from vue-dsfr) and ended up in refactoring header search to use the search component from vue-dsfr (because there was a display bug — grey icon on hover — due to wrong markup).

We're now aligned with dsfr's way of showing search on mobile: show a dedicated search icon and modal. vue-dsfr still doesn't support having only the search field in the modal, so we still need a css fix for that.

This also removes vestigial stuff like the custom-search prop.

Capture d’écran 2026-11-30 à 09 02 55

@abulte

abulte commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

/deploy ecospheres

@abulte

abulte commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

/deploy culture

This branch was successfully deployed

2 active deployments
culture-preview — 76983245 Deployed Nov 30, 2026 by github-actions[bot]
ecospheres-preview — 76983245 Deployed Nov 30, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

verticale-culture Spécifique à la verticale culture

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refacto search header [Recherche] Absence d'action lors d'une recherche sans saisie

1 participant