Skip to content
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

Improve history overview #245

Closed
weihwang opened this issue Oct 15, 2018 · 12 comments
Closed

Improve history overview #245

weihwang opened this issue Oct 15, 2018 · 12 comments
Assignees
Projects
Milestone

Comments

@weihwang
Copy link

weihwang commented Oct 15, 2018

Proposal for full width tabbed history view, which is related to how we may think about push/pull actions. We need a more detailed higher level view of where the latest changes are in local/remote branches. Fly-out full detail on mouse-over provides an easier "browse" experience. Adding a link at the bottom of a default 10 item list gives users a link to the full log if needed.

https://www.figma.com/file/UyNpeQNuTj6Uv74MoEJDh3ji/Git-extension?node-id=517%3A1718

image

@weihwang weihwang mentioned this issue Oct 15, 2018
2 tasks
@neelamgehlot neelamgehlot added this to the 0.4 milestone Oct 17, 2018
@dhirschfeld
Copy link
Member

I was thinking that it might be very cool you you could select two nodes in the history to view the diff between them.

@jaipreet-s jaipreet-s added this to To do in 0.4 Oct 19, 2018
@neelamgehlot neelamgehlot self-assigned this Oct 24, 2018
@neelamgehlot neelamgehlot modified the milestones: 0.4, 0.5 Oct 26, 2018
@neelamgehlot neelamgehlot removed this from To do in 0.4 Oct 26, 2018
@tgeorgeux
Copy link
Contributor

I put a similar response in #244, what is the upside of fly-out versus just expanding/collapsing each history field?

@weihwang
Copy link
Author

@tgeorgeux I think inline expansion would not provide an opportunity to browse via a hover action. I was trying to reduce the amount of clicking to view more details. This is already addressed by revealing more information per history summary.

If we go inline, I think we should only trigger onClick of the summary block. One upside I see for inline could be multiple expansions so you can review more than one commit detail at time. We wouldn't get that with onHover.

@tgeorgeux
Copy link
Contributor

tgeorgeux commented Oct 26, 2018 via email

@jaipreet-s
Copy link
Member

cc @saulshanabrook

@saulshanabrook
Copy link
Member

saulshanabrook commented Nov 19, 2018

I would be in favor of the on click over the popout on hover (I find hovering sorta fiddly often).

But am happy to get started on either approach if we have consensus on which to pursue.

@tgeorgeux
Copy link
Contributor

@weihwang @jaipreet-s Do you have additional thoughts on popout vs on-click expanding?

@weihwang
Copy link
Author

weihwang commented Nov 19, 2018

@tgeorgeux If it's not possible today to create a popout, and the general feedback leans towards inline expansion of details, I think we can start with that version. I have a mock below to expand-on-click. I needed to add more details (username, commit hash) into the collapsed view in this case to create a more seamless "expand" to minimize disrupting content when going to the detail state.

image
https://www.figma.com/file/UyNpeQNuTj6Uv74MoEJDh3ji/Git-extension?node-id=517%3A1718

@jaipreet-s
Copy link
Member

Inline expansion looks better to me as well.

In general, I'd suggest taking this one incrementally

  1. Get the "summary view" in place (This'll also unblock the push/pull task)
  2. Add "detailed view" on inline expansion
  3. Add extra details like the View mode in Terminal option

@tgeorgeux
Copy link
Contributor

Sounds like a good plan to me.

@dhirschfeld
Copy link
Member

master/origin strikes me as back-to-front - wouldn't it be more usual to refer to it as remote/branch?

Referring to it in the opposite way to what the cli does might make it more difficult for new users to pick up the command line syntax.

@jaipreet-s jaipreet-s added this to To do in 0.5 Nov 20, 2018
@jaipreet-s jaipreet-s moved this from To do to In progress in 0.5 Nov 21, 2018
@weihwang
Copy link
Author

weihwang commented Nov 21, 2018

@dhirschfeld I agree we should align with the expected display. I misrepresented the order of the remote/branch. I'll update the mockup. Thanks!

@jaipreet-s jaipreet-s moved this from In progress to Done in 0.5 Nov 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
0.5
  
Done
Development

No branches or pull requests

6 participants