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

[ModManager] Add column for applied state and filter applied/not applied mods #346

Open
wants to merge 2 commits into
base: 1.0.6.3
Choose a base branch
from

Conversation

Skylark13
Copy link

Hello,

Long-time user of mod managers for Elder Scrolls games (Morrowind, Oblivion and Skyrim) and Dragon Age games too.
I recently started using FMM because I wanted to use some mods in a playthrough of Mass Effect Andromeda.
I found it hard to figure out which mods were currently applied in a large list of mods. For example:

  • if I had a few different variants of a mod, and only one had to be enabled at a time,
  • or if I wanted to test out a mod but wasn't sure I wanted to use it in the end, so I installed it but might not keep it applied or might want to apply it, test, unapply it, test again, etc.

So I added a column in the "Available Mods" table where there will be a checkmark if the mod is applied.
Also I added toggle buttons to show only applied or not applied mods in combination with the filtering by name.
Finally, I added a status bar at the bottom of the table to show how many mods are either available (if not filtering) or pass the current filter (if filtering).

Bear in mind that I am not that experienced in C#. If there are ways to do something better, let me know. In particular I had trouble applying the right Binding with the IValueConverter for the checkmark to show up next to each available mod in the table. The converter needs access to the list of applied mods, and I didn't know how to do that in the XAML, so I went down the path of creating the DataTemplate for that column in code, which took a while to find something that worked. The rest is pretty straightforward but let me know if you prefer I do something in some other way.

Also if you prefer some other images for "applied" and "not applied" state, let me know. I chose a checkmark in a circle, and an X in a circle, respectively, and I tried to follow the style of the rest of the icons.

Here are some gifs to show the additions in action:

mC1hHoymSp

FKakB9C3Nk

@Skylark13 Skylark13 changed the title FrostyModManager: Add column for applied state and filter applied/not applied mods [ModManager] Add column for applied state and filter applied/not applied mods Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant