[Feature] 可通过拖动改变账户顺序,以及新增搜索账户的功能
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Java
- Stars
- 10.1k
- Forks
- 934
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 82
Description
概述 | Summary
在启动器的账户界面,希望能够新增一个小功能,允许用户通过拖拽直接改变账户顺序,而不需要在 hmcl.json 中的 accounts 字段中手动修改顺序。
顺序 是指账户在列表中的位置。同时,针对于账户过多的情况,希望能够新增搜索功能,该功能允许用户根据条件和关键词匹配账户。
原因 | Reason
这样一来,玩家可以将自己常用的账户随时通过图形界面拖拽来排序,将常用的放在上面,而不需要拉动列表寻找或者手动编辑配置文件。
对于账户过多的情况,手动查找比较麻烦,希望能够出搜索功能。
详情 | Description
无
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the launcher’s JavaFX account screen and the code that reads and writes the accounts field in hmcl.json. Trace how the account list is displayed and persisted before planning both drag-to-reorder and search behavior. Done means users can reorder accounts in the interface and find accounts by conditions or keywords without manual configuration edits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100