HMCL-dev / HMCL-dev/HMCL

[Feature] 搜索筛选建议

Open
#2,779 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
10.1k
Forks
934
Avg merge
1d 5h
Merged PRs (30d)
82

Description

描述 | Description

搜索筛选建议

建议添加"Loaders"筛选项,用户可根据Fabric, Forge, NeoForge等Loaders进行筛选。

下面是两种可以参考的方向:

在PCL2中,有直接的"Loaders"筛选项。
image

在PrismLauncher中,会隐藏与当前实例Loader不同的Mod版本。
image

参考PCL2启动器,建议筛选项"下载源"支持从Modrinth与CurseForge聚合搜索。

image

参考PrismLauncher,建议对"游戏版本"筛选项添加:
  • 严格匹配(与所选版本号严格匹配)
  • 主要版本匹配(仅匹配主要版本号)
  • 任意版本
    image
建议添加“过滤已安装”筛选项
参考PrismLauncher,在模组搜索结果中高亮已安装模组。

image

原因 | Reason

添加"Loaders"筛选项:
不同的Mod Loader(如Fabric、Forge、NeoForge等)有不同的兼容性和功能特性。通过添加"Loaders"筛选项,用户可以根据自己使用的Loader筛选模组,确保所选模组与其Loader兼容,避免冲突和错误安装。

添加"下载源"筛选项:
Modrinth和CurseForge是两个常用的模组下载源,它们提供了大量的模组资源。通过在筛选项中支持从这两个下载源进行聚合搜索,用户可以更方便地浏览和选择模组,同时也可以根据自己的偏好选择合适的下载源。

对"游戏版本"筛选项添加更多选项:
不同的游戏版本可能具有不同的特性和兼容性要求。通过添加更多的游戏版本筛选选项,如严格匹配、主要版本匹配和任意版本,可以满足不同用户对游戏版本的需求。用户可以根据自己的需求选择适合的模组版本,确保其与所使用的游戏版本兼容。

添加“过滤已安装”筛选项:
在模组搜索结果中高亮已安装的模组可以帮助用户更快速地区分已安装和未安装的模组。这样用户可以避免重复安装已经存在的模组,减少不必要的重复工作,提高安装效率和准确性。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or implementation entry points are named. Start by locating the mod search and filtering UI, then review how loader, source, game-version, and installed-state data are represented; done should mean the requested filters and installed highlighting work consistently across the search results.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop, search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.