feat(mods): 实现模组列表导出功能#6233
Conversation
实现模组列表导出功能,支持CSV和JSON格式,可自定义导出字段
3gf8jv4dv
left a comment
There was a problem hiding this comment.
默认窗口大小下,对话框高度几乎撑满窗口了。要不限制一下?
Co-authored-by: 3gf8jv4dv <3gf8jv4dv@gmail.com>
Co-authored-by: 3gf8jv4dv <3gf8jv4dv@gmail.com>
Co-authored-by: 3gf8jv4dv <3gf8jv4dv@gmail.com>
|
解决一下CheckStyle? |
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request introduces a feature to export the mod list to CSV or JSON format, including a UI dialog for selecting export formats and fields, and backend logic for generating the files and computing SHA1/SHA512 hashes. The review feedback highlights three critical improvements: offloading the export and hash computation to a background thread to prevent blocking the JavaFX UI thread, adding defensive null checks when retrieving mod field values to avoid potential NullPointerExceptions, and localizing the hardcoded English labels in the export dialog to support proper internationalization.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
会不会考虑做成 Prsim 那样,导出的格式更多一点,还能自定义 |
|
话说支不支持mcmod的格式? (方便整合包作者) |
具体是什么格式 |
…o modlist-output
https://www.mcmod.cn/class/2995.html https://bbs.mcmod.cn/thread-21260-1-1.html 应该是这种格式吧 |
支持CSV和JSON格式,可自定义导出字段
要在模组列表选择要导出的项,然后就有导出清单按钮
close #6158