obsidian-style-settings
obsidian-style-settings copied to clipboard
QoL Feature Request: Allow Sections to have `collapse: false`
It's a minor Quality-of-Life thing, but I think most ppl only have one section (the Style Settings from their theme) and having to unfold the section name all the time is a minor annoyance, which is also somewhat unecessary if one has only one section. Basically, allow for this:
/* @settings
name: Your Section Name Here
id: a-unique-id
collapsed: false # <- this
settings:
-
id: this-is-a-heading
title: My Heading
type: heading
level: 2
collapsed: true
*/
Alternative, you could even make it the default to always make a section uncollapse if it's a user only has one setting. 🙏
This would also be convenient to have for info only sections. Currently in my theme I use headings and modify each one specifically to hide all elements that aren't necessary. The collapse ability is one of them. This also ties in well with the issue #44 which would come in handy for my scenario. In my example, it would be nice to have the clickable links (they currently aren't; only made selectable through CSS)
Themes need a lot of care and you've to switch back and forth during the development, after with tweaks and later with some updates or, new theme variants. Especially theme designers need to calibrate a pleasing and functional theme; unfortunately the currently theme header isn't able to remember its collapsed status...
I think, many people would enjoy an open theme header. This could be implemented in the same fashion as already done for sub-headers, with a boolean option