Closed i-report-bugs closed 10 months ago
This seems to be a duplicate of #205.
@FlorianWoelki but it's already a thing that exists? It isn't a feature request, the behavior I'm describing works properly on version 2.1.2, I did some testing while waiting for a response and found out that the immediate version released after that broke it
@FlorianWoelki but it's already a thing that exists? It isn't a feature request, the behavior I'm describing works properly on version 2.1.2, I did some testing while waiting for a response and found out that the immediate version released after that broke it
Yes I did some explicit changes to the logic of inheritance. So it's sort of not a bug but a feature :D However, it seems like that it is confusing.
@FlorianWoelki So it's sort of not a bug but a feature
Oof, is there any chance of having that behavior back and just have a toggle in the extension setting to specifically re-enable that functionality? That way the default behavior is still what you intended but there's a path forward for people like me who want folders to inherit the icon
Sure yeah. There is the way of custom rules. You can enable an option for custom rules which respects the path instead of just the name of e.g., a file which is exactly what you want. I was even thinking about deprecating the inheritance functionality because by now (if I am not mistaken), you can have the same functionality of inheritance with custom rules.
@FlorianWoelki Sure yeah. There is the way of custom rules. You can enable an option for custom rules which respects the path instead of just the name of e.g., a file which is exactly what you want. I was even thinking about deprecating the inheritance functionality because by now (if I am not mistaken), you can have the same functionality of inheritance with custom rules.
How do I make a rule that makes it so all folders and files under a main folder (e.g. General) will inherit the parent's icon?
I tried General/.*
but it does not work.
I enabled the "Whether to apply the icon to all files/folders that match the file path." But when I restart Obsidian the option keeps turning off on its own. :/
Your rule worked fine for me. Did you use an icon or emoji? I've recently pushed a fix for updating custom rules with emojis, maybe this was the issue?
@FlorianWoelki I opened a proper bug report for it here: https://github.com/FlorianWoelki/obsidian-iconize/issues/298
Describe the bug When I updated Icon Folder to Obsidian Iconize, the subfolders stopped having the inherit icon. I have a lot of subfolders and it would really be a pain to maintain all of them individually if they don't inherit the icon properly.
To Reproduce Steps to reproduce the behavior:
Expected behavior I expect the old behavior where Inherit Icon applies to subfolders too and its own subfolders etc
Additional context If this is something that is intentionally done for Iconize, please just let me downgrade to the older Icon Folder.