Repository navigation
Conversation
在 ClassIsland 主界面组件上提供「随机抽取」按钮,点击即可从备选同学名单中 随机抽出一位同学,并通过 ClassIsland 提醒(可选语音朗读)公布结果。 - 仓库:https://github.com/gwjcfls/ClassIsland.RandomStudentPicker - 许可:MIT - 版本:1.0.0.0(Release 已发布,含 .cipx 与 MD5 校验信息) - 平台:Windows
新增「抽取时保持主界面不淡化」:点击抽取按钮后鼠标仍停在主界面上时, ClassIsland 会因「指针移入淡化」把整行不透明度压到 0.05,提醒几乎不可见; 插件现在会在鼠标位于抽取按钮上、以及提醒显示期间临时压住淡化效果。
1) 抽取提醒不再创建「顶层效果窗口」(关闭该次提醒的涟漪特效) 2) 切换组件配置时清空上一次抽选的人
Author
|
@HelloWRC 请您尽快审核 |
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.
插件信息
classisland.random-student-picker1.0.0.02.0.0.0插件简介
在 ClassIsland 主界面(灵动岛)上放一个「随机抽取」按钮组件,点击后从备选同学名单中随机抽出一位同学,
并通过 ClassIsland 提醒(可选语音朗读)公布结果;名单与抽取选项都在插件设置页面里维护。
提醒文本前缀、提醒显示时长(滑块旁实时显示具体秒数)、名单为空时的提示。
WH_MOUSE_LL低级鼠标钩子捕捉落在按钮上的点击并吞掉该次点击,不破坏 ClassIsland 主界面原有的点击穿透行为;点击区域按按钮的屏幕投影实时计算。
NotificationProvider,显示姓名并按需朗读。上架自查
.cipx,Tag 严格为1.0.0.0<!-- CLASSISLAND_PKG_MD5 {...} -->校验信息repoOwner/repoName/assetsRoot/artifactName/tagPattern/version/apiVersion/author/supportedOSPlatformsClassIsland.PluginIndexGenerator1.1.1.0 在本地跑通索引生成,DownloadMd5正确解析本地校验结果
生成的索引条目:
{ "DownloadUrl": "{root}/gwjcfls/ClassIsland.RandomStudentPicker/releases/download/1.0.0.0/ClassIsland.RandomStudentPicker.cipx", "DownloadMd5": "A54742B552648C2B702257A2F7DAC866", "Manifest": { "EntranceAssembly": "ClassIsland.RandomStudentPicker.dll", "Name": "随机抽取同学", "Id": "classisland.random-student-picker", "Description": "在主界面组件上放一个「随机抽取」按钮,点击即可从备选同学名单中随机抽出一位同学,并支持在设置界面中维护名单与抽取选项。", "Icon": "icon.png", "Readme": "{root}/gwjcfls/ClassIsland.RandomStudentPicker/raw/main/README.md", "Url": "https://github.com/gwjcfls/ClassIsland.RandomStudentPicker", "Version": "1.0.0.0", "ApiVersion": "2.0.0.0", "Author": "gwjcfls" }, "RealIconPath": "{root}/gwjcfls/ClassIsland.RandomStudentPicker/raw/main/icon.png" }