Skip to content

Conversation

@Calboot
Copy link
Contributor

@Calboot Calboot commented Nov 19, 2025

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

具体变化:

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

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

@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

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 27, 2026

表格效果有些诡异。

这个表格错位的问题修复了。至于前面那个字符我觉得不太用管,我这边在 macos 上也不太能复现

@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:

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