feat(webhooknotify): add dedicated webhook icon - #368
Merged
Conversation
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.
问题与背景
Webhook消息推送初始版本复用了通用插件灯泡图标,无法表达外部 Webhook 消息接入和通知转发语义,在插件市场中也不易与其他插件区分。
原因分析
通用图标没有体现 Webhook 的端点与中继关系;深色图标底板在暗色壁纸和半透明插件卡片上对比度不足,固定 48px 展示时视觉面积偏小。
解决方案
package.v2.json统一引用icons/webhooknotify.png的 Rawmain地址。v1.0更新说明统一精简为“新增通用 Webhook 通知入口。”1.0,通过删除原 Release 与同名 Tag 后重新生成完整发布资产。影响与风险
API_TOKEN认证、消息类型、默认关闭状态和通知提交行为均不变。WebhookNotify_v1.0Release 与远端 Tag 已在分支安全推送后删除,PR 合并后由Plugin Release工作流同版本重建。版本事实
plugin_version:1.0package.v2.json版本及v1.0更新说明:已同步v1.0更新说明:已同步release: true验证
.githooks/pre-push:通过python -m pytest tests/v2/webhooknotify -q:16 passedpython tests/run.py -q:2225 passed,无 warningpython -m json.tool package.v2.json、python -m compileall -q plugins.v2/webhooknotify、git diff --check:通过