Add "only show independent mods" checkbox #129
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This checkbox goes alongside the "Only show enabled mods" checkbox:
An "independent mod" by my definition is a mod that is not depended upon by any other mods. The use case of this would be users looking to disable any extraneous mods (where "extraneous" means enabled but not used in any capacity). In an ideal world, this feature would be a button like "Disable all unused mods" that magically disables all mods that aren't depended upon by other mods and do not provide maps. In reality, this is probably pretty complicated and not that feasible to implement. The implementation I went with leaves the choice of which mods to disable to the user, but it at least narrows it down to the mods are "safe" to disable.
I would label this as a "major" UI change, since stuff is moving around. As shown in the above image, I moved both checkboxes down to a new row. I am not a UX expert, so I'm not sure what layout would work best here. Open to feedback.
I'm also unsure about the naming "independent mod", since that's somewhat vague. I'm open to any suggestions there, whether that be a new name, or maybe there can be some sort of question mark icon (?) that shows a definition upon hovering.