Download this file
| 1 | import Foundation |
| 2 | |
| 3 | // The app-pane webviews' "open this app as its own surface" handoff: App |
| 4 | // Studio's Open button posts {openAppThread:{app,title}} from an embed |
| 5 | // (shell.js memberAdmin.openApp) instead of navigating its own page — an |
| 6 | // in-pane navigation would render the target app inside App Studio's window. |
| 7 | // Each platform's webview bridge forwards the request here, and whichever |
| 8 | // surface owns navigation consumes it (Mac: the active NativeChatView via |
| 9 | // nativeOpenThread's "app:" path; iOS: LChatApp's navigation path), opening |
| 10 | // or creating the app's personal thread as a real native surface. |
| 11 | public extension Notification.Name { |
| 12 | static let lchatOpenAppThread = Notification.Name("lchatOpenAppThread") |
| 13 | } |
| 14 | |