Repository navigation
feat(theme): 上架社区动态壁纸交互主题 yfl520.theme.wallpaper-studio v1.1.0 - #5
Conversation
|
感谢贡献市场首个社区交互式动态壁纸主题!已完整核对本 PR 的 对照 1. 合并前必改(阻塞项)
2. 建议一并修复的功能、性能与交互问题
3. 规范一致性、代码精简与合规建议
|
|
@yfl520 跟进一下宿主侧进展:此前排查出的 本次宿主主线已就绪的相关能力与改动摘要:
可以结合上一条评审意见中的插件侧优化项(如 IndexedDB 视频拆分与错误提示、用 |
Blocking - Drop `platforms: ["any"]` so v0.2.11 clients accept the package - Attach the role="dialog" popover only while open, so the host's global shortcut guard (Ctrl+N/B/L/,/Enter) is no longer blocked Functionality and performance - Split IndexedDB into `meta` (with thumbnails) and `blobs` stores (DB v2, automatic v1 migration); media blobs are read by id only when displayed - Placeholder tiles instead of decoding full media when a thumbnail is missing - Surface import errors (unsupported/damaged file, storage quota, library unavailable) in the panel; `disposed` guard after every await - Drive --surface-1/-sidebar/-chrome/-statusbar from --theme-card-alpha so `.list`, `.theme-hero-card` and every page follow the opacity slider - `.rg-ws-stage` z-index 1 above the host decoration image - Popover z-index 35 (below modal 40 / dialog 41 / menu 50), anchored to the trigger with inset-inline-end, follows the log drawer and RTL - Refresh all copy on locale change; release video (pause/src/load) on dispose; treat starting/resuming/stopping/suspending as VM-busy - Clear library button with destructive confirmation; large/4K video hint Guidelines and cleanup - Segmented slideshow control instead of native <select> - aria-label/title on close, 28px keyboard-reachable delete buttons, no nested buttons, labelled sliders, aria-expanded/haspopup on the trigger - User-facing copy without developer jargon, no trailing periods, English in sentence case; prefers-reduced-transparency support - Remove dead `randomRotate`, duplicate .rg-p-main rule, redundant disposal of SDK-managed resources and empty catch blocks Compliance and CI - Full Apache-2.0 LICENSE text and NOTICE, shipped in the package - Replace the JPG backdrops (unclear provenance) with original SVG artwork generated by scripts/gen-backgrounds.mjs - release.yml follows the Go version in Reims-Go go.mod and checks the tag matches plugin.json
|
感谢细致的评审!已基于 Reims-Go 最新主线( 1. 阻塞项
2. 功能、性能与交互
3. 规范、精简与合规
自测
|
Dnyo666
left a comment
There was a problem hiding this comment.
感谢快速且彻底的 v1.1.0 更新!已完成全面复核与实测:
- 构建溯源与静态门禁:公开 CI 产物
yfl520.theme.wallpaper-studio-1.1.0.zip(SHA-256f2af730f8701964e3becbdf826cba112b9b38f76f146b02ca00cf0db82a0000d)与仓库v1.1.0(86dae69)逐字节一致;PR Plugin Gate的Validate registry & run static security gate与reims-go plugin doctor -contract ui-contract.json均零硬拦截通过(Fork PR 末尾自动写评论步骤的403为 GitHub 只读GITHUB_TOKEN已知限制)。 - 兼容与端到端验证:已验证
v0.2.11与最新main市场兼容(compatible: true)、v1.0.1 -> v1.1.0IndexedDB 游标拆迁与脚本哈希重审、.list卡片不透明度联动、无障碍焦点/热区、实时中英/RTL 切换、二次确认清空及停用零残留释放。
附两处非阻塞的细微优化供后续小版本参考:
- 浮层打开期间挂有
role="dialog"会命中宿主的hasVisibleDialog()守卫,导致浮层打开时按Ctrl+L被宿主拦截(鼠标点外部则会先关闭浮层),若希望面板打开时仍允许Ctrl+L展开日志并实时跟随,后续可考虑改用role="region"配合aria-labelledby。renderActiveWallpaper()内requestAnimationFrame回调可补上if (disposed || seq !== renderSeq) return;。
LGTM,合并上架!🎉
变更类型 / Submission Type
withdrawn.json)插件信息 / Plugin Info
yfl520.theme.wallpaper-studio1.1.0L1+ui:script(交互式动态壁纸主题,零原生二进制、零网络调用)Apache-2.0功能简介
id读取当前壁纸。sdk.subscribeState、vm.stateChanged与visibilitychange,任意虚拟机处于starting/running/resuming/stopping/suspending或窗口隐藏、减少动态效果时暂停视频。--theme-card-alpha/--theme-scrim-alpha直接驱动--surface-1/--surface-sidebar/--surface-chrome/--surface-statusbar,所有页面同步生效;定时轮播、内置原创矢量昼夜双景与 6 套配色,支持prefers-reduced-transparency。自检清单 / Checklist
reims-go plugin doctor ./dir零硬拦截(基于 Reims-Go 主线dae9f06)SHA-256:f2af730f8701964e3becbdf826cba112b9b38f76f146b02ca00cf0db82a0000d;本地scripts/build-index.mjs --check通过ui:script)源码仓库公开且 Release 产物由公开 CI 工作流(.github/workflows/release.yml)从源码构建