Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
a180f3a
Fix: WiFi: Crash when switching the tool without access to the WiFi a…
BornToBeRoot Nov 7, 2026
e963f7c
Fix: WiFi: Crash of the auto refresh without a WiFi adapter (B2)
BornToBeRoot Nov 7, 2026
6ba410a
Fix: WiFi: Adapters could not be reloaded with auto refresh enabled (B3)
BornToBeRoot Nov 7, 2026
4b51aae
Refactor: WiFi: One connect method for PSK / EAP and WPS (R1)
BornToBeRoot Nov 7, 2026
f3d5833
Fix: WiFi: Crash and blocked scan if connecting fails with an error (B4)
BornToBeRoot Nov 7, 2026
da0e1ab
Fix: WiFi: Connect / Disconnect available while connecting or without…
BornToBeRoot Nov 7, 2026
7075cab
Fix: WiFi: Use credentials ignored when connecting with EAP (B5)
BornToBeRoot Nov 7, 2026
259fd47
Fix: WiFi: WPS button of the connect dialog never shown (B6)
BornToBeRoot Nov 7, 2026
df0c0b6
Fix: WiFi: Focus of the connect dialog (B7)
BornToBeRoot Nov 7, 2026
42840fa
Fix: WiFi: Connect mode of WPA3 Enterprise and OWE networks (B8)
BornToBeRoot Nov 7, 2026
83defaf
Fix: WiFi: Wide channels drawn around the primary channel (B19)
BornToBeRoot Nov 7, 2026
b5f7d4b
Fix: WiFi: 320 MHz channels shown as 160 MHz (B20)
BornToBeRoot Nov 7, 2026
32cc895
Feature: WiFi: Mark estimated channel widths (C7)
BornToBeRoot Nov 7, 2026
4548fa8
Fix: WiFi: Wrong 5 GHz channel labels above channel 144 (B9)
BornToBeRoot Nov 7, 2026
050c5ff
Fix: WiFi: Channels outside the known 5 / 6 GHz ranges shown as -1 (B16)
BornToBeRoot Nov 8, 2026
3fa3c98
Fix: WiFi: Sorting by the signal icon and Encryption did nothing (B10)
BornToBeRoot Nov 8, 2026
be95471
Fix: WiFi: Adapter could be changed while scanning (B13)
BornToBeRoot Nov 8, 2026
82cd179
Fix: WiFi: Failed refresh removed all networks (B14)
BornToBeRoot Nov 8, 2026
fad5f9c
Fix: WiFi: Hidden network in the disconnect message and the search (B17)
BornToBeRoot Nov 8, 2026
da9b21f
Fix: WiFi: Adapter icon kept the state of the first load (B18)
BornToBeRoot Nov 8, 2026
4e22c4c
Fix: WiFi: Refresh behind an open dialog (C2)
BornToBeRoot Nov 8, 2026
fe450a3
Feature: WiFi: Check the access to the WiFi adapter again (C1, M2)
BornToBeRoot Nov 8, 2026
ff3984f
Feature: WiFi: BSSID in the default MAC address format (C6)
BornToBeRoot Nov 8, 2026
081581f
Feature: WiFi: Keep the networks while the adapters are reloaded (C8)
BornToBeRoot Nov 8, 2026
262cd74
Fix: WiFi: Untranslated "Unknown" for security and PHY kind (O2)
BornToBeRoot Nov 8, 2026
d93ce05
Refactor: WiFi: One field list for the CSV, XML and JSON export (R3)
BornToBeRoot Nov 8, 2026
76cb868
Feature: WiFi: Export channel, channel width, vendor, connected, secu…
BornToBeRoot Nov 8, 2026
c7764d5
Fix: WiFi: SSID with a comma broke the CSV export (O1)
BornToBeRoot Nov 8, 2026
fa50298
Feature: WiFi: Export the shown networks in grid order (C5)
BornToBeRoot Nov 8, 2026
86c128a
Fix: WiFi: Connected network via the WiFi API instead of netsh (P1, B…
BornToBeRoot Nov 8, 2026
4622b35
Refactor: WiFi: Remove dead code (R4)
BornToBeRoot Nov 8, 2026
b85e2fc
Feature: WiFi: Keep the selected network when scanning again (P2, C4)
BornToBeRoot Nov 8, 2026
13a8615
Feature: WiFi: Copy the SSID / BSSID of several networks (M3)
BornToBeRoot Nov 8, 2026
6cb1bf0
Feature: WiFi: Changes since the last scan (M4)
BornToBeRoot Nov 8, 2026
1b11e44
Docs: WiFi: Toolbar, columns, connect, export, changes and channels (…
BornToBeRoot Nov 8, 2026
ed33664
Chore: Feature review skill: Write tests with every fix and feature
BornToBeRoot Nov 8, 2026
df87826
Docs: Changelog: Tool sections in the order of the application list
BornToBeRoot Nov 8, 2026
d4d73c1
Fix: WiFi: Error reading the adapter states failed the scan (B22)
BornToBeRoot Nov 8, 2026
dc8f23e
Fix: WiFi: Header kept the last scan of the previous adapter (B21)
BornToBeRoot Nov 8, 2026
9cdca42
Feature: WiFi: Notification for changes of the auto refresh (M5)
BornToBeRoot Nov 8, 2026
5cf2ad8
Fix: WiFi: Auto refresh during a reload of the adapters (B23)
BornToBeRoot Nov 8, 2026
9a23c1d
Fix: WiFi: Removed adapter kept after reloading the adapters (B24)
BornToBeRoot Nov 8, 2026
4c8a1f7
Fix: WiFi: Center of 6 GHz channel 2 (B25)
BornToBeRoot Nov 8, 2026
a934c1a
Fix: WiFi: Center of 6 GHz 80+80 MHz channels (B26)
BornToBeRoot Nov 8, 2026
8e4186d
Fix: WiFi: No network name in the message of a failed disconnect (B27)
BornToBeRoot Nov 8, 2026
36f6a95
Fix: WiFi: Access check blocked the UI on every switch to WiFi (P3)
BornToBeRoot Nov 8, 2026
5e5f8b5
Refactor: WiFi: One WLAN client handle per scan (R5)
BornToBeRoot Nov 8, 2026
ad061e7
Fix: WiFi: Reloading the adapters showed the loading indicator (B28)
BornToBeRoot Nov 8, 2026
ca34bae
Fix: WiFi: WEP with open authentication treated as unsecured (B29)
BornToBeRoot Nov 8, 2026
35a81ad
Fix: WiFi: Adapter could be changed while the adapters were reloaded …
BornToBeRoot Nov 8, 2026
4867894
Fix: WiFi: Connect / Disconnect during a scan started a second scan (…
BornToBeRoot Nov 8, 2026
a0931e0
Fix: WiFi: 6 GHz network across the chart split cut off (B32)
BornToBeRoot Nov 8, 2026
179909e
Fix: WiFi: Networks and scan time from different network reports (B33)
BornToBeRoot Nov 8, 2026
f60cad9
Refactor: WiFi: One mapping from channel to frequency (R6)
BornToBeRoot Nov 8, 2026
0358c4a
Refactor: WiFi: One connect call and one timeout handling (R7)
BornToBeRoot Nov 8, 2026
6f19126
Refactor: WiFi: One place for the shown SSID (R8)
BornToBeRoot Nov 8, 2026
ff24581
Refactor: WiFi: Shared styles and one class for the channel charts (R2)
BornToBeRoot Nov 8, 2026
aeb9491
Refactor: WiFi: Position on the channel charts in the model, with tes…
BornToBeRoot Nov 8, 2026
7810b1f
Fix: WiFi: 6 GHz network across the chart split in two colors (B34)
BornToBeRoot Nov 8, 2026
eccb4a1
Fix: WiFi: Grid jumped to the selected network on a selection change …
BornToBeRoot Nov 8, 2026
e742807
Chore: Feature review skill: Own table for missing tests in the report
BornToBeRoot Nov 8, 2026
de06b3b
Fix: WiFi: Connect / Disconnect during a reload of the adapters start…
BornToBeRoot Nov 8, 2026
90f309a
Docs: WiFi: PR number in the changelog (#3695)
BornToBeRoot Nov 8, 2026
3d724cf
Refactor: WiFi: Shared check for an open dialog (DialogHelper.IsAnyDi…
BornToBeRoot Nov 8, 2026
55d4f8c
Refactor: Use DialogHelper.IsAnyDialogOpen in all view models
BornToBeRoot Nov 8, 2026
685856a
Chore: Feature review skill: DialogHelper.IsAnyDialogOpen in the conv…
BornToBeRoot Nov 8, 2026
5d5b811
Merge branch 'main' into feature/wifi-review
BornToBeRoot Nov 8, 2026
c3868b7
Merge branch 'main' into feature/wifi-review
BornToBeRoot Nov 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .claude/skills/feature-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ Go through these areas. Skip an area if it doesn't apply, but say so in one line
than the same kind of file in the comparison features (`wc -l`), a file that grew a lot (`git log --stat`), the same
lines found twice with `git grep`, a helper from the "Shared helpers" list in
[references/conventions.md](references/conventions.md) re-implemented in the feature.
10. **Tests** — which logic of the feature has no unit tests in `Source/NETworkManager.Tests`: parsing, mapping and
conversion (e.g. frequency → channel), decisions (e.g. which dialog / mode, what counts as a change), comparisons,
validation, export field lists. Logic hidden in a view model or a private method that could be a small public
static method in `NETworkManager.Models` (no `InternalsVisibleTo` in the solution, reference:
`IPScannerNeighborCheck`, `IPScannerScanComparer`). A bug that a test would have caught is a strong hint
(report it as `T1`, ... with the bugs it would have caught).

#### Refactoring: only if the code gets simpler

Expand Down Expand Up @@ -184,6 +190,9 @@ Compared with: <features from step 3>
### Other (security, localization, docs)
| # | Finding | Proposed fix |

### Tests
| # | Untested logic (`path:line`) | Bugs it would have caught | Proposal (move to `NETworkManager.Models` if needed + test cases) |

### Refactoring / simplification
| # | Where | Problem (duplication / complexity) | Proposal | Gain | Must stay identical / test |

Expand Down Expand Up @@ -220,6 +229,12 @@ When fixing:
already exists in two or more places. Keep the code simple: no new abstraction for a single use.
- One commit per finding, with its ID in the subject (e.g. `Fix: Port Scanner: ... (B3)`); a refactoring gets its own
commit without behaviour changes.
- Write unit tests with every fix and feature where possible, in the same commit (xUnit,
`Source/NETworkManager.Tests/<Area>/<Class>Tests.cs`), so the coverage of the tool grows with each change: a bug fix
gets a test that fails without the fix, new logic gets tests for its cases and edge cases. Move testable logic
(parsing, mapping, decisions, comparisons) out of the view model / private methods into a small public static
method or class in `NETworkManager.Models` first. What can't be tested (UI, WinRT / system APIs, network) goes into
the manual Windows tests of the handover file.
- Add strings to `Strings.resx` and, in alphabetical order, to `Strings.Designer.cs`.
- Update the feature documentation and add a changelog entry in `Website/docs/changelog/next-release.md`.
- Never modify `Source/3rdparty/`.
2 changes: 2 additions & 0 deletions .claude/skills/feature-review/references/conventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ Reference: `HostsFileEditorView.xaml`, `FirewallView.xaml`.

- Child windows: set `ConfigurationManager.Current.IsChildWindowOpen` before showing and reset it in both
OK and Cancel handlers; dialog view models get OK/Cancel actions.
- Commands that open a dialog or run behind one (scan, refresh, auto refresh, modify) check
`!DialogHelper.IsAnyDialogOpen()` in their `CanExecute` (main window, MahApps dialog, child window), no own copy.
- Add/edit/copy dialogs share one view model with `EditMode` (`Add`, `Edit`, `Copy`; profiles use
`ProfileEditMode`). Copy appends `" - " + Strings.CopyNoun` to a name where names identify items.
- Deletes are confirmed with `DialogHelper.ShowConfirmationMessageAsync(..., ChildWindowIcon.Info, Strings.Delete)`.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
using System;
using System.Globalization;
using System.Windows.Data;
using NETworkManager.Models.Network;

namespace NETworkManager.Converters;

/// <summary>
/// Channel width of a WiFi network (<see cref="WiFiNetworkInfo" />) as text, e.g. "80 MHz", or "~80 MHz" if it was
/// estimated (see <see cref="WiFiNetworkInfo.IsChannelBandwidthEstimated" />).
/// </summary>
public sealed class WiFiChannelBandwidthToStringConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
return value is not int bandwidth ? "-/-" : $"{bandwidth} MHz";
return value is not WiFiNetworkInfo info ? "-/-" : Format(info);
}

/// <summary>
/// Gets the channel width of a network as text (e.g. "80 MHz", "~80 MHz" if estimated).
/// </summary>
public static string Format(WiFiNetworkInfo info)
{
return $"{(info.IsChannelBandwidthEstimated ? "~" : string.Empty)}{info.ChannelBandwidth} MHz";
}

public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
using System;
using System.Globalization;
using System.Windows.Data;
using NETworkManager.Localization.Resources;
using NETworkManager.Models.Network;

namespace NETworkManager.Converters;

/// <summary>
/// Convert the <see cref="WiFiNetworkChange" /> of a network (since the previous scan) to a translated
/// <see cref="string" /> (e.g. "New"), or a <see cref="WiFiNetworkInfo" /> to the tooltip of a changed network.
/// </summary>
public sealed class WiFiNetworkChangeToStringConverter : IValueConverter
{
/// <summary>
/// Convert the change of a network to a translated <see cref="string" />.
/// </summary>
/// <param name="value">
/// Change of the network as <see cref="WiFiNetworkChange" />, or the network as <see cref="WiFiNetworkInfo" /> with
/// the parameter "ToolTip".
/// </param>
/// <param name="targetType"></param>
/// <param name="parameter">"ToolTip" for the values of the previous scan of a changed network.</param>
/// <param name="culture"></param>
/// <returns>Translated change (empty if there is none), or the tooltip (null without previous values).</returns>
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if (parameter is "ToolTip")
return value is WiFiNetworkInfo { Previous: { } previous }
? string.Format(Strings.PreviouslyX,
$"{Strings.Channel} {previous.Channel} · {WiFiChannelBandwidthToStringConverter.Format(previous)} · {previous.NetworkAuthenticationType}")
: null;

return value is WiFiNetworkChange change ? ToLocalizedString(change) : string.Empty;
}

/// <summary>
/// Gets the translated change of a network.
/// </summary>
/// <param name="change">Change of the network.</param>
/// <returns>Translated change, empty for <see cref="WiFiNetworkChange.None" />.</returns>
public static string ToLocalizedString(WiFiNetworkChange change)
{
return change switch
{
WiFiNetworkChange.New => Strings.HostChange_New,
WiFiNetworkChange.Gone => Strings.HostChange_Gone,
WiFiNetworkChange.Changed => Strings.WiFiNetworkChange_Changed,
_ => string.Empty
};
}

/// <summary>
/// !!! Method not implemented !!!
/// </summary>
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
using System;
using System.Globalization;
using System.Windows.Data;
using NETworkManager.Localization.Resources;
using NETworkManager.Models.Network;

namespace NETworkManager.Converters;

/// <summary>
/// Convert a <see cref="WiFiNetworkInfo" /> to the SSID as it is shown ("Hidden Network" for a hidden network).
/// </summary>
public sealed class WiFiNetworkToSsidStringConverter : IValueConverter
{
/// <summary>
/// Convert a network to its shown SSID.
/// </summary>
/// <param name="value">Network as <see cref="WiFiNetworkInfo" />.</param>
/// <param name="targetType"></param>
/// <param name="parameter"></param>
/// <param name="culture"></param>
/// <returns>Shown SSID, empty without a network.</returns>
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
return value is WiFiNetworkInfo network ? GetSsid(network) : string.Empty;
}

/// <summary>
/// Gets the SSID of a network as it is shown in the grid, the charts and the messages ("Hidden Network" for a
/// hidden network).
/// </summary>
/// <param name="network">Network.</param>
/// <returns>Shown SSID.</returns>
public static string GetSsid(WiFiNetworkInfo network)
{
return network.IsHidden ? Strings.HiddenNetwork : network.AvailableNetwork.Ssid;
}

/// <summary>
/// !!! Method not implemented !!!
/// </summary>
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ public static DocumentationIdentifier GetIdentifierBySettingsName(SettingsName n
SettingsName.Settings => DocumentationIdentifier.SettingsSettings,
SettingsName.Dashboard => GetIdentifierByApplicationName(ApplicationName.Dashboard),
SettingsName.NetworkInterface => GetIdentifierByApplicationName(ApplicationName.NetworkInterface),
SettingsName.WiFi => GetIdentifierByApplicationName(ApplicationName.WiFi),
SettingsName.IPScanner => GetIdentifierByApplicationName(ApplicationName.IPScanner),
SettingsName.PortScanner => GetIdentifierByApplicationName(ApplicationName.PortScanner),
SettingsName.PingMonitor => GetIdentifierByApplicationName(ApplicationName.PingMonitor),
Expand Down
54 changes: 54 additions & 0 deletions Source/NETworkManager.Localization/Resources/Strings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions Source/NETworkManager.Localization/Resources/Strings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -5450,4 +5450,22 @@ Do you want to start the scan?</value>
<data name="BetaFeatureMessage" xml:space="preserve">
<value>Beta: this feature is tested publicly and may change. Please report problems on GitHub.</value>
</data>
<data name="CouldNotDisconnectFromXXXReasonXXX" xml:space="preserve">
<value>Could not disconnect from {0} ({1})!</value>
</data>
<data name="ChannelWidthEstimatedToolTip" xml:space="preserve">
<value>Estimated from the band and the WiFi standard: the channel width could not be read from the beacon of the access point.</value>
</data>
<data name="WiFiNetworkChange_Changed" xml:space="preserve">
<value>Changed</value>
</data>
<data name="XChanged" xml:space="preserve">
<value>{0} Changed</value>
</data>
<data name="PreviouslyX" xml:space="preserve">
<value>Previously: {0}</value>
</data>
<data name="HelpMessage_WiFiChangesNotification" xml:space="preserve">
<value>Only when the networks are scanned automatically ("Automatically update every") and WiFi is shown: one notification per scan with the changes since the previous scan of the adapter.</value>
</data>
</root>
Loading
Loading