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
Visually distinguish submodules from regular folders #5
Here we can see which folders are actually submodules. ADO has a similar UI enhancement.
It's probably a heavy lift to enlighten the FileExplorer data model to the point that we can programatically customize the appearance and/or name of the folders.
But it should be quite simple to report the existence of a submodule via the status column, as submodule status is already reported today. Simply tweak the logic to return a status string for "clean" submodules in addition to the dirty ones.
For example, in a local clone of the same PowerToys repo (with the submodules initialized), if I add a new file to one of these submodules, I get "Submodule Dirty" in the Version status column, as seen in the following screenshot. After deleting the offending untracked file, "Submodule Dirty" should change back to "Submodule" (or something) to quickly inform the user that this isn't a normal Git folder.
Reacted by Mr Beedell, Roke Julian Lockhart, Marco Campos and Bryce Glover
Activity