Skip to content

fix(mods): keep modpack labels and show each mod's safety - #71

Open
nickyyOO wants to merge 3 commits into
OpenRAC:mainfrom
nickyyOO:fix/modpack-page
Open

nickyyOO wants to merge 3 commits into
OpenRAC:mainfrom
nickyyOO:fix/modpack-page

Conversation

@nickyyOO

@nickyyOO nickyyOO commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Before

A modpack's page gave no per-mod safety view. Its download count was always 0, because a pack has no file of its own to count.

After

A modpack keeps its own label and download count. Its Safety card lists every mod in it with that mod's label, its kind (code, script, data) and a link to the mod's own safety section.

How

packMods reads the pack's newest requires from the catalog. The count comes from the index (openrac-mods: each pack version now has its own small file, which the launcher reads on install).

Tested

npm test, eslint, tsc. Checked the pack page's Safety card in a browser against the live mod index.

A modpack keeps its own label and download count again. Its Safety card
lists every mod in it with that mod's label and kind.
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