Commit Graph
22 Commits
Author SHA1 Message Date
nmemmertandClaude Sonnet 4.6 537ea24eb3 Use macula-greek English glosses in suggest modal instead of KJV kjv_def
Adds public/nt-strongs-gloss.json (100 KB) — the most-common per-word
English gloss for each Strong's number, computed from the macula-greek
SBLGNT dataset. This replaces the fragile kjv_def comma-parsing approach:
grace now shows "grace" not "acceptable", God shows "God" not "X exceeding",
will shows "will" not "desire", etc.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-28 13:12:10 -04:00
nmemmertandClaude Sonnet 4.6 64e77fb40e Clean up English word display in suggest modal
Strip Strong's X/+ notation prefixes and take the first meaningful
English word from the comma-separated kjv_def — so G2316 shows
"God" instead of "exceeding", G40 shows "holy" instead of "(most) holy
(one", etc. Falls back to the raw def if all segments are filtered.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-28 13:04:26 -04:00
nmemmertandClaude Sonnet 4.6 93b58d8346 Fix suggest modal: portal to body + English word first
- Render modal via createPortal(…, document.body) so it's never clipped
  or offset by parent overflow/transform CSS — appears as a true centered
  overlay regardless of page scroll position
- Reorder word rows: English definition leads (bold), then Greek lexeme,
  transliteration, and Strong's number — makes it easy to recognise words
  without reading the Greek

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-28 12:59:04 -04:00
nmemmertandClaude Sonnet 4.6 236ad7fab7 Replace auto-add with word picker modal for Greek suggest
Instead of adding all passage words automatically, the suggest button now
opens a modal listing every Greek word from the verse range as checkboxes.
Content words (nouns, verbs, adjectives) are pre-checked; function words
(articles, prepositions, conjunctions, common pronouns) are pre-unchecked.
Select all / Select none shortcuts included. Words already in the chunk
are excluded from the list entirely.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-28 12:54:15 -04:00
nmemmertandClaude Sonnet 4.6 cda93a68eb Fix Greek suggest: use local macula-greek concordance instead of broken API
The previous implementation fetched SBLGNT from bible.helloao.org using
the wrong translation ID and an API that returns raw text strings, not
per-word Strong's data — so it always silently returned nothing.

Now uses a bundled NT Strong's concordance (public/nt-strongs-concordance.json,
~908 KB) derived from the Clear-Bible macula-greek SBLGNT dataset. This maps
each verse (book/chapter/verse) to the exact Strong's numbers that appear in it,
making the suggest feature accurate and offline-capable after first load.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-28 12:44:40 -04:00
nmemmertandClaude Sonnet 4.6 53790437b3 Add passage-aware Greek word suggest and cross-device stale-project detection
- NT_BOOK_NUMBER map + suggestGreekWordsForChunk: fetches SBLGNT interlinear
  from bible.helloao.org, extracts Strong's numbers for the exact verse range,
  and auto-populates Greek word rows — fixes wrong/unrelated words from manual entry
- staleLocalProjects detection on startup: compares lastEdited timestamps so the
  app knows when the server has a newer version of a project you already have locally
- pullLatestFromServer + amber banner on home page for one-click sync pull

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-28 12:24:43 -04:00
nmemmert 8376a01178 fix bug 2026-05-28 08:38:25 -04:00
nmemmert d8da3744ca adding backup and data perstance accross devices 2026-05-28 08:32:33 -04:00
nmemmertandClaude Sonnet 4.6 48b3790cd2 Fix Greek word lookup: replace broken Bolls BDAG with OpenScriptures Strong's dictionary
The Bolls.life BDAG endpoint (/dictionary-definition/BDAG/) now returns
empty arrays for all queries, and the search endpoint returns 404.

Switched Greek lookups to the OpenScriptures Strong's Greek Dictionary
served via jsDelivr CDN. The ~1.2 MB dictionary is fetched once on first
lookup and cached in a useRef for the session, so subsequent lookups are
instant. Hebrew lookups (Bolls BDBT) are unchanged and still working.

Supports Strong's number lookup (G4102, 4102) and English word search
(faith, apostle), returning lemma, transliteration, short definition,
and an extended definition with derivation and KJV keyword list.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-28 07:51:44 -04:00
nmemmert 6034aa26a2 Merge pull request #7 from nmemmert/claude/test-coverage-analysis-R2olv
Hide lookup links when word is found
2026-05-27 13:47:38 -04:00
nmemmert 0c0d4a0ae2 Merge pull request #6 from nmemmert/claude/test-coverage-analysis-R2olv
Show external lookup links when Greek word not found
2026-05-27 13:43:49 -04:00
nmemmert 25f0328c15 Merge pull request #5 from nmemmert/claude/test-coverage-analysis-R2olv
Fix Greek lookup returning "Lookup failed"
2026-05-27 13:39:47 -04:00
nmemmert f35ae80dd9 Merge pull request #4 from nmemmert/claude/test-coverage-analysis-R2olv
Merge feature branch into main
2026-05-27 13:34:54 -04:00
nmemmert b72f842353 restart script 2026-05-27 13:19:58 -04:00
nmemmert 8b44250579 Merge pull request #3 from nmemmert/claude/test-coverage-analysis-R2olv
Fix Greek lookup: auto-prepend G prefix and use search endpoint for E…
2026-05-27 13:16:03 -04:00
nmemmert 35d92be213 greek update 2026-05-27 11:45:40 -04:00
nmemmert eae8c9a18e add to allowed hosts 2026-05-27 10:32:19 -04:00
nmemmert decf43823f allowed server 2026-05-27 09:41:53 -04:00
nmemmert f3313c2721 Merge pull request #2 from nmemmert/claude/test-coverage-analysis-R2olv
Run dev server in background with nohup so it survives terminal close
2026-05-27 09:24:05 -04:00
nmemmert 4daed768ff Merge pull request #1 from nmemmert/claude/test-coverage-analysis-R2olv
Claude/test coverage analysis r2olv
2026-05-27 09:15:15 -04:00
nmemmert 9a78e2a65f fixed 2026-05-26 17:20:54 -04:00
nmemmert f47a41ce6f Fix App.jsx two-page workflow JSX render and update study app layout 2026-05-26 17:14:30 -04:00