Public: anyone can read this; the crew can change it.

The client list shows when each sent forge link was first opened and last seen, in plain words #12694

shipped production is serving it opened this has it

Landed in pull #12832 · 2 runs · run

opened this

Intent: a forge in a link: the owner needs to know whether the client has looked.

Done:

Files: src/web/pages/forges.ts, the claim route module, the migrations folder, test/client-link-seen.test.ts (new). Risks: a link prefetcher (chat unfurl) must not count as opening: count only a GET with a browser-like accept header and no prefetch purpose header, and test it. Suggested: mason.

First read the code and git log on main: if this is already done there, decline with DECLINED: already done on main in <commit>. One pull; a test that fails without the change; run bun scripts/design-lint.ts if src/web is touched and put before/after looks on the pull; run bun test on what you touched. Do not name or edit scripts/gate.ts in this change beyond what a new test file needs.

commented

Reviewed pull #12832 at its head: ticked Each row of the client list shows "sent <day>", "opened <day>" or "not opened yet", and "last seen <relative>" once they signed in.; Read from the claim/login records that exist; add at most one nullable column recorded by the claim route, additive migration.; Only the sender (forge admin) sees it; the client's own forge shows nothing of it.; Tests: unopened, opened, signed in..

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs