ux(ice-test): clarify result when browser hides reflexive/relay candidates (Safari)
CodeQL Analysis / Analyze CodeQL (push) Waiting to run
Deploy Application / deploy (push) Waiting to run
Mirror to Codeberg / mirror (push) Waiting to run
Mirror to PrivacyGuides / mirror (push) Waiting to run

This commit is contained in:
lockbitchat
2026-06-16 01:50:40 -04:00
parent 6dac4ce52a
commit 9244250835
5 changed files with 16 additions and 14 deletions
+1 -1
View File
@@ -19387,7 +19387,7 @@ var IceServerSettings = ({ isOpen, onClose, initial, hasSaved, onApply, onForget
key: "res",
className: "ml-3 text-sm " + (testResult.error ? "text-red-400" : "text-secondary")
},
testResult.error ? `Test failed: ${testResult.error}` : `STUN ${testResult.srflx > 0 ? "OK" : "none"} \xB7 TURN ${testResult.relay > 0 ? "OK" : "none"} \xB7 host ${testResult.host}`
testResult.error ? `Test failed: ${testResult.error}` : testResult.srflx > 0 || testResult.relay > 0 ? `STUN ${testResult.srflx > 0 ? "OK" : "none"} \xB7 TURN ${testResult.relay > 0 ? "OK" : "none"} \xB7 host ${testResult.host}` : `host ${testResult.host} \xB7 this browser (e.g. Safari) hides STUN/TURN candidates from the test \u2014 your servers are still applied to real connections`
) : null
]));
}
+2 -2
View File
File diff suppressed because one or more lines are too long
+4 -4
View File
@@ -148,13 +148,13 @@
<!-- Update Manager - система принудительного обновления -->
<script src="src/utils/updateManager.js"></script>
<script type="module" src="src/components/UpdateChecker.jsx"></script>
<script type="module" src="dist/qr-local.js?v=1781553880881"></script>
<script type="module" src="src/components/QRScanner.js?v=1781553880881"></script>
<script type="module" src="dist/qr-local.js?v=1781588965220"></script>
<script type="module" src="src/components/QRScanner.js?v=1781588965220"></script>
</head>
<body>
<div id="root"></div>
<script type="module" src="dist/app-boot.js?v=1781553880881"></script>
<script type="module" src="dist/app.js?v=1781553880881"></script>
<script type="module" src="dist/app-boot.js?v=1781588965220"></script>
<script type="module" src="dist/app.js?v=1781588965220"></script>
<script src="src/scripts/pwa-register.js"></script>
<script src="./src/pwa/install-prompt.js" type="module"></script>
+6 -6
View File
@@ -1,10 +1,10 @@
{
"version": "1781553880881",
"buildVersion": "1781553880881",
"version": "1781588965220",
"buildVersion": "1781588965220",
"appVersion": "4.8.10",
"buildTime": "2026-06-15T20:04:40.924Z",
"buildId": "1781553880881-7f2ecce",
"gitHash": "7f2ecce",
"buildTime": "2026-06-16T05:49:25.266Z",
"buildId": "1781588965220-6dac4ce",
"gitHash": "6dac4ce",
"generated": true,
"generatedAt": "2026-06-15T20:04:40.926Z"
"generatedAt": "2026-06-16T05:49:25.268Z"
}
+3 -1
View File
@@ -194,7 +194,9 @@ const IceServerSettings = ({ isOpen, onClose, initial, hasSaved, onApply, onForg
className: 'ml-3 text-sm ' + (testResult.error ? 'text-red-400' : 'text-secondary')
}, testResult.error
? `Test failed: ${testResult.error}`
: `STUN ${testResult.srflx > 0 ? 'OK' : 'none'} · TURN ${testResult.relay > 0 ? 'OK' : 'none'} · host ${testResult.host}`
: (testResult.srflx > 0 || testResult.relay > 0)
? `STUN ${testResult.srflx > 0 ? 'OK' : 'none'} · TURN ${testResult.relay > 0 ? 'OK' : 'none'} · host ${testResult.host}`
: `host ${testResult.host} · this browser (e.g. Safari) hides STUN/TURN candidates from the test — your servers are still applied to real connections`
) : null
]));
}