mirror of
https://github.com/philemonchiro/obsidian-notekeeper.git
synced 2026-07-22 06:51:40 +00:00
Bumps minAppVersion to 1.7.2 (the lowest version where every API the plugin uses is supported — processFrontMatter and revealLeaf were the two that pushed this up). ESLint pass against eslint-plugin-obsidianmd is now clean (0 errors, 0 warnings). Notable changes: - Removes the deprecated MarkdownRenderer.renderMarkdown fallback; always uses MarkdownRenderer.render now (minAppVersion covers it) - Replaces Workspace.activeLeaf reads with Workspace.getActiveViewOfType - Replaces Vault.trash with FileManager.trashFile to respect the user's configured deletion preference - Replaces window.confirm() with a small ConfirmModal so the bulk-delete prompt is consistent with the rest of the UI - Dynamic style assignments now use HTMLElement.setCssStyles rather than el.style.* directly - All static modal styling has been moved out of inline styles into CSS classes (keep-modal-stack, keep-modal-row, keep-modal-buttons, etc.) - Async event handlers that returned Promise<void> where the listener expects void are now sync wrappers that internally void-await - Empty catch blocks now have explanatory comments - Removes 'this' aliasing in openNotePreview (uses arrow function instead) - Drops unused vars and fixes sentence case in setting descriptions Adds eslint.config.mjs with the obsidianmd recommended config so future changes can be lint-checked locally before pushing.
7 lines
64 B
Text
7 lines
64 B
Text
node_modules/
|
|
.DS_Store
|
|
*.log
|
|
data.json
|
|
.env
|
|
.env.local
|
|
launch/
|