mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-01 16:03:55 +08:00
827a04ffcd
* Move VerifyApp to App Lifecycle folder and add some architecture documentation to it * Add VerifyAppModel.swift * Tuck existing files into their own subfolders * Add SwiftUINavigation as a dependency to support Destination-style navigation (More on Destination-style navigation in a future commit) * Add convenient logger initializers * Move openDeepLink up to VerifyApp * Move LandingView into the App Lifecycle folder * Wire up parsing failures to new alert destination * Swift-ify DeepLink parsing * Rename Atempt -> LoadingState * Update LandingView to navigate correctly to EnrollMobileDeviceView * Rename EnrollMobileDeviceView -> EnrollDeviceView to make it more concise * Improve names of LandingViewModel.Destination * Add delegate relationship between LandingViewModel and EnrollDeviceViewModel to support the cancellation button Since this view is now in a navigation stack, we might actually do away with the cancel button entirely because you can just tap the back button to do the same thing. * Remove ContentView since it's no longer used * Further break apart DeepLink.swift * Remove stray reference to ContentView * Add URL to debug log in VerifyAppModel