Repository navigation
v0.1.1 — DSH v0.1.2-alpha.2+ compatibility fix 兼容性修复
v0.1.1 — DSH v0.1.2-alpha.2+ 兼容性修复
修复 DSH v0.1.2-alpha.2 起移除元素属性 data-time-hover-root 导致的兼容性告警。
变更
- 将插件自用的消息时钟 hover 显示属性由已移除的
data-time-hover-root迁移为当前 DSH 的data-actions-reveal="hover"(lib/client.js)- CSS 选择器:
[data-time-hover-root]→[data-actions-reveal="hover"] - 渲染属性:
data-time-hover-root: true→data-actions-reveal: 'hover'
- CSS 选择器:
- 消除 dsh-service 兼容性扫描器对
data-time-hover-root的「可能不兼容」报告
兼容性
- 目标:DSH
v0.1.2-alpha.2及以上 - 行为不变:用户消息超过 10 行自动折叠,点击「展开全部」查看完整内容,hover 显示时间
v0.1.1 — DSH v0.1.2-alpha.2+ compatibility fix
Fixes the compatibility warning caused by the data-time-hover-root element attribute removed in DSH v0.1.2-alpha.2.
Changes
- Migrate the plugin's message-clock hover-reveal attribute from the removed
data-time-hover-rootto the current DSHdata-actions-reveal="hover"(lib/client.js)- CSS selectors:
[data-time-hover-root]→[data-actions-reveal="hover"] - Render attribute:
data-time-hover-root: true→data-actions-reveal: 'hover'
- CSS selectors:
- Clears the "possibly incompatible" report from the dsh-service compatibility scanner
Compatibility
- Target: DSH
v0.1.2-alpha.2and newer - Behavior unchanged: user messages over 10 lines auto-collapse, click "展开全部" to expand, clock shows on hover