Skip to content

feat: the mods screen filters its list by mods on, off, or with an update - #1668

Closed
zabka14 wants to merge 2 commits into
OpenReliant:mainfrom
zabka14:feat/mods-filter
Closed

zabka14 wants to merge 2 commits into
OpenReliant:mainfrom
zabka14:feat/mods-filter

Conversation

@zabka14

@zabka14 zabka14 commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Builds on #1666, which this branch starts from: until #1666 merges, the diff shows its commit too. Only the last commit (8b60188) is this change, and I will rebase once #1666 is in.

A button right of GET MODS on the mods screen chooses which mods the list shows. Each click moves to the next choice: SHOW ALL, SHOW ON, SHOW OFF and SHOW UPDATES (the mods with an update in the catalogue).

  • The list's order is the load order, so the arrows that move a mod only show, and only work, under SHOW ALL.
  • A mod turned on or off under a filter stays in the list until the filter changes, so a second click can undo the first.
  • SHOW UPDATES picks its rows again on each pass, since the catalogue can arrive in the background while the screen is open.
  • The chosen mod stays chosen when the filter keeps it; otherwise the first mod shown is chosen. The filter stays when the screen is opened again.
  • When the filter leaves no mod, the list says NO MODS ON, NO MODS OFF or NO UPDATES.
  • Tests cover each filter, choosing and toggling under a filter, CANCEL CHANGES, the hidden order arrows, and SHOW UPDATES filling in once the catalogue arrives. The modding guide describes the button.

Closes #1667

The mods screen, GET MODS and GAME MODES drew everything on the 640 by 480
canvas scaled to the window, so a large window only made the text bigger:
nine rows, and descriptions and long names cut short. Like the server
browser, their frames now stay where they are on the background while what
they hold is drawn smaller, so a 1920 by 1080 window shows 13 rows and the
panel fits longer lines. The title and the settings screen's buttons keep
their size.

Closes OpenReliant#1665
…date

With many mods installed, finding the ones that are on, off, or have an
update in the catalogue meant scrolling the whole list. A button next to
GET MODS now cycles SHOW ALL, SHOW ON, SHOW OFF and SHOW UPDATES. The
load order arrows only show under SHOW ALL, the one view where the
list's order is the load order.

Closes OpenReliant#1667
@zabka14

zabka14 commented Dec 2, 2026

Copy link
Copy Markdown
Contributor Author

Closing for now: this builds on #1666, so I'll reopen it, rebased, once #1666 is merged.

@zabka14 zabka14 closed this Dec 2, 2026
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.

Filter the mods screen by mods on, off, or with an update

1 participant