Skip to content
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

Hide Unreachable Settings #1189

Merged
merged 3 commits into from
Oct 10, 2024
Merged

Hide Unreachable Settings #1189

merged 3 commits into from
Oct 10, 2024

Conversation

pjkaufman
Copy link
Collaborator

Relates to #1187

This year it was shown how we can hide settings that are dependent on one another in plugins. So I decided I could do this in the Linter, as such I took a stab at it. There may be some wonkiness with search since searching for rules will still bring up rules that have hidden settings even if their displayed settings do not have the text that is being searched on. This change will also hopefully make things easier for new users to navigate the settings since unreachable settings should be hidden.

There may be a couple of general settings that can still benefit from being disabled based on the Linter rules they depend on. I am mostly thinking about lint on file content change.

…than the enabled toggle when the rule enable/parent setting is disabled
@pjkaufman pjkaufman added the obsidian Obsidian specific syntax issue or feature label Oct 10, 2024
@pjkaufman pjkaufman self-assigned this Oct 10, 2024
@pjkaufman pjkaufman merged commit ec657ea into platers:master Oct 10, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
obsidian Obsidian specific syntax issue or feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant