Commit graph

103 commits

Author SHA1 Message Date
Scott Tomaszewski
0b61c5c1f8 Fix plugin-evaluation styling warnings
Remove all !important declarations (override via selector specificity
instead) and replace the partially-supported text-indent on indented
passage lines with padding-left.
2026-06-02 16:21:31 -04:00
Scott Tomaszewski
ac747f43b4 Docs update 2026-06-01 12:39:40 -04:00
Scott Tomaszewski
1fa7598a83 Documents repo 2026-05-31 21:22:09 -04:00
Scott Tomaszewski
f35a1dbfff Prepares for release '0.13.1' 2026-05-31 12:30:07 -04:00
Scott Tomaszewski
9fabee0520 Clearing out the resolved followups 2026-05-31 12:29:10 -04:00
Scott Tomaszewski
13966cd40e Consolidate Bible file services and unify ESV response conversion
- Add ESVApiService.toBibleApiResponse() as the single ESV-response ->
  BiblePassage converter, used by both downloadFromESVApi and
  BibleContentService (removes the duplicated logic).
- Merge BibleChapterFiles into BibleFiles: BibleFiles now owns the static
  path/file lookups plus instance openChapterNote/createChapterNote/
  scrollToVerse. Keeping lookups static avoids a circular dependency.
- openChapterNote now takes a BibleReference instead of a string, so call
  sites pass references directly with no toString()/re-parse round-trip.
- Drop dead getFullContentPath() and stale TODOs; mark FOLLOWUP #5 resolved.
2026-05-31 12:18:00 -04:00
Scott Tomaszewski
c71a798182 Scroll to verse on render instead of fixed delay
Resolves FOLLOWUP.md #4. openChapterNote delegated scroll-to-verse to a
scrollToVerse helper that scrolls immediately when the verse element is
already present and otherwise observes the view container with a
MutationObserver, scrolling the instant .verse-N renders, then
disconnecting. A 5s win.setTimeout fallback (using the leaf's
WorkspaceContainer.win for pop-out correctness) disconnects the observer
if the verse never appears, replacing the magic 300ms setTimeout.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-31 11:50:04 -04:00
Scott Tomaszewski
5813205586 Render ESV HTML via sanitizeHTMLToDom instead of innerHTML
Resolves FOLLOWUP.md #3. All four sites in BibleReferenceRenderer that
assigned the ESV API response to innerHTML now run it through Obsidian's
sanitizeHTMLToDom() and append the resulting DocumentFragment, dropping
the inline no-unsanitized/property and no-inner-html eslint-disable
comments. The verse-preview extraction queries/clones paragraphs off the
sanitized fragment instead of a temporary innerHTML div.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-31 11:47:41 -04:00
Scott Tomaszewski
d01fc5f202 Prepares for release '1.13.0' 2026-05-31 09:07:23 -04:00
Scott Tomaszewski
4d84a5ae02 Reuses token from outside of devbox 2026-05-31 09:07:18 -04:00
Scott Tomaszewski
fbc4cc1e5e Prepares for release '1.13.0' 2026-05-31 08:54:35 -04:00
Scott Tomaszewski
74fcefc76f Updates lock 2026-05-31 08:54:31 -04:00
Scott Tomaszewski
f17b6f6071 Note vault.adapter migration in 0.13.0 changelog
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-31 08:53:27 -04:00
Scott Tomaszewski
c10c3d8902 Migrate file access from vault.adapter to Vault/FileManager APIs
Resolves FOLLOWUP.md #2. Replaces vault.adapter.* usage with the
intended Obsidian APIs:

- ESVApiService.saveESVApiResponseAsMdNote: Vault.create() for the note
  body + FileManager.processFrontMatter() for frontmatter; folder
  creation via getAbstractFileByPath/createFolder.
- DisciplesJournalPlugin.updateAllBibleNoteFrontmatter: reads canonical
  from metadataCache and updates via processFrontMatter.
- FrontmatterUtil: buildFrontmatterString/mergeCustomFrontmatterIntoExisting
  replaced by applyCustomFrontmatter, which mutates the frontmatter object
  directly (drops stringifyYaml round-tripping).
- BibleFiles.fileExistsForPassage uses getAbstractFileByPath (now sync);
  clearData deletes via FileManager.trashFile() to respect trash settings.
- All passage/content paths run through normalizePath().
- eslint config ignores .devbox/ tooling artifacts.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-31 08:53:07 -04:00
Scott Tomaszewski
0302a6b80c Better notifications when api key isnt set 2026-05-31 08:22:12 -04:00
Scott Tomaszewski
ad8b1461da Fixes a listener leak 2026-05-31 08:09:09 -04:00
Scott Tomaszewski
d93b00bc12 Cleanup 2026-05-30 21:57:09 -04:00
Scott Tomaszewski
e08f577102 Prepares for release '0.12.0' 2026-03-24 08:10:04 -04:00
Scott Tomaszewski
9b90810744 Adds "Open Bible" command and ribbon icon to browse books and chapters without a reference 2026-03-24 08:09:55 -04:00
Scott Tomaszewski
01637b9d03 Prepares for release '0.11.0' 2026-03-24 07:19:51 -04:00
Scott Tomaszewski
8446bb789b Adds template variable support 2026-03-24 07:19:37 -04:00
Scott Tomaszewski
e28709e909 Prepares for release '0.10.0' 2026-03-24 06:56:00 -04:00
Scott Tomaszewski
d69feffca4 Adds custom frontmatter support for Bible notes 2026-03-24 06:55:55 -04:00
Scott Tomaszewski
2a607c02db Prepares for release '0.9.2' 2026-03-24 05:41:37 -04:00
Scott Tomaszewski
4e5b099ed6 Corrects changelog 2026-03-24 05:41:34 -04:00
Scott Tomaszewski
631fb23cef Prepares for release '0.9.1' 2026-03-24 05:41:16 -04:00
Scott Tomaszewski
77d5d5fbfd Removes some extra, ugly margin 2026-03-24 05:41:07 -04:00
Scott Tomaszewski
4574bb23d6 Prepares for release '0.9.1' 2026-03-23 15:39:31 -04:00
Scott Tomaszewski
07de7330e0 Prepares for release '0.9.0' 2026-03-23 15:36:08 -04:00
Scott Tomaszewski
1cd38ea944 Prepares for release '0.9.0' 2026-03-23 15:30:21 -04:00
Scott Tomaszewski
ca0243bbc9 Helpers for release 2026-03-23 15:30:18 -04:00
Scott Tomaszewski
daa58cb5f4 Prepares for release '0.9.0' 2026-03-23 15:27:41 -04:00
Scott Tomaszewski
4ac6dcfa6e Helpers for release 2026-03-23 15:27:29 -04:00
Scott Tomaszewski
d86c15cc53 Adds helper for releases 2026-03-23 15:24:44 -04:00
Scott Tomaszewski
61bae6aac6 Preparation for release 2026-03-23 15:21:37 -04:00
Scott Tomaszewski
10fe3e9acf Adds option to hide footnotes in hover-preview 2026-03-23 15:19:58 -04:00
Scott Tomaszewski
5210ae6d57 Adds option to hide footnotes in main passage view 2026-03-23 14:19:50 -04:00
Scott Tomaszewski
404ed65060 Removing some extra logs 2026-02-27 09:05:12 -05:00
Scott Tomaszewski
e079e4d67f Adds cssclasses: hide-dj-passage-properties to passage notes to hide the noise 2025-10-20 14:52:37 -04:00
Scott Tomaszewski
127d5feb13 Adds "Clear Bible Data" button and prepares for release 2025-10-20 14:46:13 -04:00
Scott Tomaszewski
ee284651b6 Hits API if the chapter note is missing data 2025-10-20 13:39:37 -04:00
Scott Tomaszewski
07bf6ef163 Corrects chapter creation 2025-10-17 22:03:09 -04:00
Scott Tomaszewski
d20ffeb42b Refactoring to get rid of json files and uses frontmatter instead 2025-10-17 21:06:02 -04:00
Scott Tomaszewski
5958329d45 cleanup 2025-10-17 18:47:25 -04:00
Scott Tomaszewski
08cf60b4d9 Corrects an issue with hover previews not vanishing properly 2025-10-17 17:11:23 -04:00
Scott Tomaszewski
7aaf7e1342 Adds autocompletion search for book names in nav container 2025-05-29 16:45:49 -04:00
Scott Tomaszewski
117641f6ea Prepares for 0.6.0 release 2025-05-14 14:25:54 -04:00
Scott Tomaszewski
7de27e35bc Fixes up live preview 2025-05-14 14:24:56 -04:00
Scott Tomaszewski
35e4c4e992 Merge branch 'master' into live-preview 2025-05-14 12:28:22 -04:00
Scott Tomaszewski
4f826d964c Corrects parsing issue with hyphens 2025-05-12 13:19:04 -04:00