Repository navigation
Feature: Review & Bugfixes dashboard network connection - #3734
Merged
Merged
Conversation
…s (B1) A refresh during a running check repeats the check once it has finished instead of canceling it (the cancellation tokens of overlapping refreshes were disposed by each other). Minimum duration like the IP API widgets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…g (B2) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ed (S1) Trailing debounce with a DispatcherTimer on the UI thread instead of an unsynchronized flag in an async void handler on a thread-pool thread (an exception left the flag set or ended the process). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…switch (B7, P2) The main window notifies the dashboard after a network change: checked right away if visible, otherwise marked outdated. Switching back checks only if outdated (network / dashboard setting changed) or the last check is older than Dashboard_RecheckInterval (60 s). Same mechanism, one commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…timer (S2, S3) S2: ShowActivated = false when opened on a network change; clicking into the window (Activated) stops the close timer. S3: HideWindow() stops the 33 ms close timer (kept ticking after the window was hidden); the expired timer only hides the window if it is still the same run (opened again within the 250 ms delay). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… VPN adapters (P1, B6) GetNetworkInterfaces() (PowerShell Get-NetConnectionProfile + registry) was called up to 4 times per check. The fallback detection and the gateway lookup now only read System.Net.NetworkInformation; the gateway lookup searches all adapters (Ppp / Tunnel too) and skips 0.0.0.0 / ::. Selection logic in SelectLocalIPAddress / SelectGateway + tests (T3). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ss (R1) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 copied rows (loading / state / label / value) and 3 copies of the implicit styles -> one DataTemplate (label via Tag, shared label column width per card). Same margins, no visual change intended (to check on Windows). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… IPv6 is not available (B4) NetworkConnectionCheck.GetLocalIPAddressResult (Models) + tests (T1); reason as tooltip of the state icon (ConnectionCheckItem.Message, ResourceIdentifier.ConnectionCheckReason). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
DNS decision moved to NetworkConnectionCheck.ShouldResolveIPv6 / GetDNSResult (Models) + tests (T1). Nothing to resolve -> info. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PingProbe (public) with the IP Scanner defaults (2 x 2000 ms, 32 bytes), IPv4 and IPv6 in parallel. NetworkConnectionCheck.GetGatewayResult + tests: no reply / no gateway but routed -> warning. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… R2) PublicIPAddressCheck.ParseResponse / FromException (Models) + tests (T2): success status code, plain address or first address of the family, private / link-local / loopback -> warning, DNS error of the API name. One CheckPublicIPAddressAsync for IPv4 and IPv6 (in parallel). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… connectivity (I1, D1)
Ping of the public IPv4 / IPv6 address settings (now as documented),
public IP address API (if enabled) and NetworkInformation connectivity
level (captive portal). NetworkConnectionCheck.GetInternetResult + tests.
The internet card is always checked ("Check is disabled!" removed).
D1: describe the public IP address settings (ping + route detection).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… (M2) Context menu of each value (kind of the item decides the tools, target without the round-trip time). A navigation request shows the main window (e.g. from the status window). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…k (M4) RefreshStatusControl in the header of the internet card. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Settings Dashboard_Show*Widget (default true), "Widgets" section on the dashboard settings page. The dashboard is a StackPanel (no gaps for hidden widgets); widget views are created when shown the first time; the remaining IP API widget spans the row; empty state if all are hidden. The network connection is only checked if its widget is shown. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…default (D4) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… check (B1) Follow-up of B1: an exception (e.g. of the ping) ended the check, the remaining rows kept the loading indicator until the next check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ween visible widgets (H3) The scroll viewer keeps its margin of 10 on all sides (as before), the gap of 10 is set between the visible widgets only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…without the API (I1) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, S2) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
IPAddress.TryParse accepted e.g. "429" (HTTP status code) as 0.0.1.173: only dotted-quad IPv4 / IPv6 without scope id. Unspecified, multicast and reserved addresses are an invalid answer, carrier-grade NAT (100.64/10) is private. PublicIPAddressCheck.GetStatus + tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e (CR2, CR3) The first IPv4-looking text anywhere in the answer was used (e.g. a link to the login server on a captive portal page); IPv6 in JSON never matched (the regex needs whitespace around the address). Now: the whole answer, or the first JSON string value that is an address of the family. Tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e API (CR4) A private address (e.g. answer of a captive portal) was resolved and its PTR shown as the DNS name of the internet connection with state OK. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d" message (CR5) Opening a hidden tool from the status window showed the error on the main window in the tray. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The error ended the repeat loop, a check requested in the meantime (e.g. network change) was dropped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e portal of Windows (CR12) A web filter / proxy intercepting the probe of Windows showed a permanent captive portal warning although the HTTPS request to the API worked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The target is the public IP address, otherwise the pinged address. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… not public (CR14) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eck interval (CR15) Every Dashboard_* setting (e.g. hiding the Speed Test widget) marked the check as outdated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The countdown bar uses SmoothProgress like the scanner progress (animated at the frame rate, immediate without animations) instead of 30 steps per second. The close timer of the status window is set up before Show(), so the bar is part of the first layout (no 4 px grow + move after showing). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e public IP (CR16) Without a public IP address from the API, the Internet rows offered RDAP / IP geolocation for the pinged address (e.g. 1.1.1.1). Only the public IP address from the API is a target now (empty target = none). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…mputer (CR17) Without a DHCP server (169.254.x.x) the PTR lookup failed and Computer > DNS was shown as DNS error instead of "no IP address to resolve". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ed while checking) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Windows doesn't report the connectivity per address family; a working IPv6 ping showed a captive portal warning. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CommandManager.InvalidateRequerySuggested when the check ends; CanExecute was only evaluated on the next input. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…created yet (CR20) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…the cause (CR21) Info "No IPv4 address" instead of the critical "No default gateway", the error is shown on the computer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he tray / minimized (CR23) The dashboard counted as visible and checked at the same time as the status window (twice the pings / API requests). It is marked outdated and checked when the window is shown again (from the tray or restored). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… hidden (H4) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…xamples The service no longer answers. The JSON format of the tests stays (relabeled). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
This pull request is merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
See commits
Related issue
Closes #
Type of change