chadtmiller.com/hud
A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts
place.hud.hudkit 0.3.0 Latest 5 packages
0
0
No one way to say when a node draws: when, unless, mine, others, where
Openchadtmiller.com mentioned this in Old builds of an app draw what they can of newer views
What happened
A view says "draw this only if" five ways. A
Stack'swhenandunlesstake a path that holds something or nothing;mineandotherstake a path to a DID that is or isn't the signed-in account's; awheretakes an object of element paths to scope paths or{"$is": literal}, maybe in{"$not": …}; a join's query has its ownwhenandunless; anopen'sunlessanother. They can't be combined (unread and mine), each has its own grammar and its own checks inview.rs, and a model writing a view has to learn each from its component's notes.What's missing is one condition form, used wherever a view decides whether to draw or call something: a small expression over paths (holds, is, is mine, not, and, or), checked once as the catalog checks a prop, with today's
when,unless,mine,othersandwhereas shorthands for it, so existing views keep working.