Firstly, thanks for the discussion yesterday:
I took the feedback and made a couple PRs:
What type of PR is this? (check all applicable)
- [ ] Refactor
- [x] Feature
- [ ] Bug Fix
- [ ] Documentation Update
target="_blank" to anchor tags if the page is being rendered by a desktop PWA. It seems like this is the appropriate functionality for a computer device, but touch screens should keep opening in the pseudobrowser.
Quick solution while we experiment with PWA functionality.
Now I'm curious about another PWA feature I haven't been able to track down.
We've implemented navigation buttons right into the DEV desktop PWA like such:
team pink mode 💕
They work easily enough using
window.history.back(); but right now, they have no "on/off" state because I'm not sure how to determine of a user "can go back or forward". I know that this is not available in the typical window API but given that we're responsible for the back button ourselves in PWA I was wondering if there is anything exposed that would help determine this?