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
At the moment, the only way to find out if a branch has an associated stash is to check that branch out. Providing branch stash information in the branches list will reduce the number of steps required to determine if a branch has an associated stash.
For now, I think we can use the notification dot pattern we use elsewhere in the app to lead the user to the action that should be completed.
Once the branch with the notification dot is clicked, the dot could appear next to the action that would complete the workflow.
I agree that the problem exists, but I'm not sure I like the dot as a solution, as the dot indicates otherwise that a repo has changes in progress and not yet committed, and I think it could be confusing for the same icon to be used for different concepts. Since we have an icon next to "Stashed changes" in the UI already, we could make use of that in some respect, or some other mechanism. I'd love to hear from @desktop/design on this though.
I'm not married to having a dot as a notifier. The dot has had several meanings in the past. An example is the current branch being behind the remote (notification of divergent branches). So I don't fully agree that reusing a dot is confusing, but my view on these dots have always bean along the lines of "hey, something has changed and we suggest you take a look", not that a repo has changes in progress and not yet committed.
It seems we are in agreement on the actual problem and the need for some design input, so I'm good 👍
I like that! I think the files changed is a nice touch. I'd lean towards the mockup on the left since it states how many files have changed. I worry that the mockup on the right doesn't contain enough context for the user to know what those numbers mean.
Adding onto @tierninho's comment above, I'm not sure we should look at this in isolation. I can think of five primarily things about branches that would be helpful to know at a glance (maybe more I'm not thinking of).
When was the last time someone committed to this branch?
Here's another example of contextual information that someone would like to see for branches: #1977
I guess my question becomes how we convey that context in a way that makes it obvious the state of the branch, and whether all of that is necessary or just some of it (and priority). Thoughts?
Reacted by cypress evelyn masso, Don Okuda and Amanda Pinsker
+1 to @billygriffin and @tierninho 's point that this should be looked at holistically. i don't think there's an urgent need to push this change out without spending more time thinking about the larger problem and context.
Reacted by Tiernan L, Don Okuda, Amanda Pinsker, Billy Griffin and William Shepherd
When looking at Github.com, these are the features of a branch that one can view. While we do not need to mirror Github.com, we do have the opportunity to include some of this data to further enhance our branches tab.
Activity
billygriffin commentedon Jun 10, 2019
I agree that the problem exists, but I'm not sure I like the dot as a solution, as the dot indicates otherwise that a repo has changes in progress and not yet committed, and I think it could be confusing for the same icon to be used for different concepts. Since we have an icon next to "Stashed changes" in the UI already, we could make use of that in some respect, or some other mechanism. I'd love to hear from @desktop/design on this though.
outofambit commentedon Jun 10, 2019
💯 yeah this would be my vote!
i think this is a worthwhile thing to tackle, too!
iAmWillShepherd commentedon Jun 10, 2019
I'm not married to having a dot as a notifier. The dot has had several meanings in the past. An example is the current branch being behind the remote (notification of divergent branches). So I don't fully agree that reusing a dot is confusing, but my view on these dots have always bean along the lines of "hey, something has changed and we suggest you take a look", not that a repo has changes in progress and not yet committed.
It seems we are in agreement on the actual problem and the need for some design input, so I'm good 👍
donokuda commentedon Jun 12, 2019
Thinking through this a little more, maybe an iteration we can try is grouping branches with stashes under a section:
If the grouping isn't enough, then there might be something we can visually do to differentiate them from the rest of the list:
iAmWillShepherd commentedon Jun 13, 2019
@donokuda
I like that! I think the files changed is a nice touch. I'd lean towards the mockup on the left since it states how many files have changed. I worry that the mockup on the right doesn't contain enough context for the user to know what those numbers mean.
What do y'all think, @billygriffin @ampinsk ?
tierninho commentedon Jun 13, 2019
Might as well toss in another category from a previous
future-proposalfor "branches with pull requests" #3520billygriffin commentedon Jun 14, 2019
Adding onto @tierninho's comment above, I'm not sure we should look at this in isolation. I can think of five primarily things about branches that would be helpful to know at a glance (maybe more I'm not thinking of).
Here's another example of contextual information that someone would like to see for branches: #1977
I guess my question becomes how we convey that context in a way that makes it obvious the state of the branch, and whether all of that is necessary or just some of it (and priority). Thoughts?
outofambit commentedon Jun 14, 2019
+1 to @billygriffin and @tierninho 's point that this should be looked at holistically. i don't think there's an urgent need to push this change out without spending more time thinking about the larger problem and context.
tierninho commentedon Jun 29, 2019
When looking at Github.com, these are the features of a branch that one can view. While we do not need to mirror Github.com, we do have the opportunity to include some of this data to further enhance our branches tab.
outofambit commentedon Jul 1, 2019
I also want to cross-reference this with #5155 (revisiting the recent branches list) as I think that would be worth considering as part of this work.
billygriffin commentedon Jul 31, 2019
I'm going to close this issue in favor of #8048. Thanks @tierninho!