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

Timeout should probably be an on layout ready #50

Open
chrisgurney opened this issue Jul 27, 2024 · 0 comments
Open

Timeout should probably be an on layout ready #50

chrisgurney opened this issue Jul 27, 2024 · 0 comments

Comments

@chrisgurney
Copy link

chrisgurney commented Jul 27, 2024

Background

In a conversation, your plugin came up:

  • I have Soundscapes enabled, but I'm blocking YouTube.
  • The time it takes your plugin to timeout is misreported by Obsidian, attributing it to other plugins sometimes (in my case it was my plugin Note Toolbar, but I can reproduce with others).
  • At the end of the convo, it was suggested that your timeout be relocated (though I'm not sure this will do anything to help the above point).

For the full conversation, you can start here:
https://discord.com/channels/686053708261228577/840286264964022302/1266736110298730528

Recommendation, per @mProjectsCode:

maybe, this timeout should probably be on layout ready

setTimeout(() => {

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

No branches or pull requests

1 participant