Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow UI to update while markdown.update is in progress #4589

Merged
merged 3 commits into from
Jun 3, 2024

Conversation

willmcgugan
Copy link
Collaborator

@willmcgugan willmcgugan commented Jun 3, 2024

Fixes #4586

  • Runs blocking operations in a thread
  • Mounts widgets in batches
  • Micro-optimizations

This is unlikely to make very large markdown files any faster, but it should allow the UI to remain responsive while the update is happening.

@willmcgugan willmcgugan marked this pull request as draft June 3, 2024 09:10
@willmcgugan willmcgugan changed the title markdown Allow UI to update while markdown.update is in progress Jun 3, 2024
@willmcgugan willmcgugan marked this pull request as ready for review June 3, 2024 09:35
@willmcgugan willmcgugan requested a review from darrenburns June 3, 2024 09:56
@willmcgugan willmcgugan merged commit 6bd8e9e into main Jun 3, 2024
20 checks passed
@willmcgugan willmcgugan deleted the faster-markdown branch June 3, 2024 14:36
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.

Markdown Widget Lagging when Opening Large Files
2 participants