Commit Graph

1217 Commits

Author SHA1 Message Date
kennethreitz 7ee55edd69 Add commentary for 22 verses and large font mode for templates
New verse commentary:
- Job: 13:2, 27:21, 28:16, 28:21, 35:11
- Exodus: 7:4, 7:5, 7:8, 7:9, 7:11
- John: 14:17, 14:18, 14:20, 15:2, 15:15 (Upper Room Discourse)
- Acts: 13:23, 13:30, 13:33, 16:5, 16:10, 17:30, 17:31 (Paul's sermons)

Also adds large font mode CSS to multiple detail templates.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 09:52:16 -05:00
kennethreitz 7c68d633d1 Add large font mode support for story cards and concordance
Enlarge text in story cards (stories index, kids stories) and
occurrence cards (Strong's concordance) when big font mode is enabled.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 09:48:08 -05:00
kennethreitz c572c72669 Add grid keyboard navigation for interlinear words
Arrow keys now navigate words in a 2D grid pattern:
- Left/Right: move to adjacent words in same row
- Up/Down: move to closest word in row above/below
- Enter: expand word details
- Escape: exit word mode

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 09:41:32 -05:00
kennethreitz 01f5b1ba7b UI improvements: nav pills, breadcrumb positioning, anchor offsets
- Convert verse navigation to pill-style buttons
- Extend breadcrumb bar to the left with padding
- Add scroll-margin-top for verse anchors on chapter page
- Rename 'Chapter X' to 'Read in Chapter X'

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 09:36:08 -05:00
kennethreitz 0869cc4e25 Enlarge word-english and cross-reference pills in large font mode
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 09:30:24 -05:00
kennethreitz 833018aa6e Compact original language analysis and simplify verse page
- Inline horizontal layout for interlinear words (original + English + Strong's)
- Larger font for Hebrew/Greek text (1.6-1.8rem)
- Remove expand/collapse from interlinear section (always visible)
- Rename 'Analysis' to 'Analysis & Commentary'

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 09:28:50 -05:00
kennethreitz cc02a4afa5 Make cross-references compact and improve sidebar styling
- Cross-references now display as compact pills (always visible, no collapse)
- Hover tooltip shows verse text
- Sidebar current selection is now bold (font-weight: 700)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 09:24:58 -05:00
kennethreitz 0800e9de94 Support space-separated verse references (e.g., 'Rev 22 20')
- Update VerseReference.from_string to parse 'Book Chapter Verse' format
- Update is_verse_reference regex to match space format
- Add book name normalization to parse_verse_reference
- Update quick lookup JS to handle space format

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 09:17:52 -05:00
kennethreitz e7a1296187 Complete 1 Chronicles commentary (all 976 verses)
Added missing verse 14:17 with Hebrew word studies (shēm, pachad)
and theological analysis connecting to Messianic kingdom.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 09:17:05 -05:00
kennethreitz b5fbe571ba Improve filter pill design in light mode
- Transparent background instead of gray
- Rounded pill shape (border-radius: 20px)
- Subtler text color
- Light red tint on hover

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 09:13:46 -05:00
kennethreitz 398acd6117 Add links to about page including Red Letter Edition
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 09:12:58 -05:00
kennethreitz 7db7f9771d Use green keyboard nav highlight on red letter page for consistency
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 09:11:59 -05:00
kennethreitz 4b36f9ed77 Add Red Letter Edition page showing words of Christ
- New /red-letter route with filterable, paginated verse list
- Stats showing total verses, full/partial breakdown
- Red letter text rendering with highlighting
- Keyboard navigation support

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 09:10:33 -05:00
kennethreitz 48f710533e Remove broken red-letter link from README
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 09:08:14 -05:00
kennethreitz 908867f596 Add links throughout README
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 09:07:27 -05:00
kennethreitz 97351b0fba Add links to study guides and reading plans in README
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 09:06:03 -05:00
kennethreitz ccf72259f1 Add links to resource examples in README
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 09:05:41 -05:00
kennethreitz 3b57b67a02 Remove commentary_20_verses.json from tracking
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 09:04:49 -05:00
kennethreitz 16ccc9bf25 Remove temporary commentary files from tracking
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 09:04:44 -05:00
kennethreitz f4c2b70f6e Improve README with comprehensive feature documentation
Streamlined structure, added AI commentary, Strong's Concordance details,
family tree explorer, PDF export, accessibility features, and API docs.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 09:03:56 -05:00
kennethreitz eeb725bfb8 Update accessibility page with Strong's keyboard shortcuts
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 08:59:30 -05:00
kennethreitz ca1fc5081f Fix keyboard nav: left arrow goes back, right arrow goes to next word
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 08:58:39 -05:00
kennethreitz 59ce51757f Add arrow key navigation for Strong's entry pages
Left arrow (or h) goes to previous word, right arrow (or l) goes to next.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 08:58:15 -05:00
kennethreitz 5a807b891a Fix search button styling on Strong's page for dark mode
Use consistent green color instead of --link-color which had poor
contrast (light gray background with white text) in dark mode.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 08:56:50 -05:00
kennethreitz 1f4bf35e20 Add automatic cache-busting for static files
Use file modification time hash for base.js and tufte.css to
automatically bust browser cache when files are updated.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 23:21:57 -05:00
kennethreitz bc1a70dd3b Add cache-busting version to base.js
Force browsers to load fresh base.js with sidebar close fix.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 23:19:54 -05:00
kennethreitz 859d6fbc31 Fix keyboard navigation on books page
Wrap KJVNav.initGridNav call in DOMContentLoaded to ensure
base.js has loaded before accessing the function.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 23:18:38 -05:00
kennethreitz f57047b9e7 Show font size toggle button on mobile
Keep the font toggle (A) visible on mobile while hiding other
breadcrumb action buttons (speech, bookmark).

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 23:11:57 -05:00
kennethreitz 41b40994b7 Close mobile sidebar when clicking navigation links
- Remove localStorage persistence for sidebar state on mobile
- Always start with sidebar closed on mobile
- Close sidebar when clicking any link inside it

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 23:10:39 -05:00
kennethreitz 1233847d9f Fix redirect loop for self-referential book abbreviations
normalize_book_name() was returning the canonical name even when the
input was already canonical, causing infinite redirect loops.
Now only returns a value when the canonical name differs from input.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 23:08:44 -05:00
kennethreitz ee4a890d87 Add redirects for old Solomon's Song URLs
Add "Solomon's Song" and "Solomons Song" as aliases that redirect
to "Song of Solomon" for backwards compatibility with old links.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 23:07:01 -05:00
kennethreitz d7a2b8ba2a Rename Solomon's Song to Song of Solomon throughout codebase
- Update verse references in verses-1769.json
- Rename data files (solomons_song.json -> song_of_solomon.json)
- Update book mappings in books.py
- Fix VerseReference.from_string() to handle multi-word book names
  like "Song of Solomon" (was only handling 2-word names)
- Update sitemap and metadata files

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 23:05:30 -05:00
kennethreitz 11a1834e03 Collapse mobile sidebar by default on page load
Remove checked attribute so hamburger menu starts closed on mobile.
Desktop sidebar is always visible via CSS regardless of checkbox state.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 22:47:20 -05:00
kennethreitz c5ccc1ed28 Fix search tips box dark mode styling
Use CSS variables and add dark mode overrides for proper contrast.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 22:36:19 -05:00
kennethreitz c7d28e8a5a Fix missing space in John 1:1 commentary
Add quotes around 'In the beginning' phrase for clarity.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 21:53:33 -05:00
kennethreitz 0df37de19d Add #interlinear anchor to featured verses on interlinear page
Links now jump directly to the interlinear section on verse pages.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 21:45:20 -05:00
kennethreitz fc8bb7f197 Fix stars page grouping to keep book items together
Group by first two breadcrumbs (e.g., "Books / 1 Corinthians") so that
chapters and verses from the same book appear in the same group instead
of being split across different groups.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 21:42:51 -05:00
kennethreitz 0738823b3f Use proper stop button symbol for speech toggle
Change from ■ (black square) to ⏹ (stop button) to better match ▶ (play)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 21:38:26 -05:00
kennethreitz 671c084e3f Increase large font mode sizes slightly
- Base article: 1.1rem → 1.2rem
- Paragraphs/list items: 1.5rem → 1.7rem
- H1: 3rem → 3.2rem
- H2: 2.2rem → 2.4rem

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 21:34:21 -05:00
kennethreitz 2c5931716c Add Strong's number search support in search box
- Detect when query looks like a Strong's number (H123, G456)
- Redirect directly to entry page instead of showing search results
- Handle case insensitivity and leading zeros (h0026 -> H26)
- Update placeholder text to show both number and definition search

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 21:32:32 -05:00
kennethreitz 6084a347c8 Fix Strong's entry page button styling and tooltip selector
- Change primary nav button to explicit green (#4a7c59) instead of
  var(--link-color) which is dark gray in light mode
- Ensure button text is white with !important and :link/:visited states
- Make verse-tooltip selector more specific to avoid styling conflicts

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 21:30:17 -05:00
kennethreitz 387fd0203d Make Strong's index cards fully clickable
- Convert entry cards and search results to anchor tags
- Whole card is now clickable, not just the small Strong's number
- Add hover effects with border highlight and subtle shadow
- Update keyboard navigation to work with new structure

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 21:23:55 -05:00
kennethreitz 75c83a0016 Fix Strong's cross-language derivation links
Hebrew numbers in Greek derivations often have leading zeros (H04566)
which caused lookups to fail. Now normalize all Strong's numbers by
stripping leading zeros before lookup and link generation.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 21:21:14 -05:00
kennethreitz c861a671d2 Fix speech toggle button state and font size toggle display
- Show lowercase 'a' for normal mode, uppercase 'A' for large text mode
- Fix speech button not showing stop icon while playing
- Check all speech sources (KJVResourceSpeech, KJVSpeech, speechSynthesis)
- Clear suppressSpace flag on button click to fix toggle behavior

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 21:17:31 -05:00
kennethreitz cb49f5e130 Comprehensive mobile experience improvements
- Disable sticky breadcrumb on mobile, hide action buttons
- Add mobile styles to chapter page (nav, touch targets)
- Add mobile styles to verse page (share buttons, tooltips)
- Add mobile styles to books page (responsive grid)
- Add mobile styles to book page (chapter links, nav hints)
- Add mobile styles to search page (full-width, iOS zoom fix)
- Add mobile styles to topics and reading plans pages
- Improve touch targets across all pages (44px min)
- Fix max-width containers for mobile (100%)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 21:03:35 -05:00
kennethreitz d19074e2bb Remove About link from side nav
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 16:41:27 -05:00
kennethreitz 16d699c969 Show header on stars page only when stars exist
The heading "Starred Pages" now appears dynamically when there are
starred items, but is hidden when the page is empty (showing the
empty state with instructions instead).

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 15:52:46 -05:00
kennethreitz ea8cbacc6e Fix stars page UX and reading plans progress display
- Remove heading from stars page
- Left arrow key now collapses expanded item instead of navigating back
- Only navigate back with left key if nothing is selected
- Fix reading plans progress: correct ID from 'your-plans' to 'your-reading-plans'
- Change section to div for reading plans wrapper

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 15:50:06 -05:00
kennethreitz 4819ef36ec Add Stars page for bookmarking with notes and navigation badges
- Create /stars page with collapsible groups, notes, and keyboard nav
- Add yellow star bookmark button in breadcrumb (☆/★)
- Add nav badges showing star count and reading plan % complete
- Change 's' shortcut from Stories to Stars
- Update toast to say "Added to Starred Pages"
- Persist group collapse state in localStorage
- Support notes with monospace font and edit/add functionality
- Update accessibility page and ? help modal

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 15:39:01 -05:00
kennethreitz c4d02d75ed Add 84 more tests for resources, search, and API coverage
New tests target:
- routes/resources.py: biblical maps, angels, prophets, parables, etc.
- Resource detail and PDF routes
- utils/search_index.py: search with filters, highlighting
- Bible PDF routes (book, chapter, verse, interlinear)
- Commentary API endpoints
- Extended API tests for cross-references, topics, reading plans

Total tests: 939 (all passing)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 14:52:35 -05:00