Repository navigation
参数表单补上显示名和带说明的选项 - #1
Merged
Merged
Conversation
plugin.toml 用宿主插件配置 v2 的 label 和 { value, label } 形式的 options,面板会显示中文名称和选项说明。
CI 暂时安装 lendevs/LenBot 的 e62815a(插件配置 v2 所在提交),宿主合并后改成合并后的提交。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变化
plugin.toml的三个参数补上label;format的选项改用{ value, label },面板显示为简洁和详细。e62815a,也就是插件配置 v2 的提交(feat: 插件参数按清单声明生成表单 LenBot#36)。宿主合并后,要把它改成合并后的提交。核对
用包含配置 v2 的宿主在本地运行
pytest tests,全部通过。合并顺序
等 lendevs/LenBot#36 合并后再合并本 PR。旧宿主读这个清单会报未知字段。