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

fe: 如果有未完成的签到,显示有未读消息的提示。 #2036

Closed
wants to merge 1 commit into from

Conversation

wjcjttl
Copy link

@wjcjttl wjcjttl commented Oct 20, 2024

获取是否有未完成签到的信息。注,旨在获取信息。
如果有未完成的签到,显示跟有未读消息一样的提示:1. 顶部一键打开有未读消息的站点,2. 站点图标上显示一个圆点,3. 未读消息的标签筛选。
如果未读消息数量在(0,10)之间,还是会显示未读消息数量,否则只有一个红点。
在数据页面的选项里面可以打开或者关闭未签到网站的提示。默认关闭。这个开关在检测显示未读消息开关的地方也检测。

只适配了默认NexusPHP模板。如果这个方案可以接受,会继续适配一些主流站点。

效果图:
CleanShot 2024-10-19 at 13 56 49@2x

CleanShot 2024-10-19 at 20 53 27@2x

@wjcjttl
Copy link
Author

wjcjttl commented Oct 22, 2024

有问题。稍微调整一下。还是得改用switchFilter。

@wjcjttl wjcjttl closed this Oct 22, 2024
@wjcjttl wjcjttl deleted the wjcjttl/pending-checkin branch October 22, 2024 02:27
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