惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

雷峰网
雷峰网
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
Google DeepMind News
Google DeepMind News
V
V2EX
T
The Blog of Author Tim Ferriss
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Hugging Face - Blog
Hugging Face - Blog
Stack Overflow Blog
Stack Overflow Blog
I
InfoQ
博客园_首页
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Last Week in AI
Last Week in AI
Recent Announcements
Recent Announcements
Vercel News
Vercel News
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
Tailwind CSS Blog
美团技术团队
Martin Fowler
Martin Fowler
宝玉的分享
宝玉的分享
Blog — PlanetScale
Blog — PlanetScale
GbyAI
GbyAI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
J
Java Code Geeks

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix(ios): fix quick setup sheet layout design (#93751) · ...
zats · 2026-06-17 · via Recent Commits to openclaw:main

@@ -30,27 +30,13 @@ struct GatewayQuickSetupSheet: View {

3030

}

31313232

if let candidate = self.bestCandidate {

33-

VStack(alignment: .leading, spacing: 6) {

34-

Text(verbatim: candidate.name)

35-

.font(.headline)

36-

Text(verbatim: candidate.debugID)

37-

.font(.footnote)

38-

.foregroundStyle(.secondary)

39-40-

VStack(alignment: .leading, spacing: 2) {

41-

// Use verbatim strings so Bonjour-provided values can't be interpreted as

42-

// localized format strings (which can crash with Objective-C exceptions).

43-

Text(verbatim: "Discovery: \(self.gatewayController.discoveryStatusText)")

44-

Text(verbatim: "Status: \(self.appModel.gatewayDisplayStatusText)")

45-

Text(verbatim: "Node: \(self.appModel.nodeStatusText)")

46-

Text(verbatim: "Operator: \(self.appModel.operatorStatusText)")

47-

}

48-

.font(.footnote)

49-

.foregroundStyle(.secondary)

50-

}

51-

.padding(12)

52-

.background(.thinMaterial)

53-

.clipShape(RoundedRectangle(cornerRadius: 14))

33+

GatewayQuickSetupCandidatePanel(

34+

name: candidate.name,

35+

debugID: candidate.debugID,

36+

discoveryStatusText: self.gatewayController.discoveryStatusText,

37+

gatewayDisplayStatusText: self.appModel.gatewayDisplayStatusText,

38+

nodeStatusText: self.appModel.nodeStatusText,

39+

operatorStatusText: self.appModel.operatorStatusText)

54405541

Button {

5642

self.connectError = nil

@@ -169,3 +155,43 @@ struct GatewayQuickSetupSheet: View {

169155

self.connectError = err

170156

}

171157

}

158+159+

private struct GatewayQuickSetupCandidatePanel: View {

160+

private static let readableMonospaceWidth: CGFloat = 72 * 8

161+162+

let name: String

163+

let debugID: String

164+

let discoveryStatusText: String

165+

let gatewayDisplayStatusText: String

166+

let nodeStatusText: String

167+

let operatorStatusText: String

168+169+

var body: some View {

170+

VStack(alignment: .leading, spacing: 6) {

171+

Text(verbatim: self.name)

172+

.font(.system(.headline, design: .monospaced))

173+

.foregroundStyle(.primary)

174+

Text(verbatim: self.debugID)

175+

.font(.system(.footnote, design: .monospaced))

176+

.foregroundStyle(.secondary)

177+178+

VStack(alignment: .leading, spacing: 2) {

179+

// Use verbatim strings so Bonjour-provided values can't be interpreted as

180+

// localized format strings (which can crash with Objective-C exceptions).

181+

Text(verbatim: "Discovery: \(self.discoveryStatusText)")

182+

Text(verbatim: "Status: \(self.gatewayDisplayStatusText)")

183+

Text(verbatim: "Node: \(self.nodeStatusText)")

184+

Text(verbatim: "Operator: \(self.operatorStatusText)")

185+

}

186+

.font(.system(.footnote, design: .monospaced))

187+

.foregroundStyle(.secondary)

188+

}

189+

.frame(maxWidth: Self.readableMonospaceWidth, alignment: .leading)

190+

.padding(.vertical, 14)

191+

.padding(.horizontal, 16)

192+

.frame(maxWidth: .infinity, alignment: .leading)

193+

.textSelection(.enabled)

194+

.background(.thinMaterial)

195+

.clipShape(RoundedRectangle(cornerRadius: 14))

196+

}

197+

}