Skip to content

Releases: yiwubianjihui/ClassIsland.Plugin.TrialHomework

v1.0.0.4

Choose a tag to compare

@github-actions github-actions released this 15 Sep 09:52
feat: auto-close the duty reminder and never render an empty card (v1…

v1.0.0.3

Choose a tag to compare

@github-actions github-actions released this 10 Sep 16:24
fix(component): keep the duty card on a single line to fit IslandCont…

v1.0.0.2

Choose a tag to compare

@github-actions github-actions released this 10 Sep 15:56
fix(component): keep the duty list visible in component management mo…

v1.0.0.1

Choose a tag to compare

@github-actions github-actions released this 10 Sep 15:05

修复 v1.0.0.1

🐛 修复

  • 「测试提醒」按钮崩溃,并导致插件被 ClassIsland 判定为异常而自动禁用
    原因:AddNotificationProvider<T> 只把提醒提供方注册为 IHostedService,并未注册为 DI 服务;
    IAppHost.GetService<T>() 在取不到服务时抛异常(不返回 null),因此 ?. 无法拦截。
    现改为从 hosted services 集合中获取实例。
  • 下午定时提醒实际从未触发(本次一并修复)
    原因:NotificationProviderBase.StartAsync 是非虚的空实现,此前用 new 隐藏它并不会被宿主调用,
    自建的计时器从未启动。现改为订阅课表主计时器 PostMainTimerTicked(每秒),与官方提醒提供方一致。

✨ 改进

  • 「测试提醒」在当天名单为空时也会显示(此前会静默跳过,看起来像按钮无效)

📦 安装 / 升级

  1. 若插件已被自动禁用:安装本版本后,前往【应用设置】→【插件】重新启用,并重启 ClassIsland 生效;
  2. 下载下方 ClassIsland.Plugin.TrialHomework.cipx,在 ClassIsland 插件页选择安装;
  3. 本版本同时把仓库链接更新为组织地址(yiwubianjihui)。

建议从 v1.0.0.0 升级到本版本:v1.0.0.0 中「测试提醒」会触发崩溃。

v1.0.0.0

Choose a tag to compare

@github-actions github-actions released this 07 Sep 17:07

试写作业助手 v1.0.0.0

一款 ClassIsland 插件,用于展示与提醒每天试写作业的同学。

功能

  • 📋 名单组件:主界面显示当天试写人员,课间显示、上课自动隐藏,不遮挡课表
  • 下午提醒:到达设定时间(默认 14:20)后弹出当天名单,错过 30 分钟内自动补发
  • 🔄 按月轮换:多组名单自动按月循环,也可手动固定
  • 📝 简单录入:按星期填写名单,空格 / 顿号 / 逗号分隔即可

安装

  1. 下载下方 ClassIsland.Plugin.TrialHomework.cipx
  2. 打开 ClassIsland → 设置 → 插件 → 安装插件,选择该文件
  3. 重启 ClassIsland,在设置 → 试写作业助手中录入名单

环境要求

  • ClassIsland 2.0 及以上(apiVersion 2.0.0.0)
  • .NET 8(跟随主程序)

完整说明见 README