You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
latest-tag-button, default-branch-button and list-prs-for-file are not fast/reliable enough #3673
These are 3 separate features but they affect the same area. I think they should be reviewed to understand why they're so slow and why latest-tag-button sometimes doesn't appear at all.
default-branch-button is the most annoying one because it's a simple feature with data that's easily available, it should be instant.
Activity
yakov116 commentedon Oct 21, 2020
Debugged
default-branch-buttonIf we move this
https://github.com/sindresorhus/refined-github/blob/017c17b36565186d87edb7618d781b0e87b206f3/source/features/default-branch-button.tsx#L19-L19
Before this
https://github.com/sindresorhus/refined-github/blob/017c17b36565186d87edb7618d781b0e87b206f3/source/features/default-branch-button.tsx#L13-L13
There is almost no jump at all. (not perfect but better then before)
fregante commentedon Oct 22, 2020
Makes sense! Any API calls should appear before
elementReady, or else we definitely wait too long.fregante commentedon Nov 18, 2020
Here's an error:
It can't find
#branch-select-menu. It happened on the root of a fork:https://github.com/fregante/refined-github