Page MenuHomePhabricator

Nearby button still marked active when collapsing and reopening the map
Closed, ResolvedPublic1 Estimated Story Points

Description

The nearby layer vanishes when collapsing the map and is still gone when expanding, but the button is still marked as active.

Nearby Button Pressed.gif (896×1 px, 1 MB)

The button should reset as soon as the map is collapsed.

Event Timeline

I would like some UX expertise on the question if we should simply reset the button or maybe do something else. Because the current behaviour for other actions is to keep the user actions. If you for example move the map around, close the full screen view and open it back up again, the map shows the last area and not the one from the start. Same thing happens with the other button in the footer (the external maps icon). That also displays the last state after closing and reopening. Only reloading the page does reset both. Deactivating the nearby button and not showing the nearby points after closing the map would than be different from these two behavious. Is that what we want, @ECohen_WMDE? I added a screencast to our meeting notes (too big for phabricator it seems).

Screenshot from 2022-08-25 15-46-24.png (601×501 px, 42 KB)

Change 826947 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/Kartographer@master] Reset "show nearby articles" button state on close

https://gerrit.wikimedia.org/r/826947

thiemowmde set the point value for this task to 1.

Change 826947 merged by jenkins-bot:

[mediawiki/extensions/Kartographer@master] Reset "show nearby articles" button state on close

https://gerrit.wikimedia.org/r/826947