Skip to content

fix: Wrap renaming of notes through autotile in locking context #1047

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

Merged
merged 1 commit into from
May 24, 2023

Conversation

juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented May 17, 2023

Otherwise setting the title of the note will fail when editing through the text editor if files_lock is enabled

@juliusknorr juliusknorr added the bug Something isn't working label May 17, 2023
@juliusknorr
Copy link
Member Author

Need to double check if setting a category also needs to be adapted, as I got a similar report for that one

Copy link
Member

@blizzz blizzz left a comment

Choose a reason for hiding this comment

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

looks reasonable, didn't test

@juliusknorr
Copy link
Member Author

Need to double check if setting a category also needs to be adapted, as I got a similar report for that one

Moved the wrapping logic to a helper function and covered the category updates as well, which would run into the lock as they move the file around.

@juliusknorr juliusknorr merged commit 391d84c into main May 24, 2023
@juliusknorr juliusknorr deleted the bugfix/noid/lock branch May 24, 2023 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants