freeCodeCamp / freeCodeCamp/devdocs

Desktop PWA lacks forward/back navigation controls

Đang mở
#1,443 1 bình luận 2 reaction 0 người được giao Xem trên GitHub
improvement
Ngôn ngữ chính
Ruby
Star
39.5k
Fork
2.6k
Merge trung bình
4 ngày 32 phút
Pull request đã merge (30 ngày)
13

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.