-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
[Bug] Append doesn't always append #160
Comments
mode=prepend has the same problem
Obsidian v1.5.8 |
I am noticing that append from iOS shortcuts never works, or stopped working at some point |
I could reproduce the prepend issue with an empty file, which is now fixed in the new version. But other than everything worked fine on linux, android and iOS. @bcohen44 please share the not working uri. |
|
In my case, the lost append when the note doesn't exist, the issue stems from race conditions created by other extensions. The primary culprit for me is Templater. Disabling its file create hook, where it will apply the template on note create, appears to have fixed my uninitialized note append for me, albeit in limited testing. |
The append feature doesn't aways work, this occurs on both the iPhone and Mac versions of Obsidian. If I've recently opened Obsidian and the destination note, the append feature appears to work successfully. If I've not already got Obsidian open or recently visited the destination note, the append feature will successfully open Obsidian and open the respective note, but doesn't always append the required text to the end of the note. It feels like there's some kinds of timeout kicking in before the append function can complete or it's trying to append before the note has fully opened. If I launch the same URI a 2nd time the data is successfully appended.
I'm calling the URI from Apple Shortcuts. An example of the URI I'm using:
obsidian://advanced-uri?vault=vault_name&filepath=Bookmarks/site_name.md&data=data&mode=append
The destination note is currently over 100 lines long if that has any impact.
Obsidian v1.5.8
Advanced URI v1.40.0
Sonoma 14.3.1 or iOS v17.3.1
Thanks
The text was updated successfully, but these errors were encountered: