mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-03 03:52:50 +08:00
feat(kaak): add admin and community shortcuts to server rail
This commit is contained in:
1 parent
452e6f09ca
commit
bb5905eb39
9 files changed
+97
-9
No files matched your search
@@ -30,7 +30,7 @@ The owner authorized inspection of the first two voice rooms in the KOOK server.
|
||||
|
||||
## Returning to the workspace
|
||||
|
||||
KAAK 3.1.125 requires WebSpeak 0.2.8 with workspace API v1. Its manifest opts into the generic persistent workspace policy: first-time visitors keep the connection home until a successful voice connection; returning visitors and disconnected users retain the workspace and server rail. Restoring the workspace never starts a connection or captures the microphone. The host restores the recent target only for ordinary visits, preserving explicit invitation and target links. Clearing browser data resets this history.
|
||||
KAAK 3.1.126 requires WebSpeak 0.2.8 with workspace API v1. Its manifest opts into the generic persistent workspace policy: first-time visitors keep the connection home until a successful voice connection; returning visitors and disconnected users retain the workspace and server rail. Restoring the workspace never starts a connection or captures the microphone. The host restores the recent target only for ordinary visits, preserving explicit invitation and target links. Clearing browser data resets this history.
|
||||
|
||||
The permission-gated `voice.connection-status` host widget provides the connection state, nickname and explicit reconnect button beside server navigation at desktop and narrow widths. Open-mode server switching and adding servers reuse the host connection flow, including saved-password lookup and trusted password prompts; fixed mode retains its restrictions. All KAAK layout and styling remain in the package.
|
||||
|
||||
|
||||
Binary file not shown.
@@ -581,6 +581,10 @@
|
||||
{
|
||||
"widget": "app.language-switcher",
|
||||
"part": "rail-language"
|
||||
},
|
||||
{
|
||||
"widget": "home.social-links",
|
||||
"part": "rail-links"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -61,7 +61,11 @@
|
||||
"kaakScreenShare": "屏幕共享",
|
||||
"kaakLeaveVoice": "退出",
|
||||
"kaakCurrentIdentity": "当前 TeamSpeak 身份",
|
||||
"kaakOnline": "在线"
|
||||
"kaakOnline": "在线",
|
||||
"githubRepository": "GitHub 仓库",
|
||||
"qqGroup": "QQ群",
|
||||
"adminConsole": "管理控制台",
|
||||
"communityLinks": "社区与管理入口"
|
||||
}
|
||||
},
|
||||
"en": {
|
||||
@@ -124,7 +128,11 @@
|
||||
"kaakScreenShare": "Screen share",
|
||||
"kaakLeaveVoice": "Leave",
|
||||
"kaakCurrentIdentity": "Current TeamSpeak identity",
|
||||
"kaakOnline": "Online"
|
||||
"kaakOnline": "Online",
|
||||
"githubRepository": "GitHub repository",
|
||||
"qqGroup": "QQ group",
|
||||
"adminConsole": "Admin console",
|
||||
"communityLinks": "Community and administration"
|
||||
}
|
||||
},
|
||||
"de": {
|
||||
@@ -187,7 +195,11 @@
|
||||
"kaakScreenShare": "Bildschirm teilen",
|
||||
"kaakLeaveVoice": "Verlassen",
|
||||
"kaakCurrentIdentity": "Aktuelle TeamSpeak-Identität",
|
||||
"kaakOnline": "Online"
|
||||
"kaakOnline": "Online",
|
||||
"githubRepository": "GitHub-Repository",
|
||||
"qqGroup": "QQ-Gruppe",
|
||||
"adminConsole": "Administrationskonsole",
|
||||
"communityLinks": "Community und Verwaltung"
|
||||
}
|
||||
},
|
||||
"ru": {
|
||||
@@ -250,7 +262,11 @@
|
||||
"kaakScreenShare": "Демонстрация экрана",
|
||||
"kaakLeaveVoice": "Выйти",
|
||||
"kaakCurrentIdentity": "Текущая личность TeamSpeak",
|
||||
"kaakOnline": "В сети"
|
||||
"kaakOnline": "В сети",
|
||||
"githubRepository": "Репозиторий GitHub",
|
||||
"qqGroup": "Группа QQ",
|
||||
"adminConsole": "Панель администратора",
|
||||
"communityLinks": "Сообщество и управление"
|
||||
}
|
||||
},
|
||||
"ja": {
|
||||
@@ -313,7 +329,11 @@
|
||||
"kaakScreenShare": "画面共有",
|
||||
"kaakLeaveVoice": "退出",
|
||||
"kaakCurrentIdentity": "現在の TeamSpeak ID",
|
||||
"kaakOnline": "オンライン"
|
||||
"kaakOnline": "オンライン",
|
||||
"githubRepository": "GitHub リポジトリ",
|
||||
"qqGroup": "QQ グループ",
|
||||
"adminConsole": "管理コンソール",
|
||||
"communityLinks": "コミュニティと管理"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"packageType": "open-skin",
|
||||
"id": "community.kaak-voice",
|
||||
"name": "KAAK",
|
||||
"version": "3.1.125",
|
||||
"version": "3.1.126",
|
||||
"author": "WebSpeak Project",
|
||||
"license": "AGPL-3.0-only",
|
||||
"description": "A KOOK-inspired WebSpeak skin with a split-screen connection home, searchable server header, TeamSpeak banner, nested channel members, unified chat with local history, and a compact audio dock.",
|
||||
|
||||
@@ -4639,3 +4639,67 @@
|
||||
@media (max-width: 820px) {
|
||||
[data-ws-plugin-part="kaak-workspace.connection-status"] { margin: 10px 4px; }
|
||||
}
|
||||
|
||||
/* Shared public links: management follows Add; community links finish the rail. */
|
||||
[data-ws-plugin-part="kaak-workspace.server-rail"] {
|
||||
gap: 10px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
}
|
||||
[data-ws-plugin-part="kaak-workspace.server-list"] { min-height: 58px; }
|
||||
[data-ws-plugin-part="kaak-workspace.rail-links"],
|
||||
[data-ws-plugin-part="kaak-workspace.rail-links"] [data-ws-part="home.social-links"] { display: contents; }
|
||||
[data-ws-plugin-part="kaak-workspace.rail-links"] a {
|
||||
position: relative;
|
||||
display: grid;
|
||||
flex: 0 0 44px;
|
||||
place-items: center;
|
||||
box-sizing: border-box;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
min-width: 44px;
|
||||
min-height: 44px;
|
||||
padding: 0;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 14px;
|
||||
color: #b7bbc4;
|
||||
background: transparent;
|
||||
text-decoration: none;
|
||||
transition: color .15s ease, background-color .15s ease, border-color .15s ease;
|
||||
}
|
||||
[data-ws-plugin-part="kaak-workspace.rail-links"] a .ui-icon { display: block; width: 22px; height: 22px; flex: 0 0 auto; }
|
||||
[data-ws-plugin-part="kaak-workspace.rail-links"] a[href="/admin"] {
|
||||
order: 3;
|
||||
flex-basis: 58px;
|
||||
width: 58px;
|
||||
height: 58px;
|
||||
border-color: #3d4048;
|
||||
border-radius: 18px;
|
||||
color: #d1d5dc;
|
||||
background: var(--skin-kaak-rail-item-bg);
|
||||
}
|
||||
[data-ws-plugin-part="kaak-workspace.rail-skin"] { order: 4; }
|
||||
[data-ws-plugin-part="kaak-workspace.rail-language"] { order: 5; }
|
||||
[data-ws-plugin-part="kaak-workspace.rail-links"] a[href*="github.com/"] { order: 6; }
|
||||
[data-ws-plugin-part="kaak-workspace.rail-links"] a[href*="qm.qq.com/"] { order: 7; }
|
||||
[data-ws-plugin-part="kaak-workspace.rail-links"] a:hover,
|
||||
[data-ws-plugin-part="kaak-workspace.rail-links"] a:focus-visible {
|
||||
border-color: #699b32;
|
||||
color: #a8ed50;
|
||||
background: #2b3524;
|
||||
}
|
||||
[data-ws-plugin-part="kaak-workspace.rail-links"] a:focus-visible { outline: 2px solid #a8ed50; outline-offset: 3px; }
|
||||
@media (max-height: 620px) {
|
||||
[data-ws-plugin-part="kaak-workspace.server-rail"] { gap: 8px; padding-top: 10px; padding-bottom: max(82px, env(safe-area-inset-bottom)); }
|
||||
[data-ws-plugin-part="kaak-workspace.server-add"],
|
||||
[data-ws-plugin-part="kaak-workspace.rail-links"] a[href="/admin"],
|
||||
[data-ws-plugin-part="kaak-workspace.rail-skin"],
|
||||
[data-ws-plugin-part="kaak-workspace.rail-language"] { flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; border-radius: 14px; }
|
||||
[data-ws-plugin-part="kaak-workspace.rail-skin"] .skin-switcher,
|
||||
[data-ws-plugin-part="kaak-workspace.rail-skin"] .skin-trigger,
|
||||
[data-ws-plugin-part="kaak-workspace.rail-language"] .language-switcher,
|
||||
[data-ws-plugin-part="kaak-workspace.rail-language"] .language-trigger { width: 44px; height: 44px; min-height: 44px; border-radius: 14px; }
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
[data-ws-plugin-part="kaak-workspace.rail-links"] a { transition: none; }
|
||||
}
|
||||
Reference in new issue
Block a user