mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-03 03:52:50 +08:00
Place KAAK application launcher in the server rail
This commit is contained in:
1 parent
f20a372f4b
commit
12a37fc26f
8 files changed
+37
-9
No files matched your search
@@ -52,3 +52,5 @@ Member cards are rendered by WebSpeak's trusted `voice.member-cards` widget. It
|
||||
- Shared format and safety rules: [SKIN_DEVELOPMENT.md](../SKIN_DEVELOPMENT.md)
|
||||
|
||||
KAAK is included in the public skin selector and its `.wskin` archive is also available as a standalone package. After changing the source, run `npm run skin:kaak:build` to rebuild both copies, then run the package tests and verify the connection page, approval, denial, revoke, desktop, and narrow-screen paths in the local browser. The connected voice surface can be verified when a TeamSpeak session is available.
|
||||
|
||||
KAAK 3.1.133 places the application library icon in the server rail, alongside the skin and language controls. It opens the drawer beside the rail.
|
||||
Binary file not shown.
@@ -582,6 +582,7 @@
|
||||
"widget": "app.language-switcher",
|
||||
"part": "rail-language"
|
||||
},
|
||||
{"widget":"voice.plugin-launcher","part":"plugin-launcher","options":{"pluginPresentation":"drawer-side"}},
|
||||
{
|
||||
"widget": "home.social-links",
|
||||
"part": "rail-links",
|
||||
@@ -865,7 +866,6 @@
|
||||
"widget": "voice.server-header",
|
||||
"part": "server-summary"
|
||||
},
|
||||
{"widget":"voice.plugin-launcher","part":"plugin-launcher","options":{"pluginPresentation":"drawer-side"}},
|
||||
{
|
||||
"widget": "voice.server-banner",
|
||||
"part": "server-banner"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"packageType": "open-skin",
|
||||
"id": "community.kaak-voice",
|
||||
"name": "KAAK",
|
||||
"version": "3.1.132",
|
||||
"version": "3.1.133",
|
||||
"author": "WebSpeak Project",
|
||||
"license": "AGPL-3.0-only",
|
||||
"description": "A KOOK-inspired WebSpeak skin with a split-screen connection home, searchable server header, TeamSpeak banner, nested channel members, unified chat with local history, and a compact audio dock.",
|
||||
|
||||
@@ -4717,18 +4717,44 @@
|
||||
}
|
||||
|
||||
[data-ws-plugin-part="kaak-workspace.plugin-launcher"] {
|
||||
flex: 0 0 auto;
|
||||
padding: 4px 8px;
|
||||
--skin-plugin-app-accent: #a8ed50;
|
||||
order: 6;
|
||||
flex: 0 0 var(--skin-kaak-app-button-size);
|
||||
width: var(--skin-kaak-app-button-size);
|
||||
--skin-kaak-app-button-size: 58px;
|
||||
}
|
||||
[data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-launcher"] > button {
|
||||
color: var(--skin-plugin-app-accent);
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 0;
|
||||
width: var(--skin-kaak-app-button-size);
|
||||
height: var(--skin-kaak-app-button-size);
|
||||
border: 1px solid #3d4048;
|
||||
border-radius: 18px;
|
||||
color: #d1d5dc;
|
||||
background: var(--skin-kaak-rail-item-bg);
|
||||
}
|
||||
[data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-launcher"] > button > span {
|
||||
display: none;
|
||||
}
|
||||
[data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-launcher"] > button:is(:hover, :focus-visible, [aria-expanded="true"]) {
|
||||
border-color: #699b32;
|
||||
color: #a8ed50;
|
||||
background: #2b3524;
|
||||
}
|
||||
[data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-drawer"] {
|
||||
position: fixed;
|
||||
inset: auto auto max(76px, env(safe-area-inset-bottom)) 86px;
|
||||
box-sizing: border-box;
|
||||
width: min(280px, calc(100vw - 98px));
|
||||
background: #24272a;
|
||||
color: #e8e9ed;
|
||||
border-color: #3d4048;
|
||||
box-shadow: 0 12px 32px #0006;
|
||||
}
|
||||
[data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-drawer.app"]:hover {
|
||||
[data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-drawer.app"]:is(:hover, :focus-visible) {
|
||||
background: #2b3524;
|
||||
}
|
||||
@media (max-height: 620px), (max-width: 500px) {
|
||||
[data-ws-plugin-part="kaak-workspace.plugin-launcher"] { --skin-kaak-app-button-size: 44px; }
|
||||
[data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-launcher"] > button { border-radius: 14px; }
|
||||
}
|
||||
Binary file not shown.
@@ -46,7 +46,7 @@ export const BUILTIN_SKIN_CATALOG: SkinCatalogEntry[] = [
|
||||
{
|
||||
id: BUILTIN_KAAK_SKIN_ID,
|
||||
name: "KAAK",
|
||||
version: "3.1.132",
|
||||
version: "3.1.133",
|
||||
author: "WebSpeak Project",
|
||||
license: "AGPL-3.0-only",
|
||||
description: "A KOOK-inspired WebSpeak skin with a split-screen connection home, searchable server header, TeamSpeak banner, nested channel members, unified chat with local history, and a compact audio dock.",
|
||||
|
||||
@@ -490,7 +490,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.132");
|
||||
assert.equal(skin.version, "3.1.133");
|
||||
assert.equal(skin.workspace, undefined);
|
||||
assert.equal(skin.minAppVersion, "0.3.2");
|
||||
assert.equal(BUILTIN_SKIN_CATALOG.find((entry) => entry.id === skin.id)?.version, skin.version);
|
||||
|
||||
Reference in new issue
Block a user