Skip to content

commit summary panel is not scrollable #519

Closed

Description

@shiftkey

This is important when viewing a really detailed commit description, and still being able to reach the files underneath.

e.g: git/git@0b66415

We also currently constrain the width of this panel (350px?)

Activity

  1. self-assigned this
    on Oct 12, 2016
  2. donokuda commented on Oct 12, 2016

    @donokuda
    Contributor

    @shiftkey Thanks for taking a look at this in #521. @niik and I briefly chatted about this in my UI polish PR.

    I think the approach that makes sense is putting the description as the first item before the list of changed files. Pretty much like how GHD does it:

    an animated screenshot showing what I described above, i swear

    @niik and I will be discussing all the designy things this week so we'll keep you updated if this changes.

  3. shiftkey commented on Oct 12, 2016

    @shiftkey
    MemberAuthor

    @donokuda @niik cool, I'll put this aside for now

  4. removed their assignment
    on Oct 12, 2016
  5. shiftkey commented on Oct 19, 2016

    @shiftkey
    MemberAuthor

    Some discussion on this over in #549 (comment)

    We didn't have time to mock this but our thoughts is that we'll show the first five or so rows of a long commit message and then add a "Read more..." or "Expand" link button at the end if it still overflows. Clicking on that would expand the commit header to take over the diff and file list, essentially entering into a "zen-mode"-ish view for reading long messages.

  6. joshaber commented on Jan 19, 2017

    @joshaber
    Contributor

    @donokuda @niik is the above ☝️ still accurate?

  7. niik commented on Jan 19, 2017

    @niik
    Member

    Not quite, we did discuss this yesterday. Our current thinking is that we'll keep it the way it is now (ie a max-height of ~3 rows and then scrolling after that) but we'll also add an explicit expand/collapse button that allows the commit message to take over the entire view.

    We did some mocks for this, one of us will update this issue once we start breaking apart the sketch file

  8. niik commented on Jan 19, 2017

    @niik
    Member

    So this is @donokuda's and my current thinking. If the commit summary extends beyond ~3-4 lines we'll make it scrollable and show the expand button which, when clicked, makes the commit description take over the entire bottom part of the view.

    expand commit info - condensed

    expand commit info - condensed copy

  9. iAmWillShepherd commented on Mar 1, 2017

    @iAmWillShepherd
    Contributor

    Seems that the summary is already scrollable, it just needs a button to make it take up the entire space.

  10. iAmWillShepherd commented on Mar 27, 2017

    @iAmWillShepherd
    Contributor

    @niik where can I find that expand collapse icon you are using in your mocks?

  11. donokuda commented on Mar 27, 2017

    @donokuda
    Contributor

    @iAmWillShepherd I think <Octicon symbol={OcticonSymbol.fold} /> and <Octicon symbol={OcticonSymbol.unfold} /> should give you the correct icons.

  12. iAmWillShepherd commented on Mar 27, 2017

    @iAmWillShepherd
    Contributor

    @donokuda Much appreciated!

  13. iAmWillShepherd commented on Mar 29, 2017

    @iAmWillShepherd
    Contributor

    Do we want to be able to scroll down to see the diff when the commit description is expanded?

  14. donokuda commented on Mar 29, 2017

    @donokuda
    Contributor

    @iAmWillShepherd Nope. I'm thinking of the expanded state as something that's on top of the diffs and you'll have to collapse it to go back to reading file diffs.

  15. iAmWillShepherd commented on Mar 29, 2017

    @iAmWillShepherd
    Contributor

    Ok, that's actually what I had in mind. I am encountering a problem with scrolling though.

  16. locked as resolved and limited conversation to collaborators on Jul 22, 2018
  17. unlocked this conversation on Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions