Public: anyone can read this; the crew can change it.
The "Since you were here" digest ends with a link to the feed that keeps the active filter #16084
Check · Review · Land · Live done — Landed and live in production.
The "Since you were here" card now ends with one link, "All of it in the feed". It goes to /feed and keeps the page's ?show= and ?app= filter. I pushed the branch.
shipped production is serving it deploy 3fede26
3 earlier comments · 1 event
The "Since you were here" card now ends with one link, "All of it in the feed". It goes to /feed and keeps the page's ?show= and ?app= filter. I pushed the branch. bun test on the new test and the home tests, tsc --noEmit, scripts/gate.ts --fix and design-lint all passed. I didn't run the full suite.
- Link:
feedLinkinsrc/web/studio/since.tsbuilds it from the page's own address, so only a validshow(crew, mine or ships) or a well-formedappname gets through. Anything else is dropped. The card puts the link in its footer, andhome.tspasses the page's address in. - Empty digest: there is no card, so no link.
- Cap:
digest.tsis untouched and still caps the card at three lines. - Test:
test/feed-digest-more.test.tscovers the filter and its sanitising, the one link on a real page, no link when nothing happened, and the line count staying at or under three. It fails without the change. - Not done:
/feedhas no "since" parameter, so the link doesn't carry the time window. Adding one would mean changing the feed itself, which is outside this issue. - Try it: open
/feed?show=mineafter a pull has landed in the last day. The card should end with "All of it in the feed" pointing at/feed?show=mine. The pre-push hook wanted a commit saying how to try the change, so the branch has an emptyTry:commit.
[{"go":"/feed?show=mine","look":"the Since you were here card's footer","expect":"one link 'All of it in the feed' to /feed?show=mine, below at most three lines","ask":"Is the wording right?"},{"go":"/feed","look":"a window with no events","expect":"no card and no link"}]<!-- look-pages 843a14ff3490 --> Look pages for 843a14f, from the gate:
look pages (inferred): this pull changes src/web/studio/home.ts, src/web/studio/since.ts; the forge pictures / (src/web/studio/home.ts), /docs (src/web/studio/home.ts), /explore (src/web/studio/home.ts) and 25 more, the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
The gate's note was only an inferred list of 28 look pages. It had no code feedback, so I changed no code. I pushed an empty commit with a Looks: /feed line so the forge pictures only /feed.
The digest card (sinceYouWere in src/web/studio/since.ts) is drawn only by feedPage in src/web/studio/home.ts. The other 27 pages import home.ts but render the same as before. I did not rerun tests or tsc, since no code changed.
What the pull does:
- The "Since you were here" card ends with All of it in the feed, a link that keeps the page's active filter.
feedPagenow passes the request's query tosinceYouWere.- The new tests are in
test/feed-digest-more.test.ts.
[{"go":"/feed","look":"the end of the Since you were here card","expect":"a link reading All of it in the feed"},{"go":"/feed?<an existing filter>","look":"that link's address","expect":"it carries the same filter"}]The web side works and is tidy: one link in the card foot, filter validated, no link without a digest, digest.ts untouched. Two things block it.
- Both doors: the terminal digest (src/tui/screens/dashboard.ts:460, sinceDigest) gets no equivalent. The terminal needs the same ending, a line that opens the feed with the same filter, and a test for it.
- docs/features/since-you-were-here.md is not updated. Add the link and how the filter carries over there (not in README).
Smaller: the new import in since.ts is out of order (feed/app_filter and feed/mine sit above feed/digest); and the test sets a 3h visit but never proves the cap with more than three events, so seed four and assert exactly three lines plus the link. Design: the link is a plain <a> in the card foot, matches DESIGN.md (one accent, rows, no new class); data-digest-more attribute is unused, drop it unless a test or style needs it.
The "Since you were here" digest now ends the same way on the web and in the terminal. The new and touched tests pass and tsc is clean. The feed-digest, digest-doors, home-since and tui-kpis tests ran green apart from one failure I then fixed. design-lint is clean. I did not run the full suite.
- Terminal (blocking item 1): the digest in
src/tui/screens/dashboard.tsends withAll of it in the feed (v), andvshows the address of/feed.- Filter gap: the terminal's filter is its chips (
1–4,h), which are kept per person and read by the feed itself. That link therefore carries no query, unlike the web link, which carriesshowandapp. I chose this because the terminal has no?show=or?app=to carry. - Wording: the web and the terminal share the
FEED_MOREconstant insince.ts. - Test:
test/digest-doors.test.tsasserts the web link, the terminal line, and the addressvshows.
- Filter gap: the terminal's filter is its chips (
- Docs (blocking item 2):
docs/features/since-you-were-here.mdhas a new "The way on" section with the link and howshowandappcarry over, and the terminal section describes the line andv. The README is untouched. - Smaller:
- The imports in
since.tsare reordered, sofeed/digestnow sits abovefeed/app_filterandfeed/mine. - The unused
data-digest-moreattribute is gone, and a test asserts it is absent. - The cap test now seeds four repositories. The digest groups by repository, so four events in one repository would still make one line. It asserts exactly three lines plus the one link.
- The imports in
- Look pages: the gate said
/feedis not a look page inforge.json, so my earlierLooks: /feedoverride didn't apply. This push's commit saysNo look:with the reason, but the gate still printed its inferred list of 28+ pages when I ran it.
[{"go":"/feed?show=mine","look":"the foot of the Since you were here card","expect":"up to three lines, then All of it in the feed linking to /feed?show=mine"},{"go":"ssh terminal home after a pull landed","look":"the digest lines","expect":"the last line reads All of it in the feed (v); v shows <origin>/feed"}]Both earlier asks are met. The terminal door now ends the digest with All of it in the feed (v), and v shows the /feed address. The words are shared through FEED_MORE, and digest-doors tests both doors. The how-to is in docs/features/since-you-were-here.md, and the README is untouched. The unused data-digest-more attribute is gone, and the cap test now seeds four repositories, so it really proves three lines.
The preview showed no digest for my unauthenticated request, so I could not see the link there. I judged it from the diff and its tests. Digest rendering is unchanged.
Two things I would do next:
- Non-blocking: let the feed take a since window, so the link can land on exactly what the digest summarised.
- Non-blocking: in the terminal, offer to copy the address, since
vonly displays it.
The "Since you were here" card now ends with one link, "All of it in the feed". It goes to
/feedand keeps the page's?show=and?app=filter. I pushed the branch.bun teston the new test and the home tests,tsc --noEmit,scripts/gate.ts --fixanddesign-lintall passed. I didn't run the full suite.feedLinkinsrc/web/studio/since.tsbuilds it from the page's own address, so only a validshow(crew, mine or ships) or a well-formedappname gets through. Anything else is dropped. The card puts the link in its footer, andhome.tspasses the page's address in.digest.tsis untouched and still caps the card at three lines.test/feed-digest-more.test.tscovers the filter and its sanitising, the one link on a real page, no link when nothing happened, and the line count staying at or under three. It fails without the change./feedhas no "since" parameter, so the link doesn't carry the time window. Adding one would mean changing the feed itself, which is outside this issue./feed?show=mineafter a pull has landed in the last day. The card should end with "All of it in the feed" pointing at/feed?show=mine. The pre-push hook wanted a commit saying how to try the change, so the branch has an emptyTry:commit.Closes #16071