Skip to content

feat(webhooknotify): add dedicated webhook icon - #368

Merged
InfinityPacer merged 1 commit into
mainfrom
codex/feat/webhook-notify-icon
Aug 9, 2026
Merged

feat(webhooknotify): add dedicated webhook icon#368
InfinityPacer merged 1 commit into
mainfrom
codex/feat/webhook-notify-icon

Conversation

@InfinityPacer

Copy link
Copy Markdown
Owner

问题与背景

Webhook消息推送初始版本复用了通用插件灯泡图标,无法表达外部 Webhook 消息接入和通知转发语义,在插件市场中也不易与其他插件区分。

原因分析

通用图标没有体现 Webhook 的端点与中继关系;深色图标底板在暗色壁纸和半透明插件卡片上对比度不足,固定 48px 展示时视觉面积偏小。

解决方案

  • 增加 1024×1024 RGBA 专用图标,使用浅冷灰蓝底板、深蓝 Webhook 回环和红绿端点,提高暗色卡片上的辨识度。
  • 插件类和 package.v2.json 统一引用 icons/webhooknotify.png 的 Raw main 地址。
  • v1.0 更新说明统一精简为“新增通用 Webhook 通知入口。”
  • 保持插件版本 1.0,通过删除原 Release 与同名 Tag 后重新生成完整发布资产。

影响与风险

  • 仅影响插件市场、插件卡片和插件详情中的图标展示。
  • Webhook GET/POST API、公共 API_TOKEN 认证、消息类型、默认关闭状态和通知提交行为均不变。
  • 不涉及配置迁移、数据迁移或主程序最低版本要求。
  • WebhookNotify_v1.0 Release 与远端 Tag 已在分支安全推送后删除,PR 合并后由 Plugin Release 工作流同版本重建。

版本事实

  • 插件 plugin_version1.0
  • package.v2.json 版本及 v1.0 更新说明:已同步
  • 插件 README v1.0 更新说明:已同步
  • 发布标记:release: true

验证

  • .githooks/pre-push:通过
  • python -m pytest tests/v2/webhooknotify -q16 passed
  • python tests/run.py -q2225 passed,无 warning
  • python -m json.tool package.v2.jsonpython -m compileall -q plugins.v2/webhooknotifygit diff --check:通过
  • 图标为 1024×1024 RGBA PNG,四角透明,并在 48px 插件卡片尺寸完成实际视觉验收

@InfinityPacer
InfinityPacer merged commit 4d89fbc into main Aug 9, 2026
3 checks passed
@InfinityPacer
InfinityPacer deleted the codex/feat/webhook-notify-icon branch August 9, 2026 17:14
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.

1 participant