digitalfabrik / entitlementcard

App for 'Digitale Berechtigungskarten', generally benefit card for volunteers or socially vulnerable groups in Germany. App for Android & iOS + Backend + Administration Web Portal – 100% Open Source.
MIT License
36 stars 3 forks source link

Back button should transfer to search page #1705

Open Docmale opened 2 days ago

Docmale commented 2 days ago

Describe the bug When I tap a list item In the search mask for acceptance points in the app, I get the "detail page" fot the selected aqcceptance point, tapping the "back button" in the upper left corner I return to the search page but when jumping to the map and come back to "detail page" the "back button" in the upper left corner now transfers me to the map instead of the search page.

To Reproduce Steps to reproduce the behavior:

  1. See description

Expected behavior After visiting the location of the acceptance point on the map and return to detail page, the back button should transfer me to the search page

michael-markl commented 2 days ago

Can you clarify the steps? I don't quite get it yet.

What do you mean with "but when jumping to the map..."

Docmale commented 2 days ago

On the "detail page" you have a button "Auf Karte zeigen" tapping it you "jump" to the map showing the location of the acceptance point. From here you get back to the detail page by tapping the overlay. when now using the back button on the upper left corner you are transfered to the map instaed to the search page.

michael-markl commented 1 day ago

Okay, to summarize:

Steps for OUTCOME A:

Steps for OUTCOME B:

You seem to argue that OUTCOME A should be the same as OUTCOME B.

To me, this is working as expected. It might be confusing to the user, though, that clicking on "Show on map" actually closes the details page, and switches the tab in the root navigation layer of the app. Do you have a suggestion how to fix this flow (without completely changing the structure of the app :D )? Maybe, the label for the button should be "Close and highlight on map"? (I don't know if I like this change, though)

Docmale commented 1 day ago

"" It might be confusing to the user, though, that clicking on "Show on map" actually closes the details page, and switches the tab in the root navigation layer of the app. "" - No that works as expected. It's not my point: My point is that after returning to the details page from the map by tapping the store banner, the back button in (top) app bar of the details page transfers me to the map. It should transfer me to the search page as discusssed in https://chat.tuerantuer.org/digitalfabrik/pl/tftuz4rcet8k9y6n8j471meeje Since this is not a real bug but more or less a suggestion I leave the decision to the UI-UX team.

michael-markl commented 1 day ago

I do think that this is your point: You expect that the "map view" when clicking on "Show on map" is a subview of the details page (I would also expect that, if I only clicked on a button that says "Show on map"). But what actually happens is that the current view closes and the navigation of the app one hierarchy layer above switches from "Search" to "map".

Once I (as a user) would notice that this actually closed the details page, I would not expect that opening and closing the details page using the store's banner would lead me to the search page (as I only opened and closed the details page and I would expect to be brought back to the Map page).

Docmale commented 1 day ago

This is a classic case of different expectations of user guidance, you more from a technical perspective - I more from a user perspective. Since I don't have the authority to make decisions, I pass such questions on to my colleagues in UI-UX, who then decide how the app should work. In this case, I was asked to create a corresponding ticket.