Templater icon indicating copy to clipboard operation
Templater copied to clipboard

Support daily notes created via share sheet

Open mnaoumov opened this issue 1 year ago • 4 comments

Plugin information (please complete the following information):

  • OS: Android 11
  • Templater version: 1.12.0
  • Obsidian version: 1.3.0 (63)
  • Templater settings: default

Describe the bug Templater doesn't run on Daily notes if they are created via sharing.

Expected behavior Templater runs on Daily notes if they are created from the app directly or via sharing

Screenshots

https://user-images.githubusercontent.com/735878/181432712-9a97d031-d82f-4502-9113-505cd916490c.mp4

Additional context N/A

mnaoumov avatar Jul 28 '22 06:07 mnaoumov

Cannot repro on:

Obs version 1.3.0 (63)
API: v0.15.6

Have you checked Templater's settings on mobile to trigger on new file creation and also set the correct Daily Note template in Daily Note's settings?

AB1908 avatar Jul 30 '22 08:07 AB1908

Yes, I can reproduce this with all the settings mentioned above.

Attached my vault with all settings and plugins for testing.

vault.zip

mnaoumov avatar Jul 30 '22 19:07 mnaoumov

not sure if Templater would be able to hook into that sharing daily note creation. This is an enhancement to existing behaviour.

shabegom avatar Sep 01 '22 23:09 shabegom

@shabegom it works fine on Windows. It doesn't work on Android

mnaoumov avatar Sep 01 '22 23:09 mnaoumov

@shabegom it works fine on Windows. It doesn't work on Android

It doesn't seem to work for me on Windows unless I manually run the Templater command

TheChilliPL avatar Nov 07 '22 16:11 TheChilliPL