diff --git a/web/src/components/web-client/AudioDock.vue b/web/src/components/web-client/AudioDock.vue
index f6977d5..67aaea9 100644
--- a/web/src/components/web-client/AudioDock.vue
+++ b/web/src/components/web-client/AudioDock.vue
@@ -11,12 +11,12 @@
{{ t("voiceActivity") }}
{{ t("desktopAudioControls") }} entry.id === skin.id)?.version, skin.version);
assert.equal(skin.schemaVersion, 3);
const home = skin.pluginData?.components.find((component) => component.page === "home");
@@ -560,6 +560,11 @@ test("the distributable KAAK package provides full home and voice surfaces", asy
assert.match(skin.css, /voice-dock-actions"\] \{[\s\S]*?grid-template-columns: minmax\(0, 1fr\) 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, /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;/);
+ assert.match(skin.css, /noise-suppression-toggle \{ grid-column: 2; grid-row: 1; align-self: center; \}/);
+ assert.match(skin.css, /voice\.audio-dock\.microphone[\s\S]*?grid-column: 2;[\s\S]*?grid-row: 2;/);
+ assert.match(skin.css, /voice\.audio-dock\.output[\s\S]*?grid-column: 3;[\s\S]*?grid-row: 2;/);
+ assert.match(skin.css, /accompaniment-toggle \{[\s\S]*?grid-column: 3;[\s\S]*?grid-row: 1;/);
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*\}/);
@@ -752,7 +757,7 @@ test("the Harbor voice skin imports a complete voice-only KOOK-inspired workspac
assert.ok(skin.css.includes('[data-ws-plugin-part="harbor-workspace.channel-row"][data-depth="1"]'));
assert.ok(skin.css.includes('[data-ws-plugin-part="harbor-workspace.identity-entry"]'));
assert.ok(skin.css.includes('data-ws-plugin-part="harbor-workspace.screen-share-start"'), "the host screen-share control uses the stable plugin part hook");
- assert.ok(skin.css.includes(".accompaniment-toggle { display: none; }"));
+ assert.ok(skin.css.includes(".accompaniment-toggle { display: none; }"));
assert.ok(!skin.css.includes("https://"), "the skin uses no remote artwork or font resources");
});
diff --git a/web/src/views/WebClient.vue b/web/src/views/WebClient.vue
index 8f962f9..40d08d5 100644
--- a/web/src/views/WebClient.vue
+++ b/web/src/views/WebClient.vue
@@ -1773,10 +1773,10 @@ const skinPluginWidgets = {
h("button", {
type: "button",
class: "mobile-voice-activity",
- "aria-label": t("voiceActivity"),
- title: t("voiceActivity"),
+ "aria-label": t("audioSettings"),
+ title: t("audioSettings"),
onClick: () => { settingsOpen.value = true; },
- }, [h(Icon, { name: "activity", size: 16 }), h("span", null, t("voiceActivity"))]),
+ }, [h("span", null, t("voiceActivity")), h(Icon, { name: "settings", size: 16 })]),
h("button", {
type: "button",
class: ["mobile-voice-toggle", "mobile-noise-suppression", noiseSuppressionEnabled.value && "active"],
@@ -1788,18 +1788,28 @@ const skinPluginWidgets = {
] : []),
h("button", {
type: "button",
- class: ["mobile-voice-toggle", microphoneMuted.value && "muted"],
+ class: ["mobile-voice-toggle", "mobile-microphone-toggle", microphoneMuted.value && "muted"],
"aria-label": t("microphone"),
"aria-pressed": !microphoneMuted.value,
onClick: toggleMicrophone,
}, [h(Icon, { name: microphoneMuted.value ? "mic-off" : "mic", size: 20 }), h("span", null, t("microphone"))]),
h("button", {
type: "button",
- class: ["mobile-voice-toggle", outputMuted.value && "muted"],
+ class: ["mobile-voice-toggle", "mobile-output-toggle", outputMuted.value && "muted"],
"aria-label": t("speaker"),
"aria-pressed": !outputMuted.value,
onClick: toggleOutputMute,
- }, [h(Icon, { name: outputMuted.value ? "volume-off" : "volume", size: 20 }), h("span", null, t("speaker"))]),
+ }, [h(Icon, { name: outputMuted.value ? "volume-off" : "volume", size: 20 }), h("span", null, t("speaker"))]),
+ ...(options?.layout === "room-panel" ? [
+ h("button", {
+ type: "button",
+ class: ["mobile-voice-toggle", "mobile-accompaniment-toggle", accompanimentActive.value && "active"],
+ "aria-label": accompanimentActive.value ? t("stopAccompaniment") : t("startAccompaniment"),
+ title: accompanimentActive.value ? t("stopAccompaniment") : t("startAccompaniment"),
+ "aria-pressed": accompanimentActive.value,
+ onClick: audioControls.toggleAccompaniment,
+ }, [h(Icon, { name: "music", size: 18 })]),
+ ] : []),
])
: h(AudioDock, {
model: audioDockState,
@@ -1849,7 +1859,7 @@ const skinPluginWidgets = {
class: "ws-plugin-disconnect-control",
"aria-label": t("exit"),
onClick: leaveVoiceWorkspace,
- }, [h(Icon, { name: "door", size: 18 }), h("span", null, t("exit"))]),
+ }, [h(Icon, { name: "power", size: 18 }), h("span", null, t("exit"))]),
};
watch(() => pokeNotifications.length, (length, previousLength) => {