passepartout-apple/Passepartout/Library/Sources/AppUIMain/Views/Diagnostics
Davide 590b2790fa
Revisit overuse of EnvironmentObject (#794)
The biggest issue is the hidden and scattered use of both Tunnel and
ConnectionObserver. Only use the latter, and rename it to ExtendedTunnel
for being now a full wrapper around Tunnel (e.g. for .connectionStatus).

In general, restrict the use of EnvironmentObject to:

- Theme
- IAPManager
- ProfileProcessor
- ProviderManager

Always be explicit about:

- ProfileManager
- ExtendedTunnel

Contextually, move some UI entities to the base AppUI target.
2024-11-01 09:47:50 +01:00
..
iOS Refactor AppUI for TV target (#775) 2024-10-29 14:30:41 +01:00
macOS Refactor AppUI for TV target (#775) 2024-10-29 14:30:41 +01:00
DebugLogView.swift Revisit overuse of EnvironmentObject (#794) 2024-11-01 09:47:50 +01:00
DiagnosticsView.swift Revisit overuse of EnvironmentObject (#794) 2024-11-01 09:47:50 +01:00
ReportIssueButton.swift Revisit overuse of EnvironmentObject (#794) 2024-11-01 09:47:50 +01:00