Gittyup icon indicating copy to clipboard operation
Gittyup copied to clipboard

Dense layout issue

Open MikeKholomeev opened this issue 1 year ago • 7 comments

Hi all.

Is it possible to do smth with long paths in the list of the changed files? Like at the screen below (it was made in fullscreen mode)

image

MikeKholomeev avatar May 10 '23 13:05 MikeKholomeev

Maybe a tooltip can be used like in the repository view. Or you can switch to the tree view view

Murmele avatar May 10 '23 16:05 Murmele

Although far less useful than @Murmele's comment, I've thought about separating the file name and path so that each would be in their own column, something like this: image The columns could be resized and reordered. Obviously, this only makes sense in the view mode which @MikeKholomeev shows in his original comment.

I can offer no code to make this idea a reality yet, though it is on my To-Do list. Whether it comes off due to my own action or someone else's implementation of something comparable or better, I won't dare to say. :grin:

gh-devnull avatar May 10 '23 19:05 gh-devnull

Maybe a tooltip can be used like in the repository view. Or you can switch to the tree view view

I've thought about separating the file name and path

It's not usable.

I prefer removing the path part.

Usually, filenames are long enough to barely fit into the existing window width. So I'd prefer not to steal the width.

OR

Make it possible to narrow the branch-tree part

MikeKholomeev avatar May 11 '23 10:05 MikeKholomeev

@gh-devnull, a table is definitely the best solution.

RokeJulianLockhart avatar Jul 22 '23 14:07 RokeJulianLockhart

I've added PR 632 with my implementation of this.

gh-devnull avatar Aug 31 '23 21:08 gh-devnull

I forgot to mention here that I've subsequently added the ability to sort by column header. Column header widths can be adjusted too, which should help address @MikeKholomeev's comment.

@Murmele, these changes are available for review.

gh-devnull avatar Sep 26 '23 18:09 gh-devnull

@gh-devnull Thanks I will have a look into it. Sorry currently I am quite busy, so it will its time. And first I wanna merge the Qt6 feature

Murmele avatar Oct 09 '23 07:10 Murmele