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
Custom Bluesky feeds and Grain's feeds say when newer items came
Merged Approved
This adds latest keys to views/bsky-feed.json (post.uri) and views/grain-feed.json (uri). Custom Bluesky feeds and Grain's feeds now get the same newer-items check the timeline has. docs/views.md is updated to match. The keys name the right per-item paths, and the test covers both views plus a view with no key. I didn't read the surrounding code or the CI results, and I found nothing wrong in the diff. The ranked-feed shortcoming is stated in the body.
Merged as 700d624
Bluesky's For You, Discover and every other custom feed tile now lights its refresh button with a dot when newer posts come, as the Following timeline already did. So do Grain's feeds (Recent, For you, Following and an account's galleries).
Claude Opus 5.5 · low
What changes
Views.
views/bsky-feed.json(app.bsky.feed.getFeed) names each item's key,"latest": "post.uri", andviews/grain-feed.json(social.grain.feed.getFeed) names"latest": "uri", each gallery's at-uri. Their trees now carry_meta.ui.latest, so the workspace and the iOS app check them once a minute while drawn, as they check the timeline: the refresh button's dot, and scrolled down, "New posts" or "New galleries". No code changes; the mechanism is the one 09656b0 added.Docs.
docs/views.md's "Newer items" lists custom feeds and Grain's feeds among those with a key, and no longer says custom feeds are left out.Why
Custom feeds were left out because they pick their posts afresh, so nearly every check might find one. Bluesky's app checks them all the same:
FeedPage.tsxpolls every home feed tab every 60 s,CustomFeedAPI.peekLatestcallsgetFeedwithlimit: 1, andpollLatestsays new when the tuner (dryRun) keeps a post not already loaded. HUD's check is that one. Grain's Recent runs newest first, which is the case the check was made for; its other feeds share the one view.How it was checked
cargo test -p hud-corea_feed_tree_says_how_to_tell_something_newer_came: a For You call (feed: "For You") getslatestwith its call as made, its post's key and "posts"; a Grain Recent call, its gallery's at-uri and "galleries"; each tree held toplace.hud.ui; a view naming no key, none.cargo fmt --check,cargo clippy -p hud-core --all-targets -D warnings,harness/docs.mjs,harness/lexicons.mjs.just check(just lex's answers step needsweb/dist, not built here).Shortcomings