fork-dev / TrackerWin

Bug and issue tracker for Fork for Windows
459 stars 10 forks source link

[Feature Request] Sorting Options in "View as Combined List" #2076

Open JeReT opened 9 months ago

JeReT commented 9 months ago

Sometimes (okay: very rarely), I want to discard certain types of files before committing. (This is usually when I do an update a source code library in a Unity project: I want to discard all *.meta file changes).

I couldn't find a satisfying workflow to do this. What I would have expect is this:

  1. Select "Local Changes"
  2. Switch to "View as Combined List" mode
    • Here my feature request starts -
  3. Right click on the column headers
  4. A context menu appears that allows me to specify, which columns I want to show or hide. There is a new type of column "file extension"
  5. Select to show the "File Extension" column (and maybe hide the "Location Column")
  6. Click on the "File Extension" Column to sort (and click again to sort descending)

So, Let's break it down to the features I would like to see:

  1. Optional Columns (right-click for context menu to show / hide specific columns)
  2. New Column "File Extension" which shows the file extension of each file.
  3. Sort all entries when clicking on a column. Reverse order when clicking again. (Default sorting is by Location then by File name, as it is right now. This should also be the order when sorting by location. To streamline this, it should always sort by the selected column and then by file name)

You may consider adding even more (hidden) columns, like "State" (file changed, added or removed) or file size (which may be colorized at certain thresholds to give an indication for the user to consider marking it for LFS - LFS or not could also be a column)

DanPristupov commented 9 months ago

https://github.com/fork-dev/TrackerWin/issues/30 https://github.com/fork-dev/TrackerWin/issues/1119 https://github.com/fork-dev/TrackerWin/issues/1211