passepartout-apple/Passepartout/Library/Sources/AppUIMain/UI
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
..
AddProfileMenu.swift Refactor AppUI for TV target (#775) 2024-10-29 14:30:41 +01:00
DefaultModuleViewFactory.swift Refactor AppUI for TV target (#775) 2024-10-29 14:30:41 +01:00
EditableModule+Previews.swift Refactor AppUI for TV target (#775) 2024-10-29 14:30:41 +01:00
EditorModuleToggle.swift Refactor AppUI for TV target (#775) 2024-10-29 14:30:41 +01:00
FavoriteToggle.swift Refactor AppUI for TV target (#775) 2024-10-29 14:30:41 +01:00
InstalledProfileView.swift Revisit overuse of EnvironmentObject (#794) 2024-11-01 09:47:50 +01:00
InteractiveView.swift Refactor AppUI for TV target (#775) 2024-10-29 14:30:41 +01:00
ModuleSection.swift Refactor AppUI for TV target (#775) 2024-10-29 14:30:41 +01:00
ModuleViewModifier.swift Refactor AppUI for TV target (#775) 2024-10-29 14:30:41 +01:00
NameSection.swift Refactor AppUI for TV target (#775) 2024-10-29 14:30:41 +01:00
ProfileCardView.swift Refactor AppUI for TV target (#775) 2024-10-29 14:30:41 +01:00
ProfileContextMenu.swift Revisit overuse of EnvironmentObject (#794) 2024-11-01 09:47:50 +01:00
ProfileDuplicateButton.swift Refactor AppUI for TV target (#775) 2024-10-29 14:30:41 +01:00
ProfileFlow.swift Refactor AppUI for TV target (#775) 2024-10-29 14:30:41 +01:00
ProfileInfoButton.swift Refactor AppUI for TV target (#775) 2024-10-29 14:30:41 +01:00
ProfileRemoveButton.swift Refactor AppUI for TV target (#775) 2024-10-29 14:30:41 +01:00
ProfileRowView.swift Revisit overuse of EnvironmentObject (#794) 2024-11-01 09:47:50 +01:00
ProfileSaveButton.swift Refactor AppUI for TV target (#775) 2024-10-29 14:30:41 +01:00
ProfilesLayoutPicker.swift Refactor AppUI for TV target (#775) 2024-10-29 14:30:41 +01:00
StorageSection.swift Refactor AppUI for TV target (#775) 2024-10-29 14:30:41 +01:00
TunnelRestartButton.swift Revisit overuse of EnvironmentObject (#794) 2024-11-01 09:47:50 +01:00