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

fix: register handlers before the layout is ready #3368

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

mnaoumov
Copy link
Contributor

@mnaoumov mnaoumov commented Mar 3, 2025

Types of changes

Changes visible to users:

Description

Tasks code block has to be executed AFTER the layout is ready but the handler might need to be registered BEFORE that.

This enables Tasks to show results forany Queries in Callouts in Live Preview, when already opened at start-up.

Motivation and Context

Fixed #3366

How has this been tested?

Manual testing locally

Screenshots (if appropriate)

Checklist

Terms

Copy link

sonarqubecloud bot commented Mar 3, 2025

Copy link
Collaborator

@claremacrae claremacrae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you - I would never have figured this out.

@claremacrae claremacrae merged commit aa9f751 into obsidian-tasks-group:main Mar 3, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants