sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
273 stars 14 forks source link

Move "Deleted" and "New" icons to new location to avoid paths indentation in "Summary" view #1734

Open Kolobamanacas opened 1 year ago

Kolobamanacas commented 1 year ago

Problem description

Sometimes, during examination of changes in working directory or in some random commit, the one is interested in changes of files located in particular directory. But current version of Sublime Merge marks newly added and deleted files with special icons. This is extremely useful by itself, but unfortunately indents file names paths by the size of an icon. Here is an example: file paths 1, 2 and 5 are indented comparing to paths 3 and 4:

2023-03-06_13-46-18

This approach makes it more difficult, to find these files by glance.

There is definitely the "Files" tab, which doesn't have this downside, but in turn it doesn't have number of changes made in files feature and doesn't have these "Deleted" and "New" labels.

Preferred solution

The first idea I have in mind to solve the issue is to move these icons to the right side of the line, and stick them to the left of "More Actions..." button. Here is the result of my great Photoshop Paint skills to show possible layout.

2023-03-06_13-58-09

We can clearly see that the first file is a deleted one, the second one is a new one and the last is a modified one, yet all file names start from the same line without indentation.

Alternatives

Some other approaches could be taken. For example we could mark "Expand/Collapse" button with different colors or use other color-based approach.

themilkman commented 1 year ago

While I'd like keeping be able to see deleted/new files fast while reading from the the left, the indentation has disturbed me in the past, too. Maybe having a very light icon for "changed" would be another alternative. But having more and more icons in views isn't great in general, too. Maybe colors would be a better solution, but not sure about that. So, generally +1 for the problem, but not sure about the solutions.

srbs commented 1 year ago

partial duplicate: #1586

may be possible by editing the theme, but this may be missing: https://github.com/sublimehq/sublime_merge/issues/45#issuecomment-696495323

Kolobamanacas commented 1 year ago

partial duplicate: #1586

may be possible by editing the theme, but this may be missing: #45 (comment)

@srbs, could you please advise on how do I edit the existing dark theme in Sublime Merge the way to add this single icon for created files?