-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Suggestion: Add UI treatment to default and protective branches #5776
Comments
@tierninho Thanks for raising these! When we think about the problems here, do you think they're the same or are there maybe two separate ones? Here's how I'm thinking about them just as initial gut reaction:
On that one, my initial reaction was "oh yeah, that seems good" but then I couldn't really point to why. Do you have thoughts on what that additional context provides? Like why do they care?
This seems like a far more obvious "why" as it seems like it'd be helpful in at least letting people know ahead of time that they might be in for some pain later on unless they do something different (like move to a unprotected branch now before starting their work). Thoughts? |
@billygriffin Thanks for the helpful feedback on this issue.
|
I'm going to roll this into #4482 as I think they shouldn't be considered in isolation. The primary question we want to answer is how we deal with protected branches and ensuring that Desktop users have the information they need to be successful (both in getting the right error messages and in not getting into a painful place in the first place). |
Enhancement suggestion: As it can be unclear to the user that the current branch they are working on is the default or a protective branch, I suggest we show a
default
badge next to the respective branch name in the below pic. Alternatively, we could change the text color.Also, we should have a 🔒icon or similar to respective protected branches. No UI treatment currently exists for this... instead we get a over-the-top error message like so. (Note, this could co-exist with the
default
badge, btw.)Why do it? To add an extra layer of communication to the state of each branch being worked on by the user.
The text was updated successfully, but these errors were encountered: