Add optional outbound connectivity probe with three-state status dot

This commit is contained in:
av
2026-07-18 15:47:39 +03:00
parent 74aa0ee384
commit fc83c57382
4 changed files with 195 additions and 38 deletions
@@ -38,5 +38,21 @@
<summary>Show speed in the panel</summary>
<description>Show upload/download speed in the top bar.</description>
</key>
<key name="check-connectivity" type="b">
<default>false</default>
<summary>Periodically probe the active outbound</summary>
<description>When enabled, the extension periodically measures latency through the active outbound to distinguish "service up but no connectivity" from "service up and reachable".</description>
</key>
<key name="connectivity-interval" type="i">
<default>30</default>
<range min="5" max="600"/>
<summary>Connectivity probe interval (seconds)</summary>
<description>How often to probe the active outbound when connectivity checking is enabled.</description>
</key>
<key name="connectivity-url" type="s">
<default>'https://www.gstatic.com/generate_204'</default>
<summary>Connectivity probe URL</summary>
<description>Target URL used by the active-outbound latency probe.</description>
</key>
</schema>
</schemalist>