Fix routing, stats display, background drain, and update UI theme - #13
Fix routing, stats display, background drain, and update UI theme#13maattyi wants to merge 1 commit into
Conversation
- Added `googlevideo.com` to `_SNI_REWRITE_SUFFIXES` in `proxy_server.py` to fix YouTube routing and connectivity. - Fixed the missing speed issue by configuring `JsonSerializerOptions` with `NumberHandling` in `CoreProcessHost.cs` for correct deserialization of float strings. - Reduced the background data drain by increasing the probing interval in `HealthMonitorService.cs` from 10 to 60 seconds. - Created and applied a new `LightBlue.xaml` UI theme in the WPF app to improve styling and text contrast. - Fixed a compilation error by enabling windows targeting in the MSBuild project settings. Co-authored-by: maattyi <228237318+maattyi@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This commit implements comprehensive fixes for the MasterRelayVPN application, addressing both Python backend and C# WPF frontend issues.
First, it updates the SNI rewriting rules to correctly handle YouTube traffic, resolving the issue where videos would fail to load.
Second, it fixes the missing upload/download speed metric in the UI by applying
JsonSerializerOptionsthat allow the C# backend to properly parse floating-point strings from the Python layer, while ensuring this object is statically instantiated for performance.Third, the overly frequent background probing by the
HealthMonitorServicewas mitigated by extending the interval from 10 seconds to 60 seconds, reducing idle data drain.Finally, a new clean, high-contrast "Light Blue" aesthetic was applied via a new XAML ResourceDictionary.
PR created automatically by Jules for task 17160150244096047476 started by @maattyi