freeCodeCamp / freeCodeCamp/devdocs

Desktop PWA lacks forward/back navigation controls

未关闭
#1,443 1 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
improvement
主要语言
Ruby
星标
39.5k
派生
2.6k
平均合并
4 天 32 分钟
30 天内合并 PR
13

描述

On mobile, devdocs shows in-HTML navigation controls by unhiding them on load. When installed as a PWA, these become more important because the browser navigation controls are no longer available. (Mobile users can issue a system "back" which is likely far more popular than the in-HTML back) When installed as a PWA on desktop, the viewport is typically too big to trigger the unhiding of in-HTML controls and thus the app lacks any graphical navigation controls.

This seems like an edge case to me because many devdocs users will have hardware navigation buttons on their mouse or be familiar with their browsers keyboard shortcuts that still work in the PWA (alt+left/right arrow keys). Yet, is likely someone out there that could be displeased or confused by the lack of navigation GUI.

I think the fix for this is to detect if devdocs is running as a PWA on launch and unhide the navigation controls.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。