-
Notifications
You must be signed in to change notification settings - Fork 29.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File nesting: Improve file icon rendering for folder less themes #141428
Comments
cc @misolori any ideas on how this could look? I like how the icon lets me know it's a file, but agree the alignment is weird. |
I'll try to find a way to make Seti work well next iteration, I'd rather not lose the quick identifiability the icons provide but agree the current alignment is very odd |
@JacksonKearl Happy to help and review. |
There are also file icon themes that disable the twisties. Instead, they provide different folder icons for expanded and collapsed folders. Again such themes don't work well with file nesting I can open a different issue for that. |
|
Another idea that came from the ux sync was aligning the other files to the same indentation in the case where there is no folder icon (like seti) and since they are not sibilings they should be on the same indentation: Since we already make adjustments when either there is a folder chevron or folder icon, we should be able to make adjustment based on these options + file nesting is enabled |
Hi @JacksonKearl Also, an option for each pattern to hide the child file icon if its name was equal to the parent file name or something like that. |
@babakfp by default all nests are shown expanded, I don't see why we'd want to remove the option of collapsing them? |
Hi
It's because of this problem and reasons👇
Thank you again. A saw a lot of issues assigned to you, here is a coffee🍵😅🌸 |
#141359 is definitely a bug, but it only appears when the file icon theme has disabled folder chevrons. I will be fixing that this iteration by rendering nests with chevrons regardless of whether they're rendered with folders. |
We now hide the icon of a nest parent if the folders do not have chevrons or icons |
But it's not the same. There is an option to hide the 'angle down/arrow down' icon, so it means that there was/is a need for this option/this functionality. By doing what you said, you are destroying that functionality!
What do you mean is that this (TS) icon is going to be hidden?: It's not a good thing to do if it's not optional for each nest. (Maybe I misunderstood what you meant) |
That is what I have now, though I can see the sense in doing this instead. |
Yeah, in my opinion, this one is better than removing the icon. It's also useful to only group files together(for ordering porpuses) instead of nesting them under each other. |
Testing #141354
"explorer.experimental.fileNesting.enabled": true
foo.js
andfoo.ts
Theres a misalignment as the Seti theme doesn't expect that a file can be a root node.
We probably have to hide the icon of
foo.ts
The text was updated successfully, but these errors were encountered: