Skip to content

[Feature] 模组等的更新日志以及 HTMLRenderer 的完善#4828

Open
Calboot wants to merge 89 commits intoHMCL-dev:mainfrom
Calboot:mod-changelog
Open

[Feature] 模组等的更新日志以及 HTMLRenderer 的完善#4828
Calboot wants to merge 89 commits intoHMCL-dev:mainfrom
Calboot:mod-changelog

Conversation

@Calboot
Copy link
Contributor

@Calboot Calboot commented Nov 19, 2025

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

具体变化:

  • 以下载模组为例,在原来仅用作展示模组依赖项的页面中同时展示该版本更新日志并可跳转到版本发布界面
  • 检查模组更新之后的表格中在最右侧添加“更新日志”列,点击单元格即可打开更新日志并可跳转到版本发布界面
  • 添加打开链接页面的“复制”按钮
  • HTMLRenderer 的优化与完善,以及对 Markdown 的支持(引入了新依赖)

TODO:

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

依赖 #5463

@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 里面的裸超链接还没有进行支持,是否应该支持?

@Calboot

This comment has been minimized.

@Calboot
Copy link
Contributor Author

Calboot commented Jan 27, 2026

#4828 (comment) solved

@Calboot
Copy link
Contributor Author

Calboot commented Jan 27, 2026

好不容易缩到300行,又给干到600去了

@3gf8jv4dv

This comment was marked as resolved.

@Calboot
Copy link
Contributor Author

Calboot commented Jan 28, 2026

#4828 (comment) solved

Copy link
Contributor

@3gf8jv4dv 3gf8jv4dv left a comment

Choose a reason for hiding this comment

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

:shipit:

# Conflicts:
#	HMCL/src/main/resources/assets/css/root.css
# Conflicts:
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DownloadPage.java
# Conflicts:
#	HMCL/src/main/resources/assets/css/root.css
# Conflicts:
#	HMCL/src/main/resources/assets/css/root.css
#	HMCL/src/main/resources/assets/lang/I18N_lzh.properties
# Conflicts:
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DownloadPage.java
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