Repository navigation
The page: Literata, a reading measure and the Status line - #83
Merged
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
The Writer's prose is set in Literata, bundled from the OFL @fontsource-variable/literata package so Vite serves its woff2 from /assets/ on Obelus's own origin; Georgia is the fallback. The prose is 18px with line-height 1.6, headings scale in em in the same family, and the column holds about 68 characters, centred. The Document title moves to the head of the column in the page's typeface and still commits on blur or Enter. The toolbar aligns with the column, is quieter, and drops Undo and Redo; the history and Markdown input rules are StarterKit's, unchanged. A Status line beneath the prose shows the word count at every width, from the new pure wordCountLabel. Status line is added to CONTEXT.md. Part of #57. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FjB3Gu8vhg5enkAneTdqga
The Status line carries the word count at a glance, so the Document menu keeps only Import and Export (story 200). The prop that served the menu's count goes with it. Part of #57. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FjB3Gu8vhg5enkAneTdqga
kiran-brahma
force-pushed
the
v1.3-63
branch
from
September 26, 2026 10:27
e6ed81a to
acab6d2
Compare
This was referenced Sep 26, 2026
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
3161
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.
Part of #57. Closes #63.
What changed
@fontsource-variable/literata(weight axis, upright and italic), imported insrc/index.css. Vite bundles the woff2 files into/assets/, so they're served from Obelus's own origin. The stack is"Literata Variable", Georgia, "Times New Roman", serifand is exposed as afont-pageutility..obelus-columnclass holds the prose to about 68 characters and centres it, and the title, toolbar and Status line use it too so all four line up. The scroller reserves its scrollbar gutter on both sides, so a scrollbar never pushes the column off-centre.role="toolbar". Undo and Redo are gone. StarterKit's history and Markdown input rules are unchanged.src/editor/StatusLine.tsx): sits under the prose at every width and sticks to the foot of the window. It showsdocument.wordCount(the same count the Library and Revisions use), formatted by the new purewordCountLabel, which has a test. It isn't a live region.wordCountprop is gone.CONTEXT.md.v1.3after Header destinations and the Callout's verdicts #68 merged. The header's structure from Header destinations and the Callout's verdicts #68 is intact.public/sw.jsprecaches only the/assets/URLs found inindex.html. The fonts are referenced from CSS, so they aren't precached. They are cached at runtime: request destinationfontunder/assets/, cache-first. The prune that runs on each online navigation removes them, and the page then fetches and caches them again.Acceptance criteria
pnpm previewand againstpnpm dev. Nothing went off-origin. The only font request was/assets/literata-latin-wght-normal-*.woff2on the same origin.worker/securityHeaders.tsis untouched.Notes for review
dist/contains the woff2 files but no separate licence file.🤖 Generated with Claude Code