Skip to content

Column widths are limited — would love to remove those widths #2745

Closed

Description

@tjdraper

Description

(forgive me if this is an issue already, I looked and couldn't find it)

The various columns in the application are constrained to certain max widths — which makes using the app on larger screens frustrating. Particularly when being able to expand a column to see all the data would be very helpful. The application should not place a width limit on columns so that the user of the application can determine the column widths desired at any time.

github-columns

Version

GitHub Desktop version: 0.8.2

OS version: macOS Sierra 10.12.6

Steps to Reproduce

  1. Try to resize a column in the app to any width wider than the limit

Expected behavior: Column should resize to any size user would like

Actual behavior: Columns have a max-width limit

Activity

  1. joshaber commented on Sep 15, 2017

    @joshaber
    Contributor

    Thanks @tjdraper! We've done some work to increase those limits, but I agree it'd be nice if they'd be entirely dependent on the window size.

  2. tjdraper commented on Sep 15, 2017

    @tjdraper
    Author

    I’d argue they should be independent of window size and be entirely user defined, but I’d certainly accept them being wider when the window is wider. 🙂

  3. niik commented on Sep 15, 2017

    @niik
    Member

    While this issue pertains to all resizable panes I think the answer I wrote in #1588 (comment) applies here as well.

  4. arfordweb commented on Oct 3, 2017

    @arfordweb

    From @niik 's other comment and subsequent responses, it seems the max-width was a temporary solution. The real solution would be to handle the case for when the panes that currently have max-widths on them have been made wide by the user, then the window is made narrower than the wide column can accommodate. The widths of those panels need to be recomputed, which sounds to be non-trivial.

    I would, though, like to throw in that I'd love to see the column of file path/names expandable as large as we'd like to expand it, in the hopes that maybe it gets prioritized. It's by far my biggest UX frustration with this otherwise beautiful and intuitive app.

  5. glennreid commented on May 26, 2018

    @glennreid

    Rather than enforcing MAX constraints, you can just enforce MIN constraints. The only reason to have a MAX is so you can't a column so wide as to reduce its neighbor to a size that's too small. Enforcing a MIN limit fixes this, and lets people decide how they want to apportion the window width across columns.

    The fewer hard limits the better. That's a tenet of all programming.

  6. richardthombs commented on Jun 5, 2018

    @richardthombs

    Surely this is a really quick change? Can't see how @joshaber can say that "we've done some work" - what did you do? Add 10% to the limit or something? Can't you please just remove the limit?

  7. iAmWillShepherd commented on Jun 11, 2018

    @iAmWillShepherd
    Contributor

    @desktop/design How do you feel about replacing the max-width constraint with min-width as @glennreid suggested?

  8. cocco3 commented on Oct 2, 2018

    @cocco3

    Has there been any movement on this? Seems instead of setting the width to 230px, you can make that a min-width and do flex-grow: 1 to take up as much space as possible.

  9. stonstad commented on Oct 19, 2018

    @stonstad

    Please... some of us have widescreens and the fixed column width is absurdly small when long file paths are used. +1 for this issue.

    e.g.

    image

  10. rog1039 commented on Nov 30, 2018

    @rog1039

    Same exact issue as @stonstad Would really love to be able to make the changes/history sidebar wider. I can't see the full path to the files on the left in file view or the complete commit message in history view and my diff ends us just being half whitespace since there is so much unusable room.

    Similarly, when in History view examining commits, both the history view as already mentioned is too narrow, and additionally, the file list in the 2nd sidebar showing the commit files is also too small so all the paths get truncated with ellipses even though again half of the diff view on the right is all whitespace.

    It's like Github Desktop can't use any extra width at all beyond 1800 pixels or so. With 4k monitors that means ((3840-1800)/3840) about 53% of the application window is just whitespace.

    Somewhere else I saw mention of perhaps utilizing some min-width's throughout to prevent sidebars from getting too small while removing the max widths so we could use the rest of our monitor to see more information. Not sure if that is a viable solution to this issue or not but it would be great to have the max-width limits removed.

    Thanks.

  11. iwanPlays commented on May 30, 2019

    @iwanPlays

    image
    example of the middle column being useless

  12. shacker commented on Sep 3, 2019

    @shacker

    This issue is a frequent problem for my team, where we have a lot of very long paths that can look indistinguishable in the truncated version with non-resizeable column.

    Alternatives to column resizing might be:

    A) Show full path on hover
    B) Right-click | "Copy file path"

    We just need some way to figure out which file we're looking at... (kind of important for a tool that's all about working with files) :)

  13. tierninho commented on Sep 4, 2019

    @tierninho
    Contributor

    @shacker You can see the full path on hover. I imagine if we increased the target area to include the entire box and not just the text then it would be more discoverable.

    Screen Shot 2019-09-03 at 2 14 54 PM

    Apologies if this is giving you problems.

  14. shacker commented on Sep 5, 2019

    @shacker

    @tierninho Ah, so it does! Not sure how I missed that (unless this is a new feature?) Looks like it only appears on hover after 1 second, perhaps I was just moving too quickly. Thanks, this is helpful.

  15. 1 remaining item

  16. tierninho commented on Mar 11, 2020

    @tierninho
    Contributor

    Another request for the same: Ref #9263

  17. specter78 commented on Jun 2, 2020

    @specter78
  18. utilityboy commented on Sep 16, 2020

    @utilityboy

    Given the adoption of monorepos, this issue is further exacerbated due to tooling conventions like yarn workspaces or similar building out a fairly deeply nested directory structure. My team is consistently shy by about 50-100px for viewing of full paths for most of our work.

  19. Lars-jnk commented on Nov 12, 2020

    @Lars-jnk

    After 3 years nothing happend. I guess the would take less time to implement it then to read all the comments here.

  20. utilityboy commented on Dec 8, 2020

    @utilityboy

    @Lars-jnk there is a PR graciously provided by @marzepani that hopefully will be merged soon. 🤞🏼

  21. Eilon commented on Dec 10, 2020

    @Eilon

    BTW this is the PR: #10706

  22. steveward commented on Jul 12, 2021

    @steveward
    Contributor

    Requested in #12576.

  23. utilityboy commented on Aug 24, 2021

    @utilityboy

    @steveward are there any actions that can be taken on #10706? Is there something missing you'd like to see in this PR?

  24. steveward commented on Oct 20, 2021

    @steveward
    Contributor

    Requested in #13157.

  25. rockmandash commented on Nov 2, 2021

    @rockmandash

    This is critical since I can't see the location of every file name every time I read commit history; I have to wait for every tooltip to appear. And I've been looking on those tooltips for three years.

  26. glennreid commented on Nov 2, 2021

    @glennreid

    [Re-posting my comment from 2018. This is a trivial fix]

    Rather than enforcing MAX constraints, you can just enforce MIN constraints. The only reason to have a MAX is so you can't make a column so wide as to reduce its neighbor to a size that's too small. Enforcing a MIN limit fixes this, and lets people decide how they want to apportion the window width across columns.

    On the Mac version, you can probably do this in Interface Builder using the constraints mechanism -- doesn't even require any programming.

  27. jyxjjj commented on Nov 23, 2021

    @jyxjjj

    any new progress?

  28. stuartmcmahon-h3d commented on Dec 1, 2021

    @stuartmcmahon-h3d

    This is the number 1 reason I open Sourcetree.
    Number 2 is when I want to view the history of an individual file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions