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
Highlight the non-default branch in files/folder views #7679
If you visit this page it's not immediately clear that it's not the default branch. You might wander a bit until you realize you're looking at an old commit.
I think we should alter default-branch-button or add a new feature like highlight-non-default-base-branch.
Note that we already do this in clean-conversation-headers in PRs
Thanks! But I'm not quite sure what you mean with the crossed-out text, the default branch name (or a truncated default branch name) should be able to fit on any screen size.
Activity
Andrew6rant commentedon Aug 18, 2024
Maybe add the name of the default branch to the
default-branch-buttonand highlight the current branch?Here's how it'll look using the colors of the right sidebar's topics bubbles:
fregante commentedon Aug 18, 2024
I like that color! But we can’t add the branch name
because space is always limited there, unless we limit it to:large displaysonly some pages (this button also appears in the sidebar and in the sticky header on files like this)Andrew6rant commentedon Aug 19, 2024
Thanks! But I'm not quite sure what you mean with the crossed-out text, the default branch name (or a truncated default branch name) should be able to fit on any screen size.