From 49caed082a67851fcd5479d1c462b95f1a5d4a7c Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 16 Sep 2026 11:23:54 -0700 Subject: Feed: what arrives waits behind the pill; the count bumps; no auto-flush. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Posts a refresh found slid in a beat after the cached page painted, moving what you had begun reading, and reaching the top of the page let waiting posts in with a re-render under a finger on its way to the pill — the tap landed on the post beneath. Now everything that arrives after the first paint, the boot catch-up included, waits behind the pill wherever you are; the pill is a keyed node whose count bumps on each change; and a tap scrolls to the top before painting so the new posts open under your eyes. A rebuilt follow list still rebuilds the feed in place. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01JuwQqNWtDJcxPWtEm9134z --- src/style.css | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/style.css') diff --git a/src/style.css b/src/style.css index dd90ec1..366efe6 100644 --- a/src/style.css +++ b/src/style.css @@ -636,6 +636,12 @@ html.no-scroll { overflow: hidden; scrollbar-gutter: auto; } box-shadow: 0 3px 12px rgba(0, 0, 0, .28); animation: pill-in .18s ease-out; } +/* the count bumps each time it changes: a fresh node per value replays it */ +.feed-new-pill .n { display: inline-block; min-width: 1.1em; text-align: center; animation: pill-bump .32s cubic-bezier(.2,.9,.3,1.4); } +@keyframes pill-bump { + from { transform: scale(1.7); opacity: .4; } + to { transform: scale(1); opacity: 1; } +} @keyframes pill-in { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } -- cgit v1.2.3