Skip to content

fix(notifications): optimise org notifications#1119

Open
dtvillafana wants to merge 1 commit intonvim-orgmode:masterfrom
dtvillafana:master
Open

fix(notifications): optimise org notifications#1119
dtvillafana wants to merge 1 commit intonvim-orgmode:masterfrom
dtvillafana:master

Conversation

@dtvillafana
Copy link

@dtvillafana dtvillafana commented Mar 19, 2026

do not block main ui thread (use async)
implement caching for files (typically files do not change frequently)

Summary

This PR fixes the issue with the main thread blocking, and the UI freezing

Related Issues

Related #

Closes #
#1118

Changes

  • adds caching for notifications
  • batches files to be processed concurrently
  • optimised early return for nodes that don't need to be processed

Checklist

I confirm that I have:

  • Followed the
    Conventional Commits
    specification
    (e.g., feat: add new feature, fix: correct bug,
    docs: update documentation).
  • My PR title also follows the conventional commits specification.
  • Updated relevant documentation, if necessary.
  • Thoroughly tested my changes.
  • Added tests (if applicable) and verified existing tests pass with
    make test.
  • Checked for breaking changes and documented them, if any.

do not block main ui thread (use async)
implement caching for files (typically files do not change frequently)
@dtvillafana dtvillafana marked this pull request as ready for review March 19, 2026 20:46
@dtvillafana dtvillafana changed the title fix(notifications): optimise org notification fix(notifications): optimise org notifications Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant