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.

4 points

Works fine on Android (Firefox).

permalink
report
reply
3 points

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.

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
2 points

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.

permalink
report
reply
1 point

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.

permalink
report
reply
1 point

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.

permalink
report
reply

Programming.dev Meta

!meta@programming.dev

Create post

Welcome to the Programming.Dev meta community!

This is a community for discussing things about programming.dev itself. Things like announcements, site help posts, site questions, etc. are all welcome here.

Links

Credits

  • Icon base by Lorc under CC BY 3.0 with modifications to add a gradient

Community stats

  • 249

    Monthly active users

  • 224

    Posts

  • 2.5K

    Comments