mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-02 19:42:51 +08:00
fix(kaak): move noise control into lower row
This commit is contained in:
1 parent
cf692174da
commit
25148dd343
7 files changed
+20
-21
No files matched your search
@@ -426,3 +426,12 @@
|
||||
- 文档与分发包:KAAK 升至 3.1.59,更新布局断言,并重建示例与内置 `.wskin`。
|
||||
- 验证:皮肤包构建通过;皮肤包与目录定向测试 23/23 通过,新增布局断言后皮肤包测试 21/21 通过;差异空白检查通过。实时语音工作区目视验收另行记录。
|
||||
- 当前状态:位置修正与定向验证完成;本地提交 `90f7c6a` 已同步到 `dev`(远端提交 `729e413`)。实时语音工作区尚未做本轮目视验收。
|
||||
|
||||
## 本轮修改节点(2026-10-11,KAAK 3.1.60 控制坞降噪按钮归位)
|
||||
|
||||
- 参考与目标:按用户标注的 KOOK 截图,波形“+”降噪控件位于底排,紧接语音活动/设置入口,排在麦克风左侧;屏幕分享与音乐留在顶排。
|
||||
- 修改内容与原因:3.1.59 已声明降噪放在底排,但实际控件仍出现在顶排。控制坞的嵌套网格与 `subgrid` 让内部音频控件的位置没有可靠映射到外层网格。本次让 KAAK 桌面音频控件直接参与控制坞网格,并隐藏 room-panel 中不需要的重复说明文本;移动布局同样让操作按钮直接映射到四列网格,固定语音活动、降噪、麦克风、扬声器的次序。未修改宿主控件或音频功能。
|
||||
- 版本与分发包:KAAK 升至 3.1.60;补充包测试断言,重建示例和内置 `.wskin`。
|
||||
- 验证:皮肤包构建及定向测试 21/21 通过;完整 `npm run verify` 通过(670/670 测试、服务端 TypeScript 构建、前端类型检查与 Vite 生产构建),`git diff --check` 通过。尚未做实时语音工作区目视复核。
|
||||
- 影响文件:KAAK 控制坞 CSS、皮肤清单/目录版本、皮肤包测试、示例与内置 `.wskin`、本工作记录。
|
||||
- 当前状态:依据截图完成布局并通过自动验证,待提交和推送;尚未做实时语音工作区目视复核。
|
||||
Binary file not shown.
@@ -3,7 +3,7 @@
|
||||
"packageType": "open-skin",
|
||||
"id": "community.kaak-voice",
|
||||
"name": "KAAK",
|
||||
"version": "3.1.59",
|
||||
"version": "3.1.60",
|
||||
"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.",
|
||||
|
||||
@@ -1490,16 +1490,9 @@
|
||||
[data-ws-plugin-part="kaak-workspace.audio-controls"] { display: contents; }
|
||||
|
||||
[data-ws-plugin-part="kaak-workspace.audio-controls"] .desktop-audio-dock-room-panel {
|
||||
display: grid;
|
||||
grid-column: 1 / -1;
|
||||
grid-row: 1 / span 2;
|
||||
grid-template-columns: subgrid;
|
||||
grid-template-rows: subgrid;
|
||||
align-items: center;
|
||||
width: auto;
|
||||
gap: inherit;
|
||||
padding: 0;
|
||||
display: contents;
|
||||
}
|
||||
[data-ws-plugin-part="kaak-workspace.audio-controls"] .desktop-audio-dock-copy { display: none; }
|
||||
[data-ws-plugin-part="kaak-workspace.audio-controls"] .room-panel-audio-settings {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
@@ -1718,14 +1711,7 @@
|
||||
}
|
||||
[data-ws-plugin-part="kaak-workspace.audio-controls"] { display: contents; }
|
||||
[data-ws-plugin-part="kaak-workspace.audio-controls"] .mobile-voice-controls {
|
||||
display: grid;
|
||||
grid-column: 1 / -1;
|
||||
grid-row: 1 / span 2;
|
||||
grid-template-columns: subgrid;
|
||||
grid-template-rows: subgrid;
|
||||
align-items: center;
|
||||
column-gap: inherit;
|
||||
row-gap: inherit;
|
||||
display: contents;
|
||||
}
|
||||
[data-ws-plugin-part="kaak-workspace.audio-controls"] .mobile-voice-activity {
|
||||
grid-column: 1;
|
||||
|
||||
Binary file not shown.
@@ -46,7 +46,7 @@ export const BUILTIN_SKIN_CATALOG: SkinCatalogEntry[] = [
|
||||
{
|
||||
id: BUILTIN_KAAK_SKIN_ID,
|
||||
name: "KAAK",
|
||||
version: "3.1.59",
|
||||
version: "3.1.60",
|
||||
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.",
|
||||
|
||||
@@ -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.59");
|
||||
assert.equal(skin.version, "3.1.60");
|
||||
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");
|
||||
@@ -558,7 +558,8 @@ test("the distributable KAAK package provides full home and voice surfaces", asy
|
||||
assert.match(skin.css, /--skin-kaak-accent: #6cbf00;/);
|
||||
assert.match(skin.css, /voice-dock"\] \{[\s\S]*?width: min\(264px, 100%\);[\s\S]*?border-radius: 17px;/);
|
||||
assert.match(skin.css, /voice-dock-actions"\] \{[\s\S]*?grid-template-columns: minmax\(0, 1fr\) 37px 37px 37px;[\s\S]*?grid-template-rows: 28px 23px;/);
|
||||
assert.match(skin.css, /desktop-audio-dock-room-panel \{[\s\S]*?grid-template-columns: subgrid;[\s\S]*?grid-template-rows: subgrid;/);
|
||||
assert.match(skin.css, /desktop-audio-dock-room-panel \{\s*display: contents;\s*\}/);
|
||||
assert.match(skin.css, /desktop-audio-dock-copy \{ display: none; \}/);
|
||||
assert.match(skin.css, /kaak-workspace\.voice-dock-share"\] \{ grid-column: 1 \/ 4; grid-row: 1;/);
|
||||
assert.match(skin.css, /kaak-workspace\.voice-dock-share[\s\S]*?skin-runtime-screen-share-start \{[\s\S]*?height: 28px;[\s\S]*?background: #6cbf00;/);
|
||||
assert.match(skin.css, /room-panel-audio-settings[\s\S]*?grid-column: 1;[\s\S]*?grid-row: 2;/);
|
||||
@@ -566,6 +567,9 @@ test("the distributable KAAK package provides full home and voice surfaces", asy
|
||||
assert.match(skin.css, /voice\.audio-dock\.microphone[\s\S]*?grid-column: 3;[\s\S]*?grid-row: 2;/);
|
||||
assert.match(skin.css, /voice\.audio-dock\.output[\s\S]*?grid-column: 4;[\s\S]*?grid-row: 2;/);
|
||||
assert.match(skin.css, /accompaniment-toggle \{[\s\S]*?grid-column: 4;[\s\S]*?grid-row: 1;/);
|
||||
assert.match(skin.css, /mobile-voice-controls \{\s*display: contents;\s*\}/);
|
||||
assert.match(skin.css, /mobile-noise-suppression \{ grid-column: 2; grid-row: 2; \}/);
|
||||
assert.match(skin.css, /mobile-microphone-toggle \{ grid-column: 3; grid-row: 2; \}/);
|
||||
assert.match(skin.css, /voice\.member\.action-trigger[\s\S]*?width: 44px;/);
|
||||
assert.match(skin.css, /--skin-kaak-accent-hover: #7ac51a;/);
|
||||
assert.match(skin.css, /voice-card\[data-ws-speaking="true"\] > span \{\s*color: var\(--skin-kaak-accent\);\s*\}/);
|
||||
|
||||
Reference in new issue
Block a user