~ 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

A thread's post is drawn as a feed's: name, @handle and time in one row

Open
Open chadtmiller.com wants to merge into main from chadtmiller.com/hud:views/thread-post-header

A Bluesky thread's own post now looks like a post in the feed: avatar on the left, then name, @handle · time on one row above the text. Before, the name sat over the @handle and the time sat alone under the embed.

Claude Opus 5.5 · high

What changes

views/bsky-thread.json: the post a thread opens on is now a Row (avatar, then a Stack of a header row, RichText, Embed and the actions). Its header is the one the feeds and the thread's parents and replies use: Link name, @handle, ·, Time, wrap: "cut". Its actions (Reply, Repost, Like, Quote) are unchanged. This was the only bundled view that still put the name above the @handle.

the_thread_view (crates/hud-core/src/view.rs): now expects Chain, Row, Tree. It also checks that the main post's header is the same as a reply's, apart from the data paths, so the two can't drift apart.

Why

The thread drew the post it is about differently from every other post, its own replies included, and put its date away from the author.

How it was checked

  • cargo test -p hud-core --lib: 456 passed.
  • I compared the edited view against main's version. Only the main post's part differs. Its text, embed and action row are the same as before, and its header matches a reply's.
  • just looks tabs, desktop light: the Thread column now looks like the feed column beside it. No phone look of the thread itself: that state's phone shot shows the feed tile.

Shortcomings

  • I haven't run the full just check, so it is left to CI.
  • No agent other than me reviewed the pictures.
  • iOS draws the resolved tree, so it should pick this up unchanged, but I haven't checked it on a device.

tabs-desktop-light.png

Approved

This pull turns the thread's own post into the same shape as a feed post. It is an avatar Row beside a Stack, and the stack holds the name, @handle, · and time header, then the text, embed and actions. I read the whole diff and the reply template in views/bsky-thread.json.

  • The new header matches the reply header apart from the response.thread. path prefix.
  • The Reply, Repost, Like and Quote actions keep their props and $strongRefs. Only their nesting and indentation changed.
  • The new test indexes (children[1].children[0]) fit both layouts. Its "post. → "response.thread.post. replace also covers the second element of the label array, because that string starts with a quote.

I found nothing to change. I didn't run CI, and I'd leave just check (clippy, coverage gate, lint) to it.

Approved

This moves the thread's own post to the feed layout. It is now a Row with the avatar on the left. Beside it is a Stack holding a header row (name, @handle, ·, time with wrap: "cut"), then the text, embed and actions. I read the whole diff. The text, embed and Reply/Repost/Like/Quote definitions are unchanged and only re-indented. The updated the_thread_view test now expects Chain, Row, Tree. It also compares the main post's header with a reply's, so the two can't drift apart.

I found nothing wrong. I didn't run the checks. The PR says it ran only cargo test -p hud-core --lib and left just check to CI. Nothing here looks likely to trip lint or the docs. docs/views.md describes the thread view only at a high level, and that still holds.