Repository navigation
Performance, correctness and maintainability release. No user-facing feature changes.
Fixed
- First click after startup stalled — the initial render deferred graph-link injection and vault scans behind an idle callback, so the first interaction could hang until they finished. The work is now coalesced and cached, so the first paint is instant.
- File-type legend height key was ignored — a
height:key on afiletypes:block wroteheightinstead ofmaxLegendHeight, so the cap never applied. - Post-unload timers injected phantom graph links — scheduler callbacks were never disposed on unload, so a debounced graph rescan could fire after the plugin was disabled and re-inject links. Every scheduler is now disposed in
onunload. - Inert activity-tracking toggle — the "track activity" setting did nothing because the write-dedupe key was wrong; it now correctly gates activity logging.
- Parser edge cases — boolean coercion, list parsing and structural-directive handling were hardened during the parser split.
Changed
- Fewer, batched re-renders — the five ad-hoc debouncers in
main.tswere replaced by a singleCoalescedScheduler, so settings edits and vault events coalesce instead of stacking. - Faster vault scans — recently-modified files (10 s TTL) and the vault folder list (5 s TTL) are cached, and each render builds one shared snapshot instead of re-querying per block.
- Faster graph-link injection — the graph scan is incremental and task-file reads run concurrently.
- Smoother drag-reorder — list and layout drag operations save once at the end instead of on every pointer move.
Internal
- Parser split into
DashboardParser— the giantparseDashboardfunction became a class with 25 focused methods; the publicparseDashboard()API is unchanged. - New
scheduler.tsandcache.ts—CoalescedScheduler(debounce / earliest / lock modes) andTtlCache, each unit-tested. - Renderer settings builder extracted —
buildConfigFromSettingsmoved out ofrenderer/index.tsintorenderer/settings-layout.ts. - Settings-tab helpers de-duplicated and the duplicate
StatEntry/NewNoteSettingstypes collapsed into aliases. - CI fixed — the trigger branch was
mainbut the default branch ismaster, so CI never ran.
Full Changelog: v1.5.0...v1.5.1