deltachat / deltachat-android

Email-based instant messaging for Android.
GNU General Public License v3.0
1.12k stars 147 forks source link

webxdc: pressing "back" button closes the app instead of navigating within it #2530

Closed WofWca closed 1 year ago

WofWca commented 1 year ago

I think this may have to do with the fact that the app is opened inside the iframe.

It's probably the same for iOS, but I didn't test.

Related: https://support.delta.chat/t/webxdc-desktop-navigation-buttons-back-forward/2506?u=wofwca

r10s commented 1 year ago

It's probably the same for iOS, but I didn't test.

no.

neither iOS nor desktop have "back buttons" comparable to android.

this issue was discussed before, and it was decided, that navigation inside the apps should work without relying on back button for now. so, eg. using dialogs, close upper right, buttons tabs, etc. at best, nothing that can be mixed with "back".

pwa have similar issues, with similar approaches, at least partly, see eg. https://dockyard.com/blog/2017/11/09/designing-for-pwas-without-the-back-button for a "forward style" avoiding "dead ends"

this is not always possible and sometimes hard, however, for small apps, this is usually doable.

we may think that over, at some point, sure. however, vikunja as a multi-feature-app is also not the best example, as we tend to avoid multi-feature-app for webxdc for now.

closing this issue here now as there is no clear actionable item for android. just adding "back" on android would raise new issues. this has to be discussed on a broader level first. timing wise, when the other pending webxdc questions are solved. of course, discussion can also continue here.

in between, we could add a hint to the docs.