SilentVoid13 / Templater

A template plugin for obsidian
https://silentvoid13.github.io/Templater
GNU Affero General Public License v3.0
3.23k stars 194 forks source link

[feat] "Better" warning messages? #953

Open melMass opened 1 year ago

melMass commented 1 year ago

What

I was scared of by the following warning as I did not get what combination could be dangerous or what does "unknown/unsafe content on creation" stand for. image

Proposition

Link to a more complete explanation, I'm only starting of with templater and propably use only 10% of what it's capable of (for now), so I'm confused about what could potentially go wrong. I completely get that this is mostly because I'm a templater begginer, but this issue is about that, first time experience :)

Alternatives

Give an example of something that could messup your vault

Additional

Thanks a lot for this great plugin

AB1908 commented 1 year ago

Duplicate of #724 ?

melMass commented 1 year ago

Duplicate of #724 ?

Thanks but not really, my issue is really just about the first time experience/warning message on the button. I think it's not clear what "unknown/unsafe content on creation" means. I yet have to look in the more advanced parts of Tempater being a dev myself but I think this might be useful for people that use the basic functions (templates & folder templates).

It's not a big deal tbh, I just though about logging it after struggling understanding it myself

welpdx commented 1 year ago

I guess warning messages can be made to be clearer. This isn't really an error message kinda deal like the ones you get in the console tho, right?

afaik, the "unknown/unsafe content on creation" is a security warning not so different from how microsoft warn you about macros in word/excel, or automatically block your files donwloaded from the internet