Verse Folio
Synchronized three-column close-reading and critical apparatus studio for poetry
Context & Problem
Close reading a complex poem—whether Yeats’s Easter, 1916, Eliot’s The Love Song of J. Alfred Prufrock, or Shelley’s Ozymandias—requires holding three layers of attention together at once:
- The text itself: meter, syntax, enjambment, and rhetorical devices at the phrase level.
- Plain-sense paraphrase: verifying what the syntax is literally saying beneath compressed metaphor.
- Reference to Context & Critical Apparatus: historical framing, allusion, and interpretive stakes.
Linear notebooks and word processors force those three layers apart. Scrolling down to a footnote breaks eye contact with the stanza. Verse Folio models a critical edition directly in the browser.
Workspace Design & Engineering
1. Synchronized Three-Column Folio
Every stanza or syntactic unit aligns horizontally across three columns:
- Verse Column: Displays the poem with subtle color-coded thematic washes and phrase-level annotations across 18 literary devices (metaphor, enjambment, caesura, paradox, allusion, irony, and more).
- Paraphrase Column: Keeps line-matched prose glosses directly beside the lines they unpack.
- Critical Apparatus Column: Holds Reference-to-Context notes, historical background, and interpretive commentary, with focus and pane-maximize toggles when concentrating on a single layer.
2. Poem Ingestion & Chunking Heuristics
Importing a raw poem runs through poemParser (verified with Vitest unit tests), which segments unformatted verse using syntactic, couplet, quatrain, or strophic heuristics so new study folios can be scaffolded in seconds. Completed analyses export cleanly as structured study guides.
3. Offline-First Persistence & Hardened Cloud Sync
Primary state lives locally in IndexedDB (idb-keyval) so annotations open immediately offline with zero login wall. An optional cloud sync layer connects Firebase Auth and Cloud Firestore with schema-validated security rules scoping every document strictly to /users/{userId}/poems/{poemId}.
Trade-offs & Lessons Learned
- Dual-domain feedback loop: Designing software for my own English Literature seminars made UI density decisions immediately testable—any decorative chrome that slowed down reading a poem got cut.
- Local-first before cloud sync: Starting with IndexedDB avoided making account creation a prerequisite for annotating a single sonnet, while still leaving a clean path for multi-device backup.