Skip to content

Conversation

@Calboot
Copy link
Contributor

@Calboot Calboot commented Nov 19, 2025

添加了下载模组、数据包等以及更新模组时显示更新日志的功能
Resolves #4685

具体变化:

  • 以下载模组为例,在原来仅用作展示模组依赖项的页面中同时展示该版本更新日志
  • 检查模组更新之后的表格中在最右侧添加“显示详情”列,点击单元格即可打开更新日志并查看其他一些信息
  • 添加打开链接页面的“复制”按钮

TODO:

  • 添加下载时的更新日志
  • 添加更新模组时的更新日志
  • 给上述功能添加多语言支持
  • HTML
  • Markdown
  • Cache

@Calboot Calboot marked this pull request as ready for review November 21, 2025 10:06
@Calboot Calboot marked this pull request as draft November 21, 2025 10:31
可能不准确不地道,需要熟悉这些语言的人验证
@Calboot Calboot marked this pull request as ready for review November 21, 2025 10:44
@Calboot
Copy link
Contributor Author

Calboot commented Nov 21, 2025

需要能读懂日语、俄语、乌克兰语、西班牙语的人来审核一下语言文件

我把那些语言的删了,以后再加吧

@Calboot Calboot changed the title 添加模组、资源包、光影包、世界、整合包的更新日志 feat: 模组、资源包、光影包、世界、整合包的更新日志 Nov 22, 2025
@Calboot Calboot changed the title feat: 模组、资源包、光影包、世界、整合包的更新日志 [Feature]: 模组、资源包、光影包、世界、整合包的更新日志 Nov 25, 2025
@Calboot Calboot changed the title [Feature]: 模组、资源包、光影包、世界、整合包的更新日志 [Feature] 模组、资源包、光影包、世界、整合包的更新日志 Nov 25, 2025
# Conflicts:
#	HMCL/src/main/resources/assets/lang/I18N.properties
#	HMCL/src/main/resources/assets/lang/I18N_es.properties
#	HMCL/src/main/resources/assets/lang/I18N_ja.properties
#	HMCL/src/main/resources/assets/lang/I18N_lzh.properties
#	HMCL/src/main/resources/assets/lang/I18N_ru.properties
#	HMCL/src/main/resources/assets/lang/I18N_uk.properties
#	HMCL/src/main/resources/assets/lang/I18N_zh.properties
#	HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties
@Calboot Calboot marked this pull request as draft December 13, 2025 06:43
@Calboot Calboot marked this pull request as ready for review December 13, 2025 07:03
@Calboot
Copy link
Contributor Author

Calboot commented Dec 13, 2025

现在对 Markdown 里面的裸超链接还没有进行支持,是否应该支持?

@3gf8jv4dv

This comment was marked as resolved.

@3gf8jv4dv

This comment was marked as resolved.

@3gf8jv4dv

This comment was marked as resolved.

@Calboot
Copy link
Contributor Author

Calboot commented Jan 24, 2026

这个模组的日志有一个展示各游戏版本、加载器支持范围的表格。它们在 CF/MR 上都能正常渲染,但 HMCL 似乎没能正常渲染。

hmcl 的 html 渲染器用的是textflow,不太好渲染表格,我得好好想想怎么搞

其实这里面大部分问题都是 HMCL 本来的 HTML 渲染器不完善导致的,可能得单开一个pr解决

# Conflicts:
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/FXUtils.java
@Calboot
Copy link
Contributor Author

Calboot commented Jan 25, 2026

#4828 (comment)
#4828 (comment)
#4828 (comment)

这三个解决了

@Calboot
Copy link
Contributor Author

Calboot commented Jan 25, 2026

#4828 (comment) solved

@Calboot
Copy link
Contributor Author

Calboot commented Jan 26, 2026

#4828 (comment)
#4828 (comment)
Solved

@Calboot
Copy link
Contributor Author

Calboot commented Jan 26, 2026

#4828 (comment)
#4828 (comment)
solved

@Calboot
Copy link
Contributor Author

Calboot commented Jan 26, 2026

#4828 (comment) solved

@Calboot
Copy link
Contributor Author

Calboot commented Jan 26, 2026

#4828 (comment)
#4828 (comment)
solved

@Calboot
Copy link
Contributor Author

Calboot commented Jan 26, 2026

所有问题都解决了,我看看加一下这个

一个建议:在更新日志对话框的右下角添加一个前往该版本对应页面的按钮。

这个是什么意思?是要前往网页上该版本的页面,还是只在模组更新那里添加一个前往对应下载页面的按钮?

这俩都不太好搞。前者要获取对应 url,而 cf 的 url 需要用 project slug 访问,这是目前能获取到的信息里没有的;后者要导航到下载页面,有点不合理

@3gf8jv4dv

@Calboot Calboot changed the title [Feature] 模组、资源包、光影包、世界、整合包的更新日志 [Feature] 模组等的更新日志以及 HTMLRenderer 的完善 Jan 26, 2026
@3gf8jv4dv
Copy link
Contributor

3gf8jv4dv commented Jan 26, 2026

这个是什么意思?是要前往网页上该版本的页面,还是只在模组更新那里添加一个前往对应下载页面的按钮?

@Calboot 前者。

类似于 https://www.curseforge.com/minecraft/mc-mods/jei/files/7428957

@3gf8jv4dv
Copy link
Contributor

3gf8jv4dv commented Jan 26, 2026

表格效果有些诡异。

Image

@3gf8jv4dv
Copy link
Contributor

表格效果有些诡异。

表格左上的那个符号,似乎和字体有关。有的字体显示,有的字体不显示。

图片中的字体是 Tahoma。我试了下 Verdana,不会出现这个符号。

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.

[Feature] 更新模组时获取更新日志

3 participants