feat(skins): refine KAAK voice workspace fidelity

This commit is contained in:
illusia committed 2026-10-10 16:27:46 +08:00
1 parent ad0aa5c120
commit 7f5d3e1b3c
14 files changed
+134 -35

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ v4 当前运行路径已不使用 v3 固定标签/属性/状态/动作表来构
- session.status.read:连接状态、当前频道和显示名称。
- session.channels.read:公开频道树、频道名称、层级、人数和当前频道标志。
- session.members.read:可见成员名称、所在频道、在线状态、说话状态及本人标志。
- session.members.read:可见成员名称、由名称派生的首字标记、所在频道、在线状态、说话状态及本人标志;不提供成员头像图像。
- chat.channel.read:当前公开文字频道中可见的消息。
- favorites.read:收藏项名称、类型、是否当前项和随机不透明本地令牌;不提供地址或凭据。
- servers.quickList.read:统一后的收藏和最近连接名称、当前项、分类与随机不透明本地令牌;不提供地址或凭据。
+2 -2
View File
@@ -1,6 +1,6 @@
# KAAK voice skin
KAAK is a schema v3 open-skin package with full connection and voice-workspace surfaces. Its voice page uses a narrow server rail, grouped TeamSpeak channels with inline voice participants, a central text chat, an online-member column, and a lower-left voice dock. Channel selection is single-click; joining is double-click. The narrow layout keeps the host's mobile controls available.
KAAK is a schema v3 open-skin package with full connection and voice-workspace surfaces. Its voice page uses a narrow server rail, hierarchical TeamSpeak channels with inline participants under every occupied channel, a central text chat, an online-member column, and a lower-left voice dock. The dock includes WebSpeak's host-owned voice-quality panel. The roster labels connected clients as online; it does not fabricate an offline list because TeamSpeak only supplies connected members. Channel selection is single-click; joining is double-click. The narrow layout keeps the host's mobile controls available.
The design target is the voice-client portion of KOOK, as requested by the project owner. It does not include discovery, companion/party, event, store, advertising, administrator, or other service-operator pages. It does not add a KOOK account flow, direct messages, server administration, or channels absent from the connected TeamSpeak server.
@@ -12,7 +12,7 @@ The owner authorized inspection of the first two voice rooms in the KOOK server.
The connection page and voice workspace are full-page declarative surfaces in [components.json](./kaak-voice/components.json). The voice surface requests only the capabilities it uses: visible server shortcuts, channel and member data, channel joining, channel chat, voice status, microphone/output controls, whisper controls, disconnect, and screen sharing. The host renders trusted connection, language, skin, audio, and screen-share controls. It rechecks permissions and connection state when each action runs; approval is local to this skin version and can be revoked from the host access control.
The skin does not receive server addresses, passwords, identity keys, raw audio, private messages, or arbitrary network/storage APIs. Its markup is data-only; it contains no executable JavaScript or Wasm. The `/demo` page uses synthetic data and does not connect to TeamSpeak.
Member avatar circles use the first character derived from the visible nickname; KAAK does not read profile image files. The skin does not receive server addresses, passwords, identity keys, raw audio, private messages, or arbitrary network/storage APIs. Its markup is data-only; it contains no executable JavaScript or Wasm. The `/demo` page uses synthetic data and does not connect to TeamSpeak.
## Files
Binary file not shown.
+18 -5
View File
@@ -245,7 +245,7 @@
"part": "server-monogram",
"children": [
{
"text": "{{server.label}}"
"text": "{{server.monogram}}"
}
]
},
@@ -394,8 +394,8 @@
"tag": "ul",
"part": "channel-voice-members",
"when": {
"path": "channel.current",
"equals": true
"path": "channel.members",
"empty": false
},
"attributes": {
"aria-label": "此频道中的语音成员 / Voice members in this channel"
@@ -414,7 +414,7 @@
"part": "channel-member-avatar",
"children": [
{
"text": "{{voicemember.name}}"
"text": "{{voicemember.avatarInitial}}"
}
]
},
@@ -681,6 +681,15 @@
"tag": "ul",
"part": "member-list",
"children": [
{
"tag": "li",
"part": "member-group-label",
"children": [
{
"text": "在线 / ONLINE"
}
]
},
{
"tag": "li",
"part": "member-row",
@@ -694,7 +703,7 @@
"part": "member-avatar",
"children": [
{
"text": "{{member.name}}"
"text": "{{member.avatarInitial}}"
}
]
},
@@ -844,6 +853,10 @@
"text": "语音已连接"
}
]
},
{
"widget": "voice.performance-panel",
"part": "performance-panel"
}
]
},
+1 -1
View File
@@ -3,7 +3,7 @@
"packageType": "open-skin",
"id": "community.kaak-voice",
"name": "KAAK",
"version": "3.0.1",
"version": "3.0.6",
"author": "WebSpeak Project",
"license": "AGPL-3.0-only",
"description": "A complete dark voice-client workspace inspired by modern voice apps, built with WebSpeak host controls and public TeamSpeak data.",
+56 -13
View File
@@ -171,13 +171,12 @@
[data-ws-plugin-part="kaak-workspace.quick-server"] {
display: grid;
justify-items: center;
gap: 3px;
width: 52px;
min-height: 54px;
padding: 4px;
place-items: center;
width: 50px;
min-height: 50px;
padding: 1px;
border: 0;
border-radius: 13px;
border-radius: 50%;
color: var(--skin-kaak-muted);
background: transparent;
cursor: pointer;
@@ -191,26 +190,31 @@
[data-ws-plugin-part="kaak-workspace.quick-server"][aria-current="true"] {
color: var(--skin-kaak-text);
background: var(--skin-kaak-raised);
box-shadow: inset 3px 0 var(--skin-kaak-accent);
}
[data-ws-plugin-part="kaak-workspace.server-monogram"] {
display: grid;
place-items: center;
width: 40px;
height: 40px;
width: 42px;
height: 42px;
overflow: hidden;
border: 1px solid #ffffff12;
border-radius: 13px;
border-radius: 50%;
color: var(--skin-kaak-text);
background: linear-gradient(145deg, #383a40, #222429);
font-size: 11px;
font-size: 15px;
font-weight: 800;
text-align: center;
}
[data-ws-plugin-part="kaak-workspace.quick-server"][aria-current="true"] [data-ws-plugin-part="kaak-workspace.server-monogram"] {
border-color: var(--skin-kaak-accent);
background: color-mix(in srgb, var(--skin-kaak-accent) 18%, #222429);
}
[data-ws-plugin-part="kaak-workspace.server-kind"] {
display: none;
color: var(--skin-kaak-dim);
font-size: 8px;
line-height: 1;
@@ -570,6 +574,16 @@
list-style: none;
}
[data-ws-plugin-part="kaak-workspace.member-group-label"] {
grid-column: 1 / -1;
margin: 8px 5px 2px;
color: var(--skin-kaak-dim);
font-size: 9px;
font-weight: 800;
letter-spacing: .08em;
list-style: none;
}
[data-ws-plugin-part="kaak-workspace.member-row"] {
display: grid;
grid-template-columns: 32px minmax(0, 1fr);
@@ -636,11 +650,39 @@
[data-ws-plugin-part="kaak-workspace.voice-dock-heading"] {
grid-column: 1 / -1;
display: grid;
grid-template-columns: 10px minmax(0, 1fr);
grid-template-columns: 10px minmax(0, 1fr) auto;
align-items: center;
gap: 2px 7px;
}
[data-ws-plugin-part="kaak-workspace.performance-panel"] {
grid-column: 3;
grid-row: 1 / 3;
align-self: center;
}
[data-ws-plugin-part="kaak-workspace.performance-panel"] [data-ws-part="voice.performance"] > button {
min-height: 28px;
padding: 0 7px;
border-color: var(--skin-kaak-border);
border-radius: 7px;
color: var(--skin-kaak-muted);
background: var(--skin-kaak-raised);
font-size: 9px;
}
[data-ws-plugin-part="kaak-workspace.performance-panel"] [data-ws-part="voice.performance.panel"] {
top: auto;
right: auto;
left: 0;
bottom: calc(100% + 8px);
width: min(380px, calc(100vw - 96px));
z-index: 20;
color: var(--skin-kaak-text);
background: var(--skin-kaak-panel);
border-color: var(--skin-kaak-border);
}
[data-ws-plugin-part="kaak-workspace.voice-dock-actions"] {
grid-column: 1 / -1;
display: flex;
@@ -852,6 +894,7 @@
overflow: auto hidden;
margin: 0;
}
[data-ws-plugin-part="kaak-workspace.member-group-label"] { align-self: center; margin: 0 3px; white-space: nowrap; }
[data-ws-plugin-part="kaak-workspace.member-row"] { flex: 0 0 auto; grid-template-columns: 28px auto; min-height: 38px; padding: 2px 4px; }
[data-ws-plugin-part="kaak-workspace.member-avatar"] { width: 26px; height: 26px; }
[data-ws-plugin-part="kaak-workspace.speaking-indicator"] { display: none; }
@@ -871,7 +914,7 @@
border-right: 0;
border-bottom: 0;
}
[data-ws-plugin-part="kaak-workspace.voice-dock-heading"] { grid-column: auto; grid-row: auto; }
[data-ws-plugin-part="kaak-workspace.voice-dock-heading"] { grid-column: auto; grid-row: auto; grid-template-columns: 10px minmax(0, 1fr) auto; }
[data-ws-plugin-part="kaak-workspace.voice-dock-actions"] { grid-column: 2; grid-row: 1; justify-content: flex-end; gap: 3px; }
[data-ws-plugin-part="kaak-workspace.voice-dock-caption"] { display: none; }
[data-ws-plugin-part="kaak-workspace.disconnect-control"] { grid-column: 2; grid-row: 1; }