Skip to content

Conversation

@pynickle
Copy link
Contributor

@pynickle pynickle commented Jan 7, 2026

主要是 categories 太多了,下载页面的 tag 显示经常糊成一团啥也看不见,不如用 modrinth 自己也在用的 display categories 作为展示

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Modrinth integration to use display_categories instead of categories for tag display in the download page. According to the PR description, this change addresses an issue where too many categories were being shown, making the tag display cluttered and difficult to read. Modrinth's own platform uses display categories, which are a curated subset of all categories.

Changes:

  • Added displayCategories field to ProjectSearchResult class to capture Modrinth's curated category list
  • Updated the toMod() method to use displayCategories instead of categories for search results

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Glavo Glavo merged commit 06cce52 into HMCL-dev:main Jan 10, 2026
8 checks passed
@pynickle pynickle deleted the imp/categories branch January 10, 2026 17:10
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.

2 participants