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
{{ message }}
Repository navigation
Column widths are limited — would love to remove those widths #2745
(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.
Version
GitHub Desktop version: 0.8.2
OS version: macOS Sierra 10.12.6
Steps to Reproduce
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
Reacted by Halil Coban, Elias Zamaria, Richard Thombs, Scot Hacker, matttarca, Daniel Lewis, specter78, Brent Jubinville, Thomas van den Berg, ladida and 6 more
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. 🙂
Reacted by Darnell Arford, Paul Rogero, Tiernan L and ladida
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.
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.
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?
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.
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.
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) :)
Reacted by Shaun Tonstad, Thomas van den Berg, Niko-O, ShenLin, firthl and adamgit
@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.
@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.
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.
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.
[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.
Activity
joshaber commentedon Sep 15, 2017
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.
tjdraper commentedon Sep 15, 2017
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. 🙂
niik commentedon Sep 15, 2017
While this issue pertains to all resizable panes I think the answer I wrote in #1588 (comment) applies here as well.
arfordweb commentedon Oct 3, 2017
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.
glennreid commentedon May 26, 2018
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.
richardthombs commentedon Jun 5, 2018
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?
iAmWillShepherd commentedon Jun 11, 2018
@desktop/design How do you feel about replacing the max-width constraint with min-width as @glennreid suggested?
cocco3 commentedon Oct 2, 2018
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: 1to take up as much space as possible.stonstad commentedon Oct 19, 2018
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.
rog1039 commentedon Nov 30, 2018
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.
iwanPlays commentedon May 30, 2019
example of the middle column being useless
shacker commentedon Sep 3, 2019
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) :)
tierninho commentedon Sep 4, 2019
@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.
Apologies if this is giving you problems.
shacker commentedon Sep 5, 2019
@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.
1 remaining item
tierninho commentedon Mar 11, 2020
Another request for the same: Ref #9263
specter78 commentedon Jun 2, 2020
utilityboy commentedon Sep 16, 2020
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.
Dynamically set max width of resizable component (desktop#1588, deskt…
Lars-jnk commentedon Nov 12, 2020
After 3 years nothing happend. I guess the would take less time to implement it then to read all the comments here.
utilityboy commentedon Dec 8, 2020
@Lars-jnk there is a PR graciously provided by @marzepani that hopefully will be merged soon. 🤞🏼
Eilon commentedon Dec 10, 2020
BTW this is the PR: #10706
steveward commentedon Jul 12, 2021
Requested in #12576.
utilityboy commentedon Aug 24, 2021
@steveward are there any actions that can be taken on #10706? Is there something missing you'd like to see in this PR?
steveward commentedon Oct 20, 2021
Requested in #13157.
rockmandash commentedon Nov 2, 2021
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.
glennreid commentedon Nov 2, 2021
[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.
jyxjjj commentedon Nov 23, 2021
any new progress?
stuartmcmahon-h3d commentedon Dec 1, 2021
This is the number 1 reason I open Sourcetree.
Number 2 is when I want to view the history of an individual file.