Floogen / Stardrop

Stardrop is an open-source, cross-platform mod manager for the game Stardew Valley.
https://floogen.gitbook.io/stardrop/
GNU General Public License v3.0
114 stars 31 forks source link

Show whole mod group or author's mods #150

Closed Adda0 closed 8 months ago

Adda0 commented 8 months ago

This PR adds two right click context menu items on selected mod:

  1. show whole mod group, and
  2. show author's mods.

Furthermore, the PR moves "Mod Group" filter option in the combobox to right after "Mod Name" since the two are closely related and should be next to each other (especially when the combobox is replaced with multi-select dropdown menu).

The functionality of the buttons is as follows:

  1. This button sets the filter to show only mods in the same group as the selected mod.

  2. This button sets the filter to show only mods by the same author as the author of the selected mod.

Tested on Linux, not tested on Windows or MacOS. Translations only for default, missing for other languages.

Floogen commented 8 months ago

I made a few adjustments, primarily reorganizing the filter combobox to be alphabetical and making your two new filter methods dynamically select the author / mod group filters indexes.

Both the Show Whole Mod Group and Show Author's Mods were also moved under the new parent menu item called Filters to avoid context bloat. I also added a Clear command under the aforementioned parent menu for clearing the current filter.

If the changes look good to you, I will merge it over.

Adda0 commented 8 months ago

I tested the changes and they both work and look amazing. Great idea. I am OK with merging the PR.