mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-03 12:02:50 +08:00
feat(kaak): show channel join confirmation
This commit is contained in:
1 parent
2b6903f00a
commit
19e693c270
9 files changed
+54
-11
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
KAAK is a schema v3 open-skin package with full connection and voice-workspace surfaces. Its desktop voice page follows KOOK's proportions: an 80px server rail, a 290px channel pane, a 40px top bar, a central participant stage, right-side chat attached to the current voice channel, and a lower-left voice dock. The server rail uses KOOK's rounded-square silhouette and left-edge active marker, with distinct colored monogram tiles as placeholders. WebSpeak currently exposes the saved server label but no server icon image, so these tiles do not copy KOOK's artwork or expose a connection address. The host provides a stable color-tone number derived only from the privacy-safe label, so a tile keeps its color when the saved list order changes. The KOOK voice room is the point-to-point visual reference: composition, member presentation, styling, and motion should be compared directly, rather than treating matching component types or approximate placement as sufficient. The left tree contains the TeamSpeak voice channels only; KOOK's separate text-channel group is outside this pass because TeamSpeak has no equivalent channel type. The current voice channel's text chat remains on the right and can collapse into a narrow rail, then expand again without leaving the voice room. Its header uses the `#` channel mark and an unobtrusive close control; the composer sits at the bottom edge. Messages use author monograms, a separate identity/time line, and readable message text. The central stage uses WebSpeak's reusable member-card widget so available TeamSpeak profile avatars appear inside KAAK's participant tiles; the tiles use a wide 1.82:1 layout with a responsive grid to match KOOK's participant presentation. Member names stay hidden at rest while chat is open and appear on hover; they remain visible in a compact lower-left label while chat is collapsed. KAAK's CSS adds hover depth, a speaking ring, and a waveform pulse driven by live voice state. Paid screen sharing is outside this skin; its member cards and performance panel omit share actions and share-state details. The dock retains WebSpeak's trusted connection-quality, audio, and disconnect controls. Input/output volume buttons open hover or keyboard-focus panels with live numeric levels; sliders use a skin-colored progress track, a distinct thumb, and visible focus feedback. The audio settings dialog keeps the host's device-change handlers while KAAK styles the selectors' idle, hover, focus, and disabled states. The performance card opens with a short entrance motion and readable network/audio metrics. This pass did not change a real device, volume, or microphone state. The roster shows connected TeamSpeak clients only; it does not invent an offline list. Channel selection is single-click; joining is double-click. The narrow layout keeps the host's mobile controls available while retaining readable member tiles.
|
||||
|
||||
The single TeamSpeak voice-channel group in the left tree can collapse and expand like KOOK's voice group; the separate KOOK text-channel group remains outside this pass. The current voice-room heading keeps the channel name and live member count visible above the participant stage while the attached chat is expanded, matching KOOK's room view.
|
||||
The single TeamSpeak voice-channel group in the left tree can collapse and expand like KOOK's voice group; the separate KOOK text-channel group remains outside this pass. A first click selects a channel and reveals a brief “双击加入” hint; the hint disappears on the active room. The current voice-room heading keeps the channel name and live member count visible above the participant stage while the attached chat is expanded, matching KOOK's room view.
|
||||
|
||||
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.
|
||||
|
||||
|
||||
Binary file not shown.
@@ -422,6 +422,19 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "small",
|
||||
"part": "channel-join-hint",
|
||||
"when": {
|
||||
"path": "state.selectedchannel",
|
||||
"equals": "{{channel.id}}"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"text": "双击加入"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "small",
|
||||
"part": "channel-count",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"packageType": "open-skin",
|
||||
"id": "community.kaak-voice",
|
||||
"name": "KAAK",
|
||||
"version": "3.1.28",
|
||||
"version": "3.1.29",
|
||||
"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.",
|
||||
|
||||
@@ -504,6 +504,25 @@
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
[data-ws-plugin-part="kaak-workspace.channel-join-hint"] {
|
||||
flex: 0 0 auto;
|
||||
padding: 3px 5px;
|
||||
border-radius: 4px;
|
||||
color: #8cdda0;
|
||||
background: #58c87718;
|
||||
font-size: 9px;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
animation: kaak-channel-join-hint .14s ease both;
|
||||
}
|
||||
|
||||
[data-ws-plugin-part="kaak-workspace.channel-row"][aria-current="true"] [data-ws-plugin-part="kaak-workspace.channel-join-hint"] { display: none; }
|
||||
|
||||
@keyframes kaak-channel-join-hint {
|
||||
from { opacity: 0; transform: translateY(2px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
[data-ws-plugin-part="kaak-workspace.channel-count"] {
|
||||
color: var(--skin-kaak-dim);
|
||||
font-size: 10px;
|
||||
@@ -1728,6 +1747,7 @@
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
[data-ws-plugin-part="kaak-workspace.channel-join-hint"] { animation: none; }
|
||||
[data-ws-plugin-part="kaak-workspace.performance-panel"] .performance-panel { animation: none; }
|
||||
[data-ws-plugin-part="kaak-workspace"] .dock-slider::-webkit-slider-thumb,
|
||||
[data-ws-plugin-part="kaak-workspace"] .dock-slider::-moz-range-thumb,
|
||||
|
||||
Reference in new issue
Block a user