Noticed you can save the programming.dev site as an app on iOS (add to Home Screen). When you do this though, there doesn’t seem to be a “back” button or anything similar. So when you navigate to read post comments, you can’t get back to the list of threads.

Thought maybe a swipe left would work, but no luck.

No biggie, just something to consider in the site design.

  • @canpolat
    link
    English
    41 year ago

    Works fine on Android (Firefox).

    • ruffsl
      link
      English
      31 year ago

      Yea, luckily Android can use the back navigation gesture in the PWA to traverse the site much like a browser tab’s history. Android even has the lesser know forward navigation as well: handy when you accidentally pressed the back navigation gesture, but don’t want to have to find the link you clicked before to get back to the same page you backed out of.

      I wish the website or PWA had more of a short term memory about the state of pages you visit. As when I go back and forth posts and feeds, I have to return the content sort option back to what I was using before I left the comment section, as well as re-minimize the same comment threads, even if those comment subtrees never changed sence I folded them previously.

    • 𝒍𝒆𝒎𝒂𝒏𝒏
      link
      fedilink
      English
      11 year ago

      We have a hardware back button but iOS doesn’t 🙃

      OP might have better luck using the Voyager or Wefwef webapp on their device, iirc that includes a back button in its UI

  • ruffsl
    link
    English
    21 year ago

    Not sure how to help on iOS. Perhaps you could modify the manifest file for the PWA, before installing it, and change the display property to something other than fullscreen or standalone, so that the browser navigation bar is retained, but at that point, might as well use the browser anyway.

    https://developer.mozilla.org/en-US/docs/Web/Manifest/display

    Perhaps you could file a ticket on the Lemmy UI repo about iOS PWA navigation? Although, surely iOS web devs must have a solution to such a common UI pattern.

  • @Standroid
    link
    English
    11 year ago

    Seems to work for me. Inside a thread theres always a back button on the top left and swiping on the post itself also returns to the list.

  • @[email protected]OP
    link
    fedilink
    English
    111 months ago

    Figured this out (or maybe something changed in the PWA code) — if you swipe left to right from the very edge of the screen, it goes back.

    You practically have to start your swipe on the bezel of the phone, but it works.