fix(kaak): layer audio popovers above metrics

This commit is contained in:
illusia committed 2026-10-11 15:22:55 +08:00
1 parent a84a12ced4
commit a1051b989e
7 files changed
+14 -5

No files matched your search

+7
View File
@@ -443,3 +443,10 @@
- 功能核查:伴奏按钮已连接到宿主的启动/停止处理器,启动会请求浏览器选择共享音频来源,并要求语音会话协商成功 WebRTC;未建立 WebRTC 时宿主会给出当前已有提示。截图无法确认实际连接协商状态,因此本轮只修复皮肤表现并以代码核查确认事件链,不能据此宣称已完成真实房间伴奏验收。
- 文档与分发包:KAAK 升至 3.1.61;已更新皮肤目录和版本断言,并重建示例与内置 `.wskin`。
- 验证与推送:皮肤包构建、定向语音/皮肤测试(172 项)和完整 `npm run verify`(670/670 测试、服务端 TypeScript、前端类型检查及 Vite 生产构建)通过;`git diff --check` 通过。代码核查确认伴奏操作已有浏览器来源选择和 WebRTC 宿主链路,但未在真实语音房触发采集,因此不将其记为实机功能验收。已基于远端最新 `dev` 安全移植并推送至提交 `938bb06`,未重写历史。
## 本轮修改节点(2026-10-11,KAAK 3.1.62 修正性能卡片浮层层级)
- 用户反馈:性能指标弹出卡片遮挡音量悬浮面板。
- 修改内容与范围:将 KAAK 性能组件的堆叠层级从 24 降至 8,使它继续浮在普通内容上方,同时低于音量控件的 20 层悬浮面板;只调整皮肤层级,不改通用弹窗或性能组件。
- 文档与分发包:KAAK 升至 3.1.62,更新层级断言并重建示例与内置 `.wskin`。
- 验证与推送:皮肤包构建、皮肤包/目录定向测试 23/23 通过,`git diff --check` 通过;已完成层级差异断言。待安全同步到 `dev`。
Binary file not shown.
+1 -1
View File
@@ -3,7 +3,7 @@
"packageType": "open-skin",
"id": "community.kaak-voice",
"name": "KAAK",
"version": "3.1.61",
"version": "3.1.62",
"author": "WebSpeak Project",
"license": "AGPL-3.0-only",
"description": "A KOOK-inspired voice workspace with collapsible voice groups, channel chat, TeamSpeak profile cards, accessible member controls, and WebSpeak screen sharing.",
+1 -1
View File
@@ -1815,7 +1815,7 @@
[data-ws-plugin-part="kaak-workspace.performance-panel"] .network-performance {
position: relative;
z-index: 24;
z-index: 8;
}
[data-ws-plugin-part="kaak-workspace.performance-panel"] .performance-trigger {
Binary file not shown.
+1 -1
View File
@@ -46,7 +46,7 @@ export const BUILTIN_SKIN_CATALOG: SkinCatalogEntry[] = [
{
id: BUILTIN_KAAK_SKIN_ID,
name: "KAAK",
version: "3.1.61",
version: "3.1.62",
author: "WebSpeak Project",
license: "AGPL-3.0-only",
description: "A KOOK-inspired voice-room workspace with collapsible voice groups, channel chat, TeamSpeak profile cards, accessible host-owned member controls, and WebSpeak screen sharing.",
+4 -2
View File
@@ -464,7 +464,7 @@ test("the distributable KAAK package provides full home and voice surfaces", asy
const file = new File([archive], "kaak-voice.wskin", { type: "application/octet-stream" });
const skin = await importSkinPack(file);
assert.equal(skin.id, "community.kaak-voice");
assert.equal(skin.version, "3.1.61");
assert.equal(skin.version, "3.1.62");
assert.equal(BUILTIN_SKIN_CATALOG.find((entry) => entry.id === skin.id)?.version, skin.version);
assert.equal(skin.schemaVersion, 3);
const home = skin.pluginData?.components.find((component) => component.page === "home");
@@ -656,7 +656,9 @@ test("the distributable KAAK package provides full home and voice surfaces", asy
assert.match(skin.css, /@keyframes ws-community-kaak-voice-kaak-member-speaking-wave/);
assert.ok(skin.css.includes("animation: ws-community-kaak-voice-kaak-performance-refresh-spin .72s linear infinite;"));
assert.ok(skin.css.includes("performance-refresh:disabled .ui-icon { animation: none; }"));
assert.match(skin.css, /kaak-workspace\.identity-entry[\s\S]*?position: absolute;/);
assert.match(skin.css, /kaak-workspace\.performance-panel"\] \.network-performance \{\s*position: relative;\s*z-index: 8;/);
assert.match(skin.css, /kaak-workspace"\] \.dock-hover-panel \{[\s\S]*?background: #202126;/);
assert.match(skin.css, /kaak-workspace\.identity-entry[\s\S]*?position: absolute;/);
assert.ok(skin.css.includes("@media (max-width: 820px)"));
});