joplock/tests
igor 5d40d83493 fix(editor): active line highlight setting, soft-break round-trip, font/spacing fixes
- Add highlightActiveLine bool setting (default true) wired through
  settingsService → api allowedKeys → settings UI → _joplockConfig → app.js
- Fix CM theme fontSize to use var(--font-size-note) instead of hardcoded 14px
- Fix CM lineHeight to 1.7 to match .editor-preview
- Fix mobile CSS: remove hardcoded font-size/line-height from .cm-host .cm-content
- Fix Turndown br option: '' instead of '\n' to prevent double-spacing on
  render-mode edits (Turndown appends its own \n, so br:'\n' produced \n\n)
- Guard flushSave() syncPV() call behind _previewDirty to prevent Turndown
  corruption during autosave when user hasn't edited in preview mode
- Mark ensureEditableAfterPre injected nodes with data-pv-trail and strip them
  in htmlToMarkdown clone to prevent extra blank lines after trailing code blocks
- Fix setEditorMode('markdown') to use content comparison for cmSetVal decision
- Increase .editor-preview p margin to 0.75em for better paragraph spacing
- Add 5 new round-trip tests (426 total passing)
2026-06-26 10:03:47 +12:00
..
adminService.test.js retry admin bootstrap until Joplin Server DB is ready on fresh install 2026-05-20 13:20:13 +12:00
backupService.test.js add backup delete action and explicit compression modes 2026-05-20 23:13:18 +12:00
cookies.test.js fix mobile resume startup and editor targeting 2026-04-25 20:51:37 +12:00
createServer.test.js Make login cookie persistent to survive browser process eviction on suspend 2026-06-19 22:50:45 +12:00
env.test.js Add recovery backups and fix theme/title edge cases 2026-05-18 19:34:06 +12:00
historyService.test.js fix mobile resume startup and editor targeting 2026-04-25 20:51:37 +12:00
itemService.test.js Add vault/notebook encryption: client-side AES-256-GCM E2EE with SVG lock icons, mobile vault support, startup resume gate, and re-entry guard 2026-04-28 22:25:46 +12:00
itemWriteService.test.js fix mobile resume startup and editor targeting 2026-04-25 20:51:37 +12:00
mfaService.test.js Refactor route rendering and harden editor session handling 2026-04-27 00:24:23 +12:00
previewRoundTrip.test.js fix(editor): active line highlight setting, soft-break round-trip, font/spacing fixes 2026-06-26 10:03:47 +12:00
proxyVaultGuard.test.js enforce vault note encryption at Joplin Server proxy layer 2026-05-21 16:09:09 +12:00
recoveryService.test.js Add recovery backups and fix theme/title edge cases 2026-05-18 19:34:06 +12:00
sessionService.test.js Fix session timeout by removing hardcoded 12h TTL and making login cookies session-scoped 2026-06-17 13:09:27 +12:00
settingsService.test.js add expander-based AI autocomplete triggers 2026-06-07 14:56:30 +12:00
templates.test.js add expander-based AI autocomplete triggers 2026-06-07 14:56:30 +12:00
vaultService.test.js Add vault/notebook encryption: client-side AES-256-GCM E2EE with SVG lock icons, mobile vault support, startup resume gate, and re-entry guard 2026-04-28 22:25:46 +12:00