Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] 通知功能改进整合为系统模块 #427

Open
EstrellaXD opened this issue Aug 14, 2023 · 0 comments · May be fixed by #513
Open

[RFC] 通知功能改进整合为系统模块 #427

EstrellaXD opened this issue Aug 14, 2023 · 0 comments · May be fixed by #513
Assignees
Labels
RFC Request for Comments

Comments

@EstrellaXD
Copy link
Owner

EstrellaXD commented Aug 14, 2023

背景 or 问题

目前通知模块仅用于通知番剧更新。在 Issue 和群组中有不少用户希望加入程序错误/解析器通知。因此设计改进全新的通知系统。

目标 & 方案简述

方案设计:

  1. 设计新的通知模块,与 Log 集成,在生成 Log 日志之后将同样的信息推送存储到通知模块的未读消息中。
  2. 通知模块划分与 Log 相同的 INFO,WARNING 级别。可拓展 Parser、BangumiUpdate 等其他子类通知。
  3. 可以通过 API 读取和清除通知,WebUI 右上角添加通知和未读。
  4. (可选)支持 Web Push。

注:通知模块为静态模块,不参与主程序循环。

方案设计 & 实现步骤

No response

替代方案 & 对比

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFC Request for Comments
Projects
Status: [v3.2] In progress
Development

Successfully merging a pull request may close this issue.

3 participants