Fixes #6601. Clicking any game version tag on the versions tab passed the release's entire game_versions array to toggleFilters, so clicking 26.x (or even a single version tag) selected every version the release supports. On projects supporting many versions this also froze the page for seconds: toggleFilters awaited a needlessly-async toggleFilter per version, which let Vue flush a full re-render between every iteration (~90 flushes on the reported project). - formatVersionsForDisplay's grouping now also returns the member versions per displayed range (getVersionGroupsForDisplay), so version tags toggle exactly the versions they represent - toggleFilters applies the whole batch synchronously in one update, and selects the missing versions unless all are already selected (instead of blindly inverting each one) Co-authored-by: Claude <noreply@anthropic.com>
Modrinth Monorepo
Welcome to the Modrinth Monorepo, the primary codebase for the Modrinth web interface and app. It contains lines of code and has
contributors!
If you're not a developer and you've stumbled upon this repository, you can access the web interface on the Modrinth website and download the latest release of the app here.
Development
This repository contains two primary packages. For detailed development information, please refer to their respective guides:
Contributing
We welcome contributions! Before submitting any contributions, please read our contributing guidelines.
If you plan to fork this repository for your own purposes, please review our copying guidelines.
Security
If you discover a security vulnerability within our codebase, please follow our responsible disclosure guidelines.
Support
If you need help with the Modrinth web interface or app, please visit our support page. For general inquiries, you can also join our Discord server.
License
All packages in this repository are licensed under their respective licenses. Refer to the LICENSE file in each package for more information.
