feat: support more DNS types in proxy studio
Build / build (push) Successful in 12s

This commit is contained in:
2026-09-28 23:38:29 +02:00
parent ffe24a4f51
commit 4e79f4bf82
3 changed files with 301 additions and 36 deletions
+4 -1
View File
@@ -67,7 +67,11 @@ struct ContentView: View {
.padding()
}
} detail: {
// The minimum size belongs to the detail column, not the split view. A fixed
// window minimum smaller than sidebar + detail + inspector minimums makes the
// split view re-solve its constraints forever and AppKit aborts.
detail
.frame(minWidth: 520, minHeight: 550)
.navigationTitle(destination?.rawValue ?? "Proxy Studio")
.navigationSubtitle(destination == .dns ? unifi.connectionLabel : (store.isDemo ? "Demo Server" : store.serverName))
.toolbar {
@@ -128,7 +132,6 @@ struct ContentView: View {
),
prompt: destination == .dns ? "Search DNS Records" : "Search Hosts"
)
.frame(minWidth: 900, minHeight: 550)
.task {
guard ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] != "1" else { return }
await store.restoreConnection()