Repository navigation
Confitext v1.6.1 - Obsidian Community Review Compliance & Quality Fixes
Your thoughts. Your screen. Your code.
An animated, Matrix-inspired visual privacy layer for private writing in Obsidian.
🛠️ Obsidian Review Compliance & Bug Fixes
- Standardized Settings Headings: Replaced all direct HTML heading elements (
h2,h3,h4) insettings.tswith Obsidian's nativenew Setting(containerEl).setName(...).setHeading()component API for theme-consistent UI rendering. - Clean Command Naming: Removed redundant plugin name prefix from
"What's new in Confitext (Release Notes)"->"What's new (Release Notes)"incommands.tsper Obsidian command naming guidelines. - Obsidian Native DOM Helper: Replaced fallback
document.createElement('span')indecorations.tswith Obsidian's nativecreateSpanhelper (obsidianmd/prefer-create-el). - Strict TypeScript Safety: Resolved
@typescript-eslint/no-unsafe-assignmentwarnings inmain.tsandsettings.tswhen retrieving metadata cache frontmatter. - Safe Event Listeners: Ensured all button and click event listeners return
voidinstead of unhandled Promises (void (async () => { ... })()). - Clean Tokenizer Regex: Removed redundant escape character (
\-->-) in API key tokenization regular expressions intokenizer.ts. - Clean Imports: Removed unused imports (
clearRulesCache,getNoteMaskedWords) insettings.ts. - CSS Lint Compliance: Removed all
!importantdeclarations fromstyles.cssby utilizing higher selector specificity (.cm-editor .confitext-glyph.confitext-hover-revealed). - What's New Tab: Updated release notes view to reflect v1.6.1.
🧪 Test & Quality Verification
- 159 Automated Unit Tests passing across 9 test files.
- Full typecheck verification with 0 errors (
npm run typecheck). - Byte-for-byte build verification reproducing
main.js,manifest.json, andstyles.css.
📦 Installation & Upgrades
In Obsidian (Community Plugins)
- Open Obsidian Settings > Community plugins.
- Search for Confitext and click Update (or Install & Enable).
- If Confitext is already running, run
Reload app without saving(Ctrl/Cmd + P) to load the new release.
Verified Release Assets
main.js(Production bundle with verified GitHub artifact attestation ✅)manifest.json(minAppVersion: 1.7.2✅)styles.css(With verified GitHub artifact attestation ✅)