Closed Adda0 closed 8 months ago
I love the idea! Mod grouping is something that has been requested before and was on my to-do list for a while.
I am in the process of getting the styles added for the group headers, along with the setting to pick a grouping style (currently None
and Folder
, but likely will add Tag
in a separate PR per #140).
Once I get the aforementioned changes pushed, I will merge this over.
That sounds amazing.
Once this PR is merged, I will submit other PRs depending on the grouping for features such as enabling/disabling the whole mod (all mod components; the naming convention for a single folder with a manifest file is a bit unfortunate here), showing only the mod components of the whole mod for the selected component, filtering based on the group name (the whole mod name) as well as the mod components names, filtering ignoring whitespaces (since mod authors seem to enjoy naming the mod components with different whitespace composition than the mod folders), and other features.
I have implemented the previously mentioned changes (along with mod group search filter support).
If it looks good to you, I will merge it over.
This PR lists the mods grouped by mod name (the main mod folder name):
The folder with manifest.json is the mod "component", the folder grouping multiple mod "components" is the whole mod group.
Grouping by mod author is turned off, as I found it less useful, considering there is already a column for mod authors with filter options.
If grouping by default is not desirable, I think adding config options for turning grouping on and off plus possibly changing how mods are grouped (see TODO in the code changes) would be an option, too.
Tested on Linux, not tested on Windows and MacOS.
Feature preview:![2023-12-23_09-46](https://github.com/Floogen/Stardrop/assets/52529234/1c1554d9-9dea-458b-9e84-be151576d937)