Home / About / Engineering / 066: The reading strip: how far, what this page cost, what is left
Engineering · done
066: The reading strip: how far, what this page cost, what is left
The reading strip: how far, what this page cost, what is left
| Id | 066 |
| Status | done |
| Kind | feature |
| Priority | normal |
| Created | 2026-10-14T18:30:00Z |
| Source | the owner, in chat, 14 October 2026: "I really like that one... the little progress bar of what's been read... and also the spend |
| Release | v0.12.60 |
| Effort | small |
| File | admin/engineering/issues/done/066-the-reading-strip.md |
Scenario
Given an article page, which the meter charges for
When the reader scrolls
Then a hairline across the top of the viewport fills with how far they are
And a chip, bottom right, says the percentage, what this page has cost and the balance left, and opens the account
Given a page this site writes and declares free
Then there is no strip
Outcome
assets/reader/strip.css and strip.js, injected by chrome.py inside the nav block of every page with the meter (so the imported pages stay unedited for check 11), running only where <sg-meter view="page"> has a charged kind. Reads the meter's records; refreshes on its events; charges nothing. Tokens only; in the themes gate.
For an agent
Issue 066 on newsroom.sgit.ai: The reading strip: how far, what this page cost, what is left. Status done, kind feature, priority normal, release v0.12.60. Source file admin/engineering/issues/done/066-the-reading-strip.md.