fix: address post-event-driven issues and client info parity (#16)
* fix(ui): restore speaking status indicators Speaking state (isSpeaking) is computed from voice activity timestamps in the protocol layer and cannot be represented as a discrete delta. The event-driven refactor removed periodic snapshot refreshes, causing speaking indicators to go stale. Adds a 750ms periodic snapshot refresh (matching SPEAKING_ACTIVITY_WINDOW) while the audio stats timer is active (in-channel only). Structural changes (moves, joins, leaves) are still handled by instant deltas. * fix(ui): hide server query clients from delta joins When a ServerQuery client sends a message, a ClientJoined delta fires. Before PR#15 the periodic snapshot rebuild would include the SQ client but the snapshot_view filter hid it. With deltas, the client persisted in the local snapshot. Now ClientJoined deltas skip SQ clients entirely. * fix(proto): log getconnectioninfo errors instead of silently discarding Ping and packet loss showing 'Unknown' in the client info sheet is caused by getconnectioninfo failures being silently swallowed. Now logs the error with the client_id so the root cause can be diagnosed (e.g. missing b_client_connectioninfo_view permission on the server). Also logs clientgetvariables failures. * fix(proto): refresh non-self client profiles before mapping * feat(protocol): add ping deviation to client profiles * chore(ui): regenerate Flutter bridge bindings for ping deviation * fix(l10n): add ping deviation labels to client info * feat(ui): show ping deviation in client info sheet
This commit is contained in:
@@ -1069,6 +1069,12 @@ abstract class AppL10n {
|
||||
/// **'Ping'**
|
||||
String get clientInfoPing;
|
||||
|
||||
/// No description provided for @clientInfoPingDeviation.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Ping deviation'**
|
||||
String get clientInfoPingDeviation;
|
||||
|
||||
/// No description provided for @clientInfoAddress.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
|
||||
@@ -543,6 +543,9 @@ class AppL10nEn extends AppL10n {
|
||||
@override
|
||||
String get clientInfoPing => 'Ping';
|
||||
|
||||
@override
|
||||
String get clientInfoPingDeviation => 'Ping deviation';
|
||||
|
||||
@override
|
||||
String get clientInfoAddress => 'Address';
|
||||
|
||||
|
||||
@@ -531,6 +531,9 @@ class AppL10nZh extends AppL10n {
|
||||
@override
|
||||
String get clientInfoPing => '延迟';
|
||||
|
||||
@override
|
||||
String get clientInfoPingDeviation => '延迟偏差';
|
||||
|
||||
@override
|
||||
String get clientInfoAddress => '地址';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user