The client row's last activity (#14672)
Each made forge's row on /forges says when a person last did anything in it: never opened, opened today, last seen yesterday or last seen 3 days ago. The words come from one function, lastActivityWords (src/spawn/client_words.ts), reading the lastActivityAt the list already loads: no new call.
- One phrase per row: when the row already carries the seen line (sent · opened · last seen), that line says it and these words are left out, on the page and in the terminal (
rowActivityWords). - Days are whole UTC days (23:59 yesterday is yesterday, 00:01 today is today). A time in the future reads as today; a value that is not a time reads as never opened.
- The terminal client list (
/forgesscreen) shows the same words to the sender, and only to the sender, as the page does (the page is the sender's own list). They replace the older "a person last did something …" line, which a guest in the terminal still gets; the exact time is the span'stitleon the page.
Tests: test/client-seen.test.ts.