mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
Add client move/DnD, ServerQuery favorite toggle, and TeaSpeak poke handling.
Lets users move clients via context menu or drag-and-drop (including spacers), show ServerQuery clients per favorite without reconnecting, and surface TeaSpeak/GTS notifyclientpoke reliably via connector fallback plus tsclientlib parse fallthrough. EOF Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
bf85173a54
commit
b6448e65e8
11 files changed
+428
-28
No files matched your search
@@ -50,6 +50,8 @@ export type ClientInfo = {
|
||||
channelGroup: number;
|
||||
serverGroups: number[];
|
||||
hasTalkPower: boolean;
|
||||
/** ServerQuery client; hidden in the tree unless the favorite enables them. */
|
||||
isQuery?: boolean;
|
||||
};
|
||||
|
||||
export type WhisperLogEntry = {
|
||||
@@ -92,6 +94,8 @@ export type ParkedSessionState = {
|
||||
previousClients: ClientInfo[] | null;
|
||||
/** Whether the mic was on for this tab when it was parked, so switching back restores it. */
|
||||
micWasOn: boolean;
|
||||
/** Favorite used to open this session (drives ServerQuery visibility). */
|
||||
favoriteId: string | null;
|
||||
};
|
||||
|
||||
export type SessionTabInfo = {
|
||||
@@ -143,6 +147,7 @@ export function emptyParkedState(partial?: Partial<ParkedSessionState>): ParkedS
|
||||
hasConnected: false,
|
||||
previousClients: null,
|
||||
micWasOn: false,
|
||||
favoriteId: null,
|
||||
...partial,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user