feat: Add new "Enabled" sorting button next to "Disabled"#6000
Open
NZ-Linix wants to merge 2 commits intomodrinth:mainfrom
Open
feat: Add new "Enabled" sorting button next to "Disabled"#6000NZ-Linix wants to merge 2 commits intomodrinth:mainfrom
NZ-Linix wants to merge 2 commits intomodrinth:mainfrom
Conversation
Member
Pull request changelogAppAddedChangedDeprecatedRemovedFixedSecurityWebsiteAddedChangedDeprecatedRemovedFixedSecurityHostingAddedChangedDeprecatedRemovedFixedSecurity |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Requested by issue #5877 and #5682 (Two issues requested the same feature)
This adds a new button in the content page to filter mods by "Enabled" (next to already existing "Disabled").
If all mods are enabled, only the "Enabled" button appears. If all mods are disabled, only the "Disabled" button appears.
By default, only either "Disabled" or "Enabled" shows up (when there are disabled and enabled mods in a modpack). The user can right-click the button to switch between it (and then of course left click to toggle the filter). There is also a new setting in the settings menu under "Appearance" named "Content status filter buttons", which lets the user toggle between the right-click functionality or having both buttons always visible in the UI.
Everything described above has been tested and works.
Closes #5877
Closes #5682