Commit Graph

832 Commits

Author SHA1 Message Date
kennethreitz 87f11bcd2b TOC entry Enter jumps to section content instead of anchor navigation
When pressing Enter on a TOC entry, now selects the first content
element (title/paragraph) in that section for keyboard navigation
instead of just scrolling to the anchor.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 00:29:24 -05:00
kennethreitz 79d79b1a00 Add PDF button and TOC shortcuts to resource index keyboard nav
- PDF button is now selectable via arrow navigation
- 'p' key downloads PDF directly
- 't' key jumps to TOC block

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 00:28:45 -05:00
kennethreitz 672a7a1d7b Add section title links to keyboard navigation on resource index pages
- Resource entry titles (h3.resource-name) are now selectable
- Enter on a title navigates to the detail page
- Allows drill-down navigation: section title -> paragraphs -> verses

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 00:27:59 -05:00
kennethreitz 44bfa73157 Add TOC drill-down keyboard navigation on resource index pages
- TOC is now a selectable block that can be navigated to with arrow keys
- Press Enter or Right arrow to drill into individual TOC entries
- Navigate TOC entries with Up/Down, Enter or Right to follow link
- Left arrow exits TOC items back to TOC block

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 00:27:26 -05:00
kennethreitz 58b9c316a6 Add '1' keyboard shortcut to navigate home from anywhere
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 00:26:36 -05:00
kennethreitz 40b86ffaf7 Comprehensive keyboard navigation improvements
- Remove study guides from homepage keyboard nav (too inline/sloppy)
- Add paragraph-level nav to resource_index.html (soteriology, etc.)
- Stories index: add category navigation, Enter jumps to first story in category
- Story kids: add adult callout and PDF button to nav
- Detail pages (topic, resource, reading_plan, parable): include paragraphs,
  verse items, and PDF buttons in keyboard nav
- Chapter page: add 'i' for interlinear, 'p' for PDF shortcuts
- Book page: add 'p' for PDF shortcut
- Chapter interlinear: add 'p' for PDF shortcut

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 00:24:33 -05:00
kennethreitz a401de6b3f Improve keyboard navigation with contextual back and more selectable items
- Left arrow uses history.back() on detail pages (verse, story, story_kids)
  so navigation returns to wherever user came from
- Homepage now includes daily verse, search section, nav links, and study
  guides in keyboard-selectable items
- Enter on search section focuses the input field

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 00:11:27 -05:00
kennethreitz d8e7c999bd Use browser back when navigating from verse-highlighted chapter
Left arrow now uses history.back() when the URL has a verse hash
(indicating the user came from a story or verse link), otherwise
navigates to previous chapter as before.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 00:01:30 -05:00
kennethreitz 090119e0ac Add scripture metadata to story keyboard navigation
- Story meta (scripture refs, characters, themes) now navigable
- Down arrow starts at first paragraph, up goes to metadata
- Enter on metadata follows first scripture link

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 23:57:12 -05:00
kennethreitz 2b6f34b74c Add PDF button to story page keyboard navigation
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 23:56:14 -05:00
kennethreitz b3545fd377 Include kids callout in story page keyboard navigation
- Up/down now includes the kids version callout box
- Enter on kids callout navigates to kids version
- Added Escape to clear selection

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 23:55:56 -05:00
kennethreitz 11ec1a4095 Change keyboard shortcuts: s=Stories, /=Search
- s now goes to /stories
- / now goes to /search (more intuitive)
- Updated keyboard help modal

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 23:54:10 -05:00
kennethreitz ac38d99dec Embed verse text inline in cross-references section
- Display verse text directly below each reference instead of tooltip
- Remove hover tooltip system for cross-references
- Cleaner, more readable presentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 23:50:08 -05:00
kennethreitz b372653e62 Include sidenotes and marginnotes in verse tooltip areas
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 23:48:00 -05:00
kennethreitz 547a1992fb Restrict verse tooltips to paragraph content only
Skip tooltips on:
- Navigation, headers, footers, TOC, breadcrumbs
- Buttons, actions, download/print buttons
- Share container and share buttons
- Chapter/verse navigation
- Headings (h1, h2, h3)

Only show tooltips on links within:
- Paragraphs, sections, articles
- Verse items, verse text, intro text
- Descriptions, list items

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 23:47:39 -05:00
kennethreitz e09a1d3b6a Fix escaped HTML in verse PDF by adding safe filter
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 23:45:18 -05:00
kennethreitz f3c0a84219 Fix cross-references in verse PDF to use correct field names
- Use ref.text instead of ref.ref for reference string
- Use ref.context instead of ref.note for description
- Add ref.verse_text to show the actual verse text

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 23:44:08 -05:00
kennethreitz ecd6c6faba Move PDF button to Share This Verse section
- Removed standalone PDF button from top of page
- Added PDF option to share buttons (Copy, Tweet, Share, PDF)
- Cleaned up unused CSS

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 23:43:31 -05:00
kennethreitz 5d05e9e1ad Fix verse PDF to use correct commentary field names
- analysis (not theological_significance)
- historical (not historical_context)
- questions (study questions list)
- cross_references from commentary

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 23:42:30 -05:00
kennethreitz 41e3d45bf2 Fix cross-reference field name in verse PDF template
Changed ref.reference to xref.ref to match actual data structure

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 23:41:28 -05:00
kennethreitz 8634e8ad7f Add print CSS to all resource pages and PDF for verse view
Print CSS added to:
- biblical_angels.html
- biblical_covenants.html
- biblical_festivals.html
- biblical_prophets.html
- fruits_of_spirit.html
- names_of_god.html
- parables.html
- resource_index.html
- tetragrammaton.html
- twelve_apostles.html
- women_of_the_bible.html
- verse.html

Verse PDF feature:
- New verse_pdf.html template with commentary, cross-refs, interlinear
- New /book/{book}/chapter/{chapter}/verse/{verse_num}/pdf route
- Download PDF button on verse pages

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 23:40:16 -05:00
kennethreitz 30a59c206d Increase foreign text size in interlinear PDF
Hebrew: 15pt → 20pt, Greek: 14pt → 18pt

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 23:34:08 -05:00
kennethreitz d829041796 Add PDF download for interlinear chapter pages
- Create chapter_interlinear_pdf.html template for PDF export
- Add /book/{book}/chapter/{chapter}/interlinear/pdf route
- Add PDF download button to interlinear page alongside print
- Include Hebrew/Greek text, English translations, and Strong's numbers

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 23:33:17 -05:00
kennethreitz 3177b097a4 Add print functionality to interlinear chapter pages
- Add print button with printer icon
- Add print-specific CSS styles that hide navigation, tooltips, and popups
- Format interlinear words compactly for printing
- Prevent verse sections from breaking across pages

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 23:30:01 -05:00
kennethreitz 742a2efb7f Default sidebar to collapsed on mobile
On screens <= 768px, the sidebar now defaults to collapsed
for first-time visitors. User preference is still saved and
respected on subsequent visits.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 23:27:39 -05:00
kennethreitz f852ad602f Improve keyboard navigation consistency
Verse page:
- Now paragraph-based instead of section-based
- Up/down moves through paragraphs, cross-refs, interlinear
- Enter on interlinear enters word mode (like interlinear page)
- Left/right for word navigation in word mode
- Enter toggles word expansion
- Escape exits modes

Chapter page:
- Added h/l vim keys for prev/next chapter
- Added Escape to clear verse selection
- Left now falls back to book page if no prev chapter

Added Escape to clear selection on:
- topic_detail.html
- parable_detail.html
- study_guide_detail.html (also added Enter to follow links)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 23:25:34 -05:00
kennethreitz 1279fde038 Fix case-insensitive book name redirects (301)
URLs like /book/gen/chapter/1/verse/3 now properly redirect
to /book/Genesis/chapter/1/verse/3 with a 301 status.

The normalize_book_name function now does case-insensitive lookup
for both abbreviations and canonical book names.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 19:14:05 -05:00
kennethreitz e32692e830 Add random verse hotkey (.)
Press . to go to a random Bible verse.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 19:11:55 -05:00
kennethreitz 84c514be0c Update story pages keyboard navigation
- Up/down now navigates between reading paragraphs
- Left goes to stories index (parent)
- Right goes to next story
- Updated both adult and kids story templates

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 19:07:28 -05:00
kennethreitz 6f2930e7aa Update verse page keyboard navigation
- Up/down now navigates between reading sections (verse text,
  interlinear, cross references, analysis, etc.)
- Right arrow goes to next verse
- Left arrow goes back to chapter view

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 19:03:58 -05:00
kennethreitz 61b44f278e Add keyboard navigation to interactive family tree
- +/- or =/_ for zoom in/out
- 0 to reset zoom
- f to fit to view
- i to toggle info sidebar
- Escape to close sidebar
- h or ← to navigate back (tree history then browser)
- Updated hint text to show keyboard shortcuts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 19:02:51 -05:00
kennethreitz 5f63e7d18e Fix sidebar collapse state persistence across page views
The sidebar now correctly remembers its collapsed/expanded state.
Previously, the logic only set checked=true for 'true' but didn't
handle the 'false' case to collapse the sidebar.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 19:00:09 -05:00
kennethreitz d5f97540c3 Add autofocus to Strong's Concordance search input
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 18:59:25 -05:00
kennethreitz 78efc7e2fc Add keyboard navigation to commentary and stories pages
- commentary.html: verse card navigation with up/down, enter to view
- stories_index.html: 2D grid navigation for story cards
- stories_kids_index.html: 2D grid navigation for kids story cards

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 18:57:47 -05:00
kennethreitz b61baf0d9e Add keyboard navigation to more pages
- resource_index.html: up/down for entries, enter to open
- story_detail.html: left/right for prev/next story, up for kids version
- story_kids.html: left/right for prev/next, down for adult version
- family_tree_ancestors.html: tree node navigation
- family_tree_descendants.html: tree node navigation
- family_tree_lineage.html: left/h to go back
- family_tree_search.html: search result navigation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 18:56:58 -05:00
kennethreitz 657de68878 Add keyboard navigation to more pages
- Books page: 2D grid navigation (up/down moves by row)
- Fruits of Spirit: entry navigation
- Tetragrammaton: section navigation
- Verse of the Day: archive table navigation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 18:54:07 -05:00
kennethreitz e7683ecd9e Add keyboard navigation to theological resource pages
- Biblical angels, covenants, festivals, maps, prophets
- Names of God, twelve apostles, women of the Bible
- Up/down/j/k to navigate entries, left/h to go back, Enter to open

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 18:53:04 -05:00
kennethreitz 98a899a59e Add keyboard navigation to interlinear chapter view
- Up/down navigates between verses
- Right arrow enters word-by-word mode within a verse
- Left/right moves between words, Enter expands word details
- Escape exits word mode or clears selection
- Left/right navigates chapters when no selection active

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 18:50:50 -05:00
kennethreitz fb932671b2 Add comprehensive keyboard navigation across entire site
- Add global navigation shortcuts: b (books), s (search), r (resources),
  t (topics), p (plans), f (family tree), c (concordance), v (verse of day),
  g (verse lookup), backtick (toggle sidebar)
- Replace keyboard help alert with styled HTML modal (? key)
- Add arrow/vim-style navigation to all major pages:
  - Topics, topic detail, reading plans, reading plan detail
  - Study guides, parables, search results, resources
  - Family tree pages (main, generation, person)
  - Strong's concordance index pages
  - Biblical timeline, interlinear landing
- Fix click-to-navigate on books and book pages (remove double-click requirement)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 18:46:41 -05:00
kennethreitz 51e8c9c239 Enhance homepage keyboard nav and add featured highlights
- Keyboard nav now includes both feature cards and explore links
- Proper 2D grid nav (3 cols for features, 4 cols for explore)
- Add yellow/gold featured highlight for Biblical Timeline and Genealogies
- Add selected state styling for explore links

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 18:36:15 -05:00
kennethreitz 4450584f7d Update homepage keyboard nav to 2D grid navigation
- ←/→ or h/l moves left/right between cards
- ↑/↓ or j/k moves up/down by row (3 cols on desktop, 1 on mobile)
- Respects responsive layout column count

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 18:34:52 -05:00
kennethreitz be3fd0c1cf Add keyboard navigation to homepage
- ↑/↓ or j/k to navigate feature cards with visual selection
- Enter to go to selected card, or /books if none selected
- / to focus search box (existing)
- Green highlight for selected card

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 18:33:45 -05:00
kennethreitz 2c5909f375 Add keyboard navigation to book page
- ↑/↓ or j/k to select chapters with visual highlight
- Enter to navigate to selected chapter
- ←/→ to navigate between adjacent books
- Click to select, click again to navigate
- Added nav hint showing keyboard shortcuts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 18:31:53 -05:00
kennethreitz f91c81af5f Add keyboard navigation to books listing page
- ↑/↓ or j/k to select books
- Enter to navigate to selected book
- Click to select, click again to navigate
- Visual highlight with green border for selected book

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 18:30:55 -05:00
kennethreitz 1e901d7118 Initialize verse keyboard nav from URL hash
When navigating to a chapter with a verse hash (e.g., #verse-24),
keyboard navigation now starts from that verse instead of -1.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 18:29:42 -05:00
kennethreitz dd0a9d0f9b Add keyboard navigation for verses on chapter and verse pages
Chapter view:
- ↑/↓ or j/k to select verses with visual highlight
- Enter to navigate to selected verse detail page
- Click on verse to select it
- Updated nav help text with new shortcuts

Verse detail page:
- ← to go back to chapter view (scrolls to current verse)
- ↑/↓ or j/k to navigate between verses
- Maintains existing ←/→ for chapter navigation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 18:28:56 -05:00
kennethreitz 408f5edf6a Enhance interactive family tree and Strong's derivation display
Interactive family tree improvements:
- Add hamburger menu toggle for sidebar with localStorage persistence
- Smooth tween animation when navigating between people
- Preserve zoom level during navigation
- Narrower node cards (120px) with adjusted font sizes
- Remove minus indicators, keep only + for expandable nodes
- Add info button (i) on each node to open sidebar
- Enhanced info panel with more fields: title, Kekulé number,
  siblings, children links, scripture references
- Add View Ancestors/Descendants links in sidebar
- Make ancestor nodes semi-transparent (60% opacity)
- Fix search input width with box-sizing

Strong's Concordance:
- Embed related Strong's entries in derivation section
- Show preview cards for referenced entries (e.g., H1 on H2 page)
- Display word, transliteration, and definition excerpt

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 18:25:42 -05:00
kennethreitz d2258af114 Show parents above selected person in interactive family tree
- Add buildBidirectionalTreeData function to build both ancestors and descendants
- Render ancestors above the selected person (flipped tree)
- Render descendants below as before
- Shows up to 2 generations of ancestors and configurable descendants
- Double-click any node to re-center the tree on that person

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 18:07:46 -05:00
kennethreitz ee054ff9db Fix interactive link on generation page to link to first person
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 18:05:54 -05:00
kennethreitz 0911184c26 Add dark mode support to interactive family tree page
- Dark backgrounds for controls, viewport, breadcrumb, sidebar
- Dark styling for buttons, dropdowns, inputs, and hints
- Proper contrast for all labels, text, and links
- Kekulé ancestor gradient preserved in dark mode

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 18:05:11 -05:00