feat(kaak): show channel occupancy limits

This commit is contained in:
Corrupted ILLUSIA committed 2026-10-10 22:25:01 +08:00
1 parent 387462d89a
commit a3bf476db6
23 files changed
+244 -20

No files matched your search

Binary file not shown.
+28 -2
View File
@@ -429,7 +429,20 @@
"part": "channel-count",
"children": [
{
"text": "{{channel.memberCount}}"
"text": "{{channel.memberCountLabel}}"
},
{
"tag": "span",
"part": "channel-capacity",
"when": {
"path": "channel.maxClientsLimited",
"equals": true
},
"children": [
{
"text": "/{{channel.maxClients}}"
}
]
}
]
},
@@ -823,7 +836,20 @@
},
"children": [
{
"text": "{{stagechannel.memberCount}}"
"text": "{{stagechannel.memberCountLabel}}"
},
{
"tag": "span",
"part": "voice-stage-capacity",
"when": {
"path": "stagechannel.maxClientsLimited",
"equals": true
},
"children": [
{
"text": "/{{stagechannel.maxClients}}"
}
]
}
]
}
+1 -1
View File
@@ -3,7 +3,7 @@
"packageType": "open-skin",
"id": "community.kaak-voice",
"name": "KAAK",
"version": "3.1.20",
"version": "3.1.21",
"author": "WebSpeak Project",
"license": "AGPL-3.0-only",
"description": "A KOOK-inspired voice workspace with collapsible voice groups and current voice-channel chat, TeamSpeak profile cards, and animated speaker states.",
+5
View File
@@ -509,6 +509,10 @@
font-size: 10px;
}
[data-ws-plugin-part="kaak-workspace.channel-capacity"] {
color: var(--skin-kaak-dim);
}
[data-ws-plugin-part="kaak-workspace.channel-voice-members"] {
display: grid;
gap: 1px;
@@ -773,6 +777,7 @@
[data-ws-plugin-part="kaak-workspace.voice-stage-title"] { min-width: 0; margin: 0; overflow: hidden; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
[data-ws-plugin-part="kaak-workspace.voice-stage-member-count"] { color: var(--skin-kaak-muted); font-size: 12px; }
[data-ws-plugin-part="kaak-workspace.voice-stage-member-count"]::before { content: "-"; margin-right: 6px; color: var(--skin-kaak-dim); }
[data-ws-plugin-part="kaak-workspace.voice-stage-capacity"] { color: var(--skin-kaak-dim); }
[data-ws-plugin-part="kaak-workspace.chat-panel-toggle"] {
display: grid;