The feed's "N new" line
The feed head says "N new since you were last here" when posts newer than your stored last visit
(core/home_visit.ts, one row per person) are in your feed. It is server-rendered, needs no
JavaScript, and counts what the feed would show you (muted apps, dismissed posts and switched-off
chips left out), up to 99+. Opening the feed moves the mark on the next request, so the first
paint still shows the count. A first visit, or nothing new, says nothing. The terminal feed
shows the same line as a toast and never moves the mark. Code: src/feed/last_seen.ts.
"N newer posts" (#13599)
Under the head sits one reserved line, #feed-newer, 24 px high with or without text, so nothing
shifts. With posts newer than your last visit it reads N newer posts (1 newer post, 99+) as a
plain link to #live-feed, the top of the feed; with none the link is hidden. A poll that holds
new posts (the existing forge:held event, no new timer) shows the sticky "N new posts" button and hides the link, so one control carries the count; it
never moves what is on screen. The terminal's toast says the line once.
Code: newerLine in src/web/studio/feed.ts, newerLabel in src/feed/newer_label.ts;
test/feed-newer.test.ts.