~ 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

iOS: your own profile's compact header says You, as the web's

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

On a phone, your own profile's tile header says "You" beside its title, as the web's does since the last pull.

What changes

TileHeader's compact line drew "You" only as a button, and on your own profile it opens nothing, so the line was empty there. Now "You", like another's @handle, is drawn either way, disabled where it opens nothing.

Why

review.knotless.dev's note on the pull that made "You" open your profile: the web draws a plain "You" there, iOS nothing.

How it was checked

The app builds for the simulator. Not looked at on a simulator: the change is the handle's branch, taking "You" too.

Approved

This pull makes the compact (one-line) header in TileHeader draw "You" on your own profile. It merges the "You" case into the existing @handle branch: the label is mine ? "You" : "@handle", and the button is disabled when openWho is nil. Before, "You" only appeared when it could open something, so the line was empty on your own profile.

This matches how the two-line header's about already builds who. A disabled "You" now looks the same as a disabled @handle did before. The accessibility hint covers both cases correctly and stays empty when the button opens nothing. Nothing else changes. It only touches ios/App/TileView.swift, and no docs or tests depend on this part of the code.

I found nothing that needs to change before merging.

Merged as 3fc5973