Skip to content

P3 a- Read more information about a point in search result

As a user, I search a term in decidim and see a map. In this map, I can hover a point and see its title. On click, I scroll to the search result.

If the search is not present on the page because of pagination, I am redirected directly to the url content.

Validation Use Case

Given an assembly "Cycling Assembly", that is scoped in the "center" space.
Given "Cycling Assembly" having in-person meetings this next week, and some geographical proposals.
Given "Night Riding" proposal in the Cycling assembly that is geo-encoded in the "center" space
I Search "Night" in search.
Then I hover "Night Riding" point, see "night riding" label. Then I click on the point, and I scroll to the "Night Riding" search result.


Given an assembly "Cycling Assembly", that is scoped in the "center" space.
Given "Cycling Assembly" having in-person meetings this next week, and some geographical proposals.
Given 100 geo-localized proposals in the cycling assembly that start with the ANight title and in the "center" space.
Given "Night Riding" proposal in the Cycling assembly that is geo-encoded in the same space that "center"
I Search "Night" in search.
Then I hover "Night Riding" point, see "night riding" label. Then I click on the point, I am directly redirected to the night riding proposal. (as it has been paginated).

Frontend tasks

  • Find item in dom and scroll to it on marker click

Notion: https://www.notion.so/P3-a-Read-more-information-about-a-point-in-search-result-915b7403b21048fcaade660749721214

Points: Non défini

Edited by Tim Izzo