sindresorhus/refined-github

Improve support for Firefox Mobile #1496

aramperes posted onGitHub

There are a few issues when using the add-on on the Firefox Mobile browser.

I think it would be useful to improve the mobile site in general.

General

  • Add mobile detection (#1497)
  • Disable hotkey features on mobile

User Profile

  • Gists are not linked (#1497)
  • "Followers you know" isn't shown

User Issues / PRs

  • "Yours" and "Commented" tabs are not displayed (add-yours-menu-item & add-commented-menu-item)

Repository

  • 'More' repository navigation items don't display correctly
  • Reaction avatars are not shown
  • CI check isn't shown
  • Default branch link isn't shown
  • "Compare" and "Dependencies" pages show the desktop site¹
  • Comment "time machine" isn't shown
  • "Copy Path" button isn't shown
  • No way of viewing raw markdown file
  • "Original Poster" label isn't shown (op-label)
  • "Projects" tab isn't hidden when there are no projects in a repo (remove-projects-tab)
  • No way of uploading attachments to issue (upload-button)
  • Issue close cause (Closed in ...) isn't shown

Code Diff

  • Cancelling inline comments does not show warning (add-confirmation-to-comment-cancellation)
  • Options for Unified/Split and "No whitespace" are not shown

  1. This appears to be the default GitHub behavior, because these pages are not normally accessible on the mobile site. If they are kept linked in Refined Github, they should be made mobile friendly.

I'm sorry but the mobile site is out of scope for Refined GitHub. We already have way too much to maintain with the desktop site.

@sindresorhus now that IOS is being supported does this issue get to be reopened?

posted by yakov116 over 3 years ago

This issue is unrelated. This was about supporting the separate (now defunct) mobile web version of GitHub. What we have today on mobile is just the desktop version optimized for mobile. I suggest opening a new issue.

posted by sindresorhus over 3 years ago

Generally I've been trying to ensure features don't break in the mobile view — if I remember to check.

Often they still need custom implementations or we just have to deal with the fact that some features will not work on mobile. For example GitHub does not let you delete branches on mobile, so rename/clone is also out of the question.

posted by fregante over 3 years ago

Fund this Issue

$0.00
Funded

Pull requests