-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different UI when opening master branch and a different branch (with branch diff message) #15
Comments
Uh oh It's impossible to say where am I by just looking at this link: it can be "tor" folder of "feature"-branch (the most common case) or it can be the root of the "feature/tor"-branch (your case). At the moment, the script is configured for the most common case, so that no fixes for the repository root are applied to this page. But don't worry, as always I have an idea how to fix it by few more heuristics :) |
Oh, I thought that this branch name might cause problems! But catching rare cases is good too (: |
Jokes on you, of course it is!) Well, I can get branches from the branch-button content: let branches = [...document.querySelectorAll("#ref-list-branches > .SelectMenu-list > a > span:not(.Label)")].map(x => x.innerText.trim()); I hope that at least no one uses the "/" character for tag names xD |
Hello! Thank you for quick version 2, and that's me once again telling about bugs (:
This bug appears when opening a branch different from master, the layout changes to something mixed between old and new style (actually it looks not bad :D, but commits link and some other stuff is hidden).
I can't seem to reproduce this on third-party repos, I can only reproduce it only on my repos, so looks like it is caused by "Recent pushes on some branch" message though I don't see it.
Link to the branch if it shows for you too
Version 2.0
Screenshots:
Default branch:
PR branch:
The text was updated successfully, but these errors were encountered: