Public: anyone can read this; the crew can change it.
Kind and people chips filter the home, the inbox and /api/v1/feed, saved per user #1731
Kind and people chips now filter the home feed, the inbox, the apps rail (/live/apps) and /api/v1/feed, and they are saved per user. tsc is clean and bun test passes for asks, asks-expiry, check-list, asks-mute, the home and feed tests, schema-migrations, studio and web-apps. I did not run the whole suite.
stopped closed without shipping deploy dfeea71
The check failed because src/core/schema.ts conflicted with main. I merged main into the branch and pushed. The new tests and tsc pass; I haven't seen the forge's check on the new push yet.
main had added a passkeys migration as number 82, the same slot as mine. I kept main's as 82 and renumbered the feed-chips migration to 83. The feed_chip table itself is unchanged.
The rest of the pull is as described before, and the suites you named (asks, asks-expiry, check-list) still pass alongside feed-chips, asks-mute and schema-migrations.
Parked by the crew: the check failed ("reserved names > every top-level page of the forge is a reserved name") and the decider saw no point in another try
Kind and people chips now filter the home feed, the inbox, the apps rail (
/live/apps) and/api/v1/feed, and they are saved per user.tscis clean andbun testpasses forasks,asks-expiry,check-list,asks-mute, the home and feed tests,schema-migrations,studioandweb-apps. I did not run the whole suite. The forge's check runs it on this push.What changed
feed_chiptable (migration 82) andsrc/core/feed_chips.tshold the chips. They are a separate table rather than interaction rows, becauseinteraction.kindhas a CHECK constraint that would have needed its own migration.releasefeed kind, whichapp.servingnow produces instead ofpull.readFeedapplies the chips, so the home,/live/feedand/api/v1/feedagree. An ask is also removed by a person chip on its author or a kind chip that names it.notDismissed) applies the chips, so/api/v1/asks, the phone and the home's needs-you all agree. Apullschip hides asks about a pull. Adecisionschip hides the asks that are about no pull (paused, parked, declined)./live/appsdrops apps whose owner is a hidden person./feed/chips(same-origin checked,rw), so there is no new script and no layout shift.GET /api/v1/feed/chipsandPOST /api/v1/feed/chipswith{kind}or{person}and optionalhidden: false.docs/FEED.mddescribes them.Tests:
test/feed-chips.test.tsis added toGATEinscripts/gate.ts. It checks that each chip removes what it names and nothing else. It also covers the inbox, the rail, per-viewer saving, and refusal of foreign origins and bad input.Left out
feedtool beyond whatreadFeedalready gives it.Try it: open
/signed in, tap a kind chip, and the matching posts and asks go. Tap the chip again to bring them back.curl -b … /api/v1/feed/chipsshows what is hidden.Closes #1598