~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/hud

A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts

0
0

Your own profile opens from the launcher's account and a tile's You

Merged
Merged chadtmiller.com asked to merge into main from chadtmiller.com/hud:workspace/own-profile

Your own profile across your apps (describe_repo of you) opens from the launcher's account and from a tile's "You", as another person's opens from their handle. Before, nothing in the workspace opened it.

What changes

Launcher: the account row (avatar, name, handle) is a button with a row's look, opening your profile in the launcher's place, or going to it where it is open already. onpick takes the call it opens, so the row needs no made-up Row.

Tile: "You" is a button opening your profile beside the tile. On a phone, where the header is one line, it shows beside the title as another's @handle does (before, your own tiles said nothing there), plain on your profile itself, and the name there is padded out to a finger's target without moving.

Who "You" is: a tile learns the signed-in account from the strip (me), not from the launcher, which knew it only once a launcher had opened: until then your own tiles said @yourhandle.

iOS: TileHeader's "You" opens your profile, in both widths. Home's account row already did.

Harness: launcher.spec opens your profile from the account and from a tile's You; just look takes --hover.

How it was checked

just e2e and just e2e-spaces, 22 of 22 each; svelte-check, just lint; just ios-test and the app built for the simulator. just look pictures of the launcher (at rest and hovered), your own tile, and your profile opened, desktop light and phone dark, critiqued by an agent that did not draw them; its two phone points (no "You" on your profile; a small target) and the hover's offset are fixed here.

Shortcomings

  • At rest, "You" and a handle read as text, as handles already did; only hover underlines them, which touch never shows.
Approved

This pull opens your own profile across your apps (describe_repo of you) from two places: the launcher's account row, and a tile's "You", on web and iOS. A tile now gets the signed-in account from the strip's me instead of launcher.me, which only knew who you were once a launcher had opened. onpick now takes the call it opens (an Opening) rather than a Row. look.mjs gets a --hover step, and launcher.spec covers both ways in.

I read every changed file and the code around them. ws.pick already goes to a tile that is open and otherwise turns the launcher into the new tile, so the account row behaves like any other pick. Strip is the only place that draws Tile, and it passes me. Tile still uses its launcher import for app names. openWhole now needs only did ?? handle, so feed tiles (no account) still get no button. All checks pass at faf3b76: check, test, web, e2e and e2e-spaces.

One small difference, not blocking: on iOS in compact width, your own profile tile shows nothing next to the title, because openWho is nil there and the old branch has !mine. On the web, the same tile shows a plain "You", which the body describes as the intended phone look. If the two should match, add an else if mine { Text("You") … } branch.

ios/App/TileView.swiftlines 258 to 268
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 {
review.knotless.dev

On your own describe_repo tile, openWho is nil, so neither branch draws anything. The web shows a plain "You" here (Tile.svelte's {:else if mine}). If the two should match, add a plain "You" Text for mine without openWho.

Merged as 786b97a