diff --git a/docs/KAAK-CLONE-WORKLOG.zh-CN.md b/docs/KAAK-CLONE-WORKLOG.zh-CN.md index 4a6d819..019bf6e 100644 --- a/docs/KAAK-CLONE-WORKLOG.zh-CN.md +++ b/docs/KAAK-CLONE-WORKLOG.zh-CN.md @@ -12,10 +12,11 @@ ## 当前检查点(2026-10-10) -- 本轮承接 `dev` 的 `7ea19e1`,开始时工作区干净。 +- 本轮承接 `dev` 的 `5d27b9e`,开始时工作区干净。 - 重新打开 KOOK 原始语音页并查看已授权的前两个语音频道。原页此前记录了“聊天展开时姓名标签仍可见”,但本轮首次进入后的截图修正了这一判断:静止时姓名隐藏,悬停成员卡后出现;聊天收起时姓名常显。首次进入已观察的两个授权语音频道时,右侧当前频道聊天均默认展开;不能据此推断音乐类频道默认状态。麦克风关闭、未发消息、未操作管理员功能;结束后关闭了临时 KOOK 标签。 -- 本地 `3041` 一度继续提供旧 KAAK 包。重建皮肤包和前端后,服务返回的包哈希与生成包一致;更新皮肤版本后重新连接,浏览器加载了新版 KAAK。本轮重新连接时聊天展开并已验收姓名状态;目前聊天收起,麦克风关闭,没有发送消息。 +- 本地 `3041` 一度继续提供旧 KAAK 包。重建皮肤包和前端后,服务返回的包哈希与生成包一致;更新皮肤版本后重新连接,浏览器加载了新版 KAAK。本轮重新连接后聊天展开用于与 KOOK 对照,麦克风关闭,没有发送消息。 - KAAK 3.1.22 曾让姓名在聊天展开和收起时都常显。新截图表明展开状态应改为静止隐藏、悬停显示;收起状态仍常显。本轮按这项直接证据修正并升版本。 +- 再次进入一个已授权的普通语音频道时,聊天默认展开;中心舞台仍显示频道名和实时人数标题。对照本地 KAAK 截图,当前皮肤在聊天展开时把这段标题隐藏了,因此这是明确的皮肤差异。两页验收期间麦克风均关闭,未发消息、未触碰管理操作。 ## 已完成的修改节点 @@ -32,13 +33,22 @@ - 展开聊天时成员卡在静止状态不显示姓名;悬停卡片后左下角出现姓名标签。收起聊天后标签保持显示,成员舞台随之扩宽。 - 原页末尾关闭临时 KOOK 标签;账号离开了语音频道。 +## 本轮修改节点(2026-10-10) + +- 参考页面观察:聊天展开时中心舞台仍保留频道名和实时人数标题,横向成员卡居中显示头像,静音标记位于卡片右上角。 +- 对照当前本地 KAAK 截图,成员卡比例、头像位置和静音标记已接近;明确差异是皮肤在聊天展开时隐藏了舞台标题。 +- 修改内容与范围:移除这一条 KAAK CSS 隐藏规则,保持通用组件与语音引擎不变;皮肤版本升至 3.1.24,并同步内置目录、包测试和说明文档。 +- 当前浏览器验收保持静音、未发消息、未操作管理员功能;验收结束后关闭临时标签。 +- 影响文件:KAAK 样式、版本目录、分发包、包测试及参考/工作文档;不改 WebSpeak 引擎。 +- 验证结果:皮肤包构建、前端构建通过;皮肤目录与包测试 23/23 通过。本地连接页截图确认聊天展开时中心标题现已可见,成员姓名仍按规则隐藏;麦克风关闭。测试后关闭 KOOK 和本地标签。 + ## 最近一次代码验证 本轮验证: - `npm run skin:kaak:build`、`npm run web:build` 通过;web 构建包含 Vue 类型检查。 - `node --import tsx --test web/src/services/skin-pack.test.ts web/src/services/skin-catalog.test.ts`:23/23 通过。 -- 本地浏览器确认:聊天展开时成员姓名默认隐藏,悬停后显示;聊天收起时两名成员的姓名均可见,且舞台扩宽。验收期间麦克风保持关闭,没有发消息。 +- 本地浏览器确认:聊天展开时中心频道名和人数标题显示,成员姓名默认隐藏;此前成员名节点的悬停和聊天收起状态已在上一轮验收。麦克风保持关闭,没有发消息。 - 上次全量 `npm test` 在基线 `620eb04` 为 653/654 通过,唯一失败是既有 `voice.member.mic-status` 布局钩子注册测试。此项与本轮样式节点无关,因此本轮没有重跑全量套件;后续累积相关改动后统一验证。 同时修正了 [KOOK 语音界面参考](./KOOK_VOICE_REFERENCE.zh-CN.md) 中把中心区和右侧区写反的旧描述,并保留“独立文字频道列表不在当前范围”的边界。 @@ -47,7 +57,6 @@ 1. 单独定位并确认音乐类语音频道的首次进入默认状态;不要把本次两个普通语音频道默认展开的结果套用到音乐类频道。 2. 继续点对点核对成员加入/离开和说话状态动画;只根据原页可见的具体行为调整对应皮肤样式。 -3. 后续单独核对音乐类语音频道默认状态及成员加入/说话动画;累积相关节点后统一验证并记录结果。 ## 后续节点记录格式 diff --git a/docs/KOOK_VOICE_REFERENCE.zh-CN.md b/docs/KOOK_VOICE_REFERENCE.zh-CN.md index 1787015..e59b90e 100644 --- a/docs/KOOK_VOICE_REFERENCE.zh-CN.md +++ b/docs/KOOK_VOICE_REFERENCE.zh-CN.md @@ -17,6 +17,7 @@ - 语音频道第一次点击后会选中频道并提示再次点击;再次点击才进入。加入后成员出现在该频道下方,当前语音频道聊天和语音控制坞同时出现。 - 在本次首次进入的两个授权语音频道中,当前频道聊天默认展开。这个结果只证明已观察的频道;音乐类语音频道仍需单独确认。 - 聊天展开时,成员卡默认不显示姓名;鼠标移到卡片上后姓名标签出现。收起聊天后,成员卡姓名持续显示,即使鼠标停在聊天收起控件附近也没有隐藏。 +- 当前语音频道聊天展开时,中心成员舞台仍保留频道名和实时人数标题;成员卡是横向大卡片,头像居中,静音标记位于右上角。 - 从一个已加入频道切换到另一个授权频道时,成员归属和当前聊天标题随目标频道变化;本次切换前聊天面板已展开,所以切换后仍展开。这不能证明一个全新频道首次进入时聊天面板的默认折叠状态,尤其不能据此判定音乐语音频道的默认状态。 - 本次查看期间麦克风保持关闭,没有发送消息,也没有操作管理员功能。 - 当前页面呈现了中心成员舞台和右侧语音频道聊天;早期记录里“中心聊天、右侧成员列表”的描述与实际语音房间页面不符,已由本次原页观察更正。 diff --git a/docs/examples/KAAK-VOICE.md b/docs/examples/KAAK-VOICE.md index 52d19ee..b88015c 100644 --- a/docs/examples/KAAK-VOICE.md +++ b/docs/examples/KAAK-VOICE.md @@ -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. The host's screen-share player appears in the room stage when someone is sharing. The dock retains WebSpeak's trusted voice-quality, audio, screen-share, and disconnect controls. 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 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 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. diff --git a/docs/examples/kaak-voice.wskin b/docs/examples/kaak-voice.wskin index f55f15e..8a0fd7d 100644 Binary files a/docs/examples/kaak-voice.wskin and b/docs/examples/kaak-voice.wskin differ diff --git a/docs/examples/kaak-voice/manifest.json b/docs/examples/kaak-voice/manifest.json index 9eba093..6d7f178 100644 --- a/docs/examples/kaak-voice/manifest.json +++ b/docs/examples/kaak-voice/manifest.json @@ -3,7 +3,7 @@ "packageType": "open-skin", "id": "community.kaak-voice", "name": "KAAK", - "version": "3.1.23", + "version": "3.1.24", "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.", diff --git a/docs/examples/kaak-voice/skin.css b/docs/examples/kaak-voice/skin.css index a51db62..2bfc183 100644 --- a/docs/examples/kaak-voice/skin.css +++ b/docs/examples/kaak-voice/skin.css @@ -772,7 +772,6 @@ } [data-ws-plugin-part="kaak-workspace.voice-stage-heading-item"] { display: contents; } -[data-ws-plugin-part="kaak-workspace"]:has([data-ws-plugin-part="kaak-workspace.chat-panel-toggle"][aria-expanded="true"]) [data-ws-plugin-part="kaak-workspace.voice-stage-heading"] { display: none; } [data-ws-plugin-part="kaak-workspace.voice-stage-glyph"] { color: var(--skin-kaak-muted); font-size: 17px; } [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; } diff --git a/web/public/skins/kaak-voice.wskin b/web/public/skins/kaak-voice.wskin index f55f15e..8a0fd7d 100644 Binary files a/web/public/skins/kaak-voice.wskin and b/web/public/skins/kaak-voice.wskin differ diff --git a/web/src/services/skin-catalog.ts b/web/src/services/skin-catalog.ts index 38bc62d..b5ea99a 100644 --- a/web/src/services/skin-catalog.ts +++ b/web/src/services/skin-catalog.ts @@ -46,7 +46,7 @@ export const BUILTIN_SKIN_CATALOG: SkinCatalogEntry[] = [ { id: BUILTIN_KAAK_SKIN_ID, name: "KAAK", - version: "3.1.23", + version: "3.1.24", author: "WebSpeak Project", license: "AGPL-3.0-only", description: "A KOOK-inspired voice-room workspace with collapsible voice groups and current voice-channel chat, TeamSpeak profile cards, and host-owned voice controls.", diff --git a/web/src/services/skin-pack.test.ts b/web/src/services/skin-pack.test.ts index 39c92ef..0295123 100644 --- a/web/src/services/skin-pack.test.ts +++ b/web/src/services/skin-pack.test.ts @@ -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.23"); + assert.equal(skin.version, "3.1.24"); 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"); @@ -542,7 +542,7 @@ test("the distributable KAAK package provides full home and voice surfaces", asy assert.match(skin.css, /kaak-workspace\.voice-channel-group-toggle/); assert.match(skin.css, /kaak-workspace\.server-monogram"\]\[data-tone="0"\]/); assert.match(skin.css, /voice-stage-heading[\s\S]*?flex: 0 0 46px;/); - assert.match(skin.css, /chat-panel-toggle"\]\[aria-expanded="true"\][\s\S]*?voice-stage-heading[\s\S]*?display: none;/); + assert.doesNotMatch(skin.css, /aria-expanded="true"\]\s*[^\n]*voice-stage-heading[^\n]*display: none;/); assert.match(skin.css, /kaak-workspace"\]:has\(\[data-ws-plugin-part="kaak-workspace\.chat-panel-toggle"\]\[aria-expanded="false"\]\)[\s\S]*?grid-template-columns: 80px 290px minmax\(280px, 1fr\) 52px;/); assert.match(skin.css, /grid-template-columns: 80px 290px/); assert.match(skin.css, /minmax\(340px, min\(38vw, 520px\)\)/);