Repository navigation
Reading view: read a story without leaving the paper - #19
Merged
Merged
Conversation
A story whose page the gathering worker stored text for gets "Read here" beside its outlet link. The reading view (/read/<date>/<item>) sets that stored text in the paper's own type, with a sticky "Back to the paper" bar that returns to the story's page and a prominent "Open at <outlet>" link. Text that looks shorter than the piece carries an honest note about paywalls and script-only pages; stories without stored text keep only the link and the view says so. The server never fetches a page for it. Text size (A-/A+) and the place in each story are kept per device in local storage, which sign-out clears. The view's CSS and script load only on its page; the first-load budget rises to 166 KB for the per-story links. Also: - Image: OCI description label in the Containerfile (#12). The index annotations GHCR needs for a multi-arch description change .github/workflows/release.yml, which the desk's GitHub App may not push; that part waits on #12. - Sepia body text is warm ink, and the List and Reader layouts name themselves in the page bar (#13). - Empty states use the brand spot illustrations: moon before the first paper, folded paper for an empty search or a story with no copy, mug for no saved stories (#14). - The demo reader stores two invented snapshots (a full story and a paywalled teaser); screenshots regenerated, phone-story.png added. Refs #12. Closes #13, closes #14. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Products idea 8 (homelab-ops #3490): read a story without leaving the paper.
/read/<date>/<item>(and/p/<paper>/read/...). It shows the gathering worker's stored snapshot in the paper's own type. A sticky "Back to the paper" bar returns to the story's page, and "Open at " goes to the source..github/workflows/release.ymlchange, and the desk's GitHub App has noworkflowspermission. That part waits on Image: add an OCI description label #12.Written by another product-host session (now archived), and finished here.
How tested
go test ./...,go vet ./...,gofmt -l .,node --test web/sw_test.jsinternal/reader/story_test.go. The author checked the screenshots.Checklist
go test ./...passesgofmt -l .is clean🤖 Generated with Claude Code