chadtmiller.com/hud
A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts
place.hud.hudkit 0.5.0 Latest 5 packages
0
0
iOS: your own profile's compact header says You, as the web's
ios/App/TileView.swift+4−13
| @@ -255,19 +255,10 @@ struct TileHeader<Actions: View>: View { | ||
Text(title) | ||
.font(.headline) | ||
.lineLimit(1) | ||
if mine, let openWho { | ||
Button(action: openWho) { | ||
Text("You") | ||
.font(.caption) | ||
.foregroundStyle(.secondary) | ||
.lineLimit(1) | ||
} | ||
.buttonStyle(.plain) | ||
.layoutPriority(1) | ||
.accessibilityHint("Opens your profile across your apps") | ||
} else if let handle, !mine { | ||
// Whose: "You", an account of yours; opening it across its apps, but on that page itself. | ||
if let who = mine ? "You" : handle.map({ "@\($0)" }) { | ||
Button { openWho?() } label: { | ||
Text("@\(handle)") | ||
Text(who) | ||
.font(.caption) | ||
.foregroundStyle(.secondary) | ||
.lineLimit(1) | ||
| @@ -275,7 +266,7 @@ struct TileHeader<Actions: View>: View { | ||
.buttonStyle(.plain) | ||
.disabled(openWho == nil) | ||
.layoutPriority(1) | ||
.accessibilityHint(openWho == nil ? "" : "Opens their profile across their apps") | ||
.accessibilityHint(openWho == nil ? "" : mine ? "Opens your profile across your apps" : "Opens their profile across their apps") | ||
} | ||
} | ||
if byAgent { | ||