Currently, in Obsidian’s file explorer, folders are displayed with an expandable arrow to signify their expandability. However, this creates a visual offset. The file names, positioned vertically at the same level as the folder names, give the impression that they are located inside the folders.
Proposed solution
Current workaround (optional)
Remove the visual offset created by the expandable arrow for folders.
I think what would be better than your solution is to keep the text where it is but add an icon to the left of non-folder notes, aligned with the chevrons for folders. That way text remains aligned and you don’t get confused about containment.
Even a simple dot would suffice
Honestly, esthetically, the actual solution creates something less homogeneous and boring. But functionally, that’s confusing. So maybe there is an alternative to it, considering both facts.
I can’t tell directly now, but a smaller space, icon…
Check how other apps, like Finder and Windows Explorer handle indentation in the same situation — they do it the way Obsidian does it now. I don’t know of any common app that does it the way you’re suggesting. What’s intuitive is influenced by what people are used to, so people are likely to find the current way less confusing. Also the folding indicators are faded secondary elements, so people are less likely to factor them into their sense of the hierarchy.
Other apps do tend to include icons, so maybe adding those would make it less weird to you.
Until recently Obsidian did it the way you suggested and I found it very confusing.
I will go like this. And I understand it’s not shared by others, apparently. So I will let this topic open until tomorrow and close it.
Looking again at the result, it seems really not bad to me this last one.
You can leave it open as long as you want — a plugin (or I guess a snippet in this case) is a fine way to handle a niche desire, and you may not be the only one who wants it (at the very least, someone on the Obsidian team was at least OK with the prior version).
sorry for the weird looking -0.91rem … this value turned out after carefully lining up the dot-symbol with the visual center of the folder-“triangle”-symbol (in closed state) as well as the texts of the folder names with the texts of the file names