feat(mobile): hidden connection log panel for device-only diagnostics

Connection lifecycle events (probes, transport failures, resume decisions)
are mirrored into an in-memory trail that resets on every launch. A long
press on the connect-screen logo or the instances list opens a panel that
renders the trail with one-tap copy, so release builds can report the exact
probe sequence without a tethered debugger. Details reuse the already-masked
log payloads — no tokens or secrets are captured.
This commit is contained in:
Bohdan Triapitsyn
2026-08-13 00:06:51 +03:00
parent 4074986112
commit dc9c5f8e3e
15 changed files with 235 additions and 3 deletions
+5
View File
@@ -86,6 +86,11 @@ export const dict: Record<I18nKey, string> = {
'mobile.instances.status.connectedDirect': '接続中 · ローカルネットワーク',
'mobile.instances.status.connectedRelay': '接続中 · プライベートリレー',
'mobile.instances.saveEdit': '変更を保存',
'mobile.connectionDebug.title': '接続ログ',
'mobile.connectionDebug.copy': 'コピー',
'mobile.connectionDebug.copied': 'コピーしました',
'mobile.connectionDebug.close': '閉じる',
'mobile.connectionDebug.empty': '接続イベントはまだありません。',
'mobile.instances.cancelEdit': 'キャンセル',
'mobile.instances.edit': '編集',
'mobile.instances.delete': '削除',