Skip to content

Tray/taskbar icon shows live proxy status; UI actions added#4

Merged
icnocop merged 5 commits into
mainfrom
crash-fix
Jun 28, 2026
Merged

Tray/taskbar icon shows live proxy status; UI actions added#4
icnocop merged 5 commits into
mainfrom
crash-fix

Conversation

@icnocop

@icnocop icnocop commented Jun 28, 2026

Copy link
Copy Markdown
Owner

Tray/taskbar icon shows live proxy status; UI actions added

  • Tray and taskbar icons now overlay a colored status circle reflecting proxy state (Running, Stopped, Starting/Stopping), composed at runtime for crisp DPI scaling.
  • Tray context menu adds Start, Stop, and Restart actions, enabled by state and marshaled to the UI thread.
  • Home nav item displays a matching status dot.
  • Theme no longer affects the tray icon; light/dark assets removed.
  • Title-bar icon is always the plain glyph; taskbar icon includes status.
  • ProxyState enum replaces IsRunning for full lifecycle tracking.
  • Logging is now fault-tolerant to avoid crashes during shutdown.
  • Centralized log text truncation helpers.
  • ModelCatalog and SDK logging use the fault-tolerant logger.
  • SseWriter exposes a static Start method for SSE headers.
  • Exposed StartProxy/StopProxy/RestartProxy for tray actions.
  • Minor UI and code cleanups.

icnocop added 5 commits June 28, 2026 03:48
Introduce a CrashLog class to capture and log unhandled exceptions to crash.log in the user data directory, and notify users via a native message box. Register global exception handlers in Program.Main and App to ensure all exceptions are recorded. Expose the data directory in SettingsStore for shared use. Embed the application icon in the project file and update native methods to include MessageBox.
- Tray and taskbar icons now overlay a colored status circle reflecting proxy state (Running, Stopped, Starting/Stopping), composed at runtime for crisp DPI scaling.
- Tray context menu adds Start, Stop, and Restart actions, enabled by state and marshaled to the UI thread.
- Home nav item displays a matching status dot.
- Theme no longer affects the tray icon; light/dark assets removed.
- Title-bar icon is always the plain glyph; taskbar icon includes status.
- ProxyState enum replaces IsRunning for full lifecycle tracking.
- Logging is now fault-tolerant to avoid crashes during shutdown.
- Centralized log text truncation helpers.
- ModelCatalog and SDK logging use the fault-tolerant logger.
- SseWriter exposes a static Start method for SSE headers.
- Exposed StartProxy/StopProxy/RestartProxy for tray actions.
- Minor UI and code cleanups.
- Merge build and release jobs in GitHub Actions; always upload artifacts, create draft releases only on main
- Exclude appsettings.Development.json from publish outputs
- Enable MsixTooling for proper XAML/resource publishing
- Enhance CrashLog: accept message, show HRESULT, improve dialogs
@icnocop
icnocop merged commit 921e5c3 into main Jun 28, 2026
1 check passed
@icnocop
icnocop deleted the crash-fix branch June 28, 2026 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant