mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-03 03:52:50 +08:00
fix(kaak): smooth member speaking glow
This commit is contained in:
1 parent
deb5ca4e43
commit
5da11b41f9
8 files changed
+17
-6
No files matched your search
@@ -12,7 +12,7 @@
|
||||
|
||||
## 当前检查点(2026-10-11)
|
||||
|
||||
- 本地 `dev` 已包含 KAAK 3.1.34:输入/输出设备选择改为通用自绘键盘可访问下拉控件;成员姓名悬停反馈及频道分组收起/展开都加入短过渡;性能卡片支持外部点击/Escape 收起、焦点返回和开合动画。音量、字体及屏幕分享范围见各节点记录。
|
||||
- 本地 `dev` 已包含 KAAK 3.1.35:输入/输出设备选择为通用自绘键盘可访问下拉控件;成员姓名悬停、分组收起/展开、性能卡片开合和成员说话态发光均有对应反馈。音量、字体及屏幕分享范围见各节点记录。
|
||||
- 已授权第二个普通语音频道的聊天初始为展开。手动收起后聊天栏完全隐藏,成员舞台扩宽,频道标题与人数仍可见;成员姓名在收起状态常显。麦克风保持静音,没有发消息或执行管理员操作;随后已离开语音房间。该频道不作为音乐频道默认状态的证据。
|
||||
- 工作记录不存服务器地址、密码、密钥、房间名、成员名单或聊天内容。上一完整测试仍是 654/655,唯一失败为 `voice.member.mic-status` 布局钩子未注册。
|
||||
- 重新打开 KOOK 原始语音页并查看已授权的前两个语音频道。原页此前记录了“聊天展开时姓名标签仍可见”,但本轮首次进入后的截图修正了这一判断:静止时姓名隐藏,悬停成员卡后出现;聊天收起时姓名常显。首次进入已观察的两个授权语音频道时,右侧当前频道聊天均默认展开;不能据此推断音乐类频道默认状态。麦克风关闭、未发消息、未操作管理员功能;结束后关闭了临时 KOOK 标签。
|
||||
@@ -154,3 +154,13 @@
|
||||
- 验证结果:`npm run skin:kaak:build`、`npm run web:build` 通过;皮肤包与目录定向测试 23/23 通过;`git diff --check` 通过。侧栏浏览器本地合成预览确认外部点击后 `aria-expanded=false`、Escape 后同样收起且焦点返回触发按钮,并检查卡片样式和网络数据布局。没有连接 TeamSpeak 或操作真实音频设备、音量、麦克风、屏幕分享。
|
||||
- 影响文件/提交:通用性能面板组件、KAAK 样式/说明/工作日志、皮肤包测试、内置目录包与两个分发包;随本节点提交推送 `dev`。
|
||||
- 当前状态与下一步:性能卡片有一致的关闭路径、开合动画和可访问焦点返回。KOOK 原页本轮桥接超时,没有新增观察或声称逐帧一致。此前待确认的音乐语音频道首次进入时聊天默认状态仍未得到用户选择,不能从现有 TeamSpeak 频道模型可靠判断;下一节点继续处理能直接核实的语音交互/字体差异,屏幕分享保持跳过。
|
||||
|
||||
## 本轮修改节点(2026-10-11,KAAK 3.1.35)
|
||||
|
||||
- 问题依据:成员卡片说话态会改变外框阴影,但卡片原有过渡列表只包含边框与背景色,所以外框发光会突然出现/消失。KAAK 布局隐藏状态文字,当前不可见的紫色文字波形不作为此节点改动目标。
|
||||
- 修改内容与边界:将 `box-shadow` 加入成员卡片已有的状态过渡,让同一个实时说话态驱动的边框与发光同步变化。仅改 KAAK 皮肤样式、包版本和说明,不改成员组件、实时语音状态或 WebSpeak 宿主。
|
||||
- 原页核查:KOOK 页加载后,语音行点击与后续状态读取连续超时;本节点沿用已记录的成员卡和实时说话状态,不新增 KOOK 动效或颜色结论。
|
||||
- 文档与分发包:KAAK 升至 3.1.35,更新成员卡说明、样式包断言、内置目录版本及两份分发包。
|
||||
- 验证结果:`npm run skin:kaak:build`、`npm run web:build` 通过;皮肤包与目录定向测试 23/23 通过;`git diff --check` 通过。未连接语音房间,因此没有声称对真实说话状态的动态验收;不启用麦克风或改变真实音频状态。
|
||||
- 影响文件/提交:KAAK 成员卡样式、版本目录、说明、工作日志、包测试和两份分发包;随本节点提交推送 `dev`。
|
||||
- 当前状态与下一步:说话态的可见外框发光不再突变。继续从可核实的 KOOK 语音交互与现有皮肤映射中挑选成组节点;音乐频道聊天默认状态仍待用户确认,屏幕分享按要求跳过。
|
||||
@@ -1,6 +1,6 @@
|
||||
# KAAK voice skin
|
||||
|
||||
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. Closing it hides the entire panel, expands the participant stage, and leaves a reopen button in the stage heading; this happens 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 fade upward into the lower-left label on hover; they remain visible 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. Audio input and output devices use a reusable keyboard-accessible picker with a scrollable option list, selected/highlighted states, and an animated chevron; KAAK styles the trigger and open list. Audio typography follows KOOK's PingFang SC-first font stack and observed 14px field labels. The performance card opens with a short entrance motion and readable network/audio metrics. No real device, volume, or microphone state is changed during visual checks. 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.
|
||||
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. Closing it hides the entire panel, expands the participant stage, and leaves a reopen button in the stage heading; this happens 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 fade upward into the lower-left label on hover; they remain visible while chat is collapsed. KAAK's CSS adds hover depth and a smoothly transitioning speaking ring 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. Audio input and output devices use a reusable keyboard-accessible picker with a scrollable option list, selected/highlighted states, and an animated chevron; KAAK styles the trigger and open list. Audio typography follows KOOK's PingFang SC-first font stack and observed 14px field labels. The performance card opens with a short entrance motion and readable network/audio metrics. No real device, volume, or microphone state is changed during visual checks. 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 collapses and expands with a short two-way height and fade transition 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.
|
||||
|
||||
|
||||
Binary file not shown.
@@ -3,7 +3,7 @@
|
||||
"packageType": "open-skin",
|
||||
"id": "community.kaak-voice",
|
||||
"name": "KAAK",
|
||||
"version": "3.1.34",
|
||||
"version": "3.1.35",
|
||||
"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.",
|
||||
|
||||
@@ -919,7 +919,7 @@
|
||||
background: #26272b;
|
||||
box-shadow: none;
|
||||
text-align: left;
|
||||
transition: border-color .18s ease, background-color .18s ease;
|
||||
transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
|
||||
}
|
||||
|
||||
[data-ws-plugin-part="kaak-workspace.member-cards"] .ws-voice-member-move { transition: transform .28s cubic-bezier(.22, .61, .36, 1); }
|
||||
|
||||
Binary file not shown.
@@ -46,7 +46,7 @@ export const BUILTIN_SKIN_CATALOG: SkinCatalogEntry[] = [
|
||||
{
|
||||
id: BUILTIN_KAAK_SKIN_ID,
|
||||
name: "KAAK",
|
||||
version: "3.1.34",
|
||||
version: "3.1.35",
|
||||
author: "WebSpeak Project",
|
||||
license: "AGPL-3.0-only",
|
||||
description: "A KOOK-inspired voice-room workspace with collapsible voice groups, current voice-channel chat, TeamSpeak profile cards, and accessible host-owned voice controls.",
|
||||
|
||||
@@ -464,7 +464,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.34");
|
||||
assert.equal(skin.version, "3.1.35");
|
||||
assert.equal(BUILTIN_SKIN_CATALOG.find((entry) => entry.id === skin.id)?.version, skin.version);
|
||||
assert.equal(skin.schemaVersion, 3);
|
||||
const home = skin.pluginData?.components.find((component) => component.page === "home");
|
||||
@@ -569,6 +569,7 @@ test("the distributable KAAK package provides full home and voice surfaces", asy
|
||||
assert.match(skin.css, /kaak-workspace\.server-monogram[\s\S]*?width: 48px;[\s\S]*?height: 48px;/);
|
||||
assert.match(skin.css, /voice-grid[\s\S]*?grid-template-columns: repeat\(auto-fit/);
|
||||
assert.match(skin.css, /voice-card[\s\S]*?aspect-ratio: 1\.82;/);
|
||||
assert.match(skin.css, /\.voice-card\s*\{[\s\S]*?transition: border-color \.18s ease, background-color \.18s ease, box-shadow \.18s ease;/);
|
||||
assert.match(skin.css, /voice-card[\s\S]*?max-width: 480px;/);
|
||||
assert.match(skin.css, /\.ws-voice-member-move \{ transition: transform \.28s/);
|
||||
assert.match(skin.css, /\.ws-voice-member-enter-from,[\s\S]*?\.ws-voice-member-leave-to \{ opacity: 0; transform: translateY\(10px\) scale\(\.975\); \}/);
|
||||
|
||||
Reference in new issue
Block a user