chhoumann / quickadd

QuickAdd for Obsidian
https://quickadd.obsidian.guide
MIT License
1.56k stars 139 forks source link

[FEATURE REQUEST] Improving QuickAdd format syntax compatibility with the new Obsidian properties types (list, checkbox, date, date & time) ? #757

Open Elaws opened 5 days ago

Elaws commented 5 days ago

Description

Currently, when using format syntax in our note templates for QuickAdd, there are no convenient ways to work with the new types of Obsidian properties.

Maybe this can be achieved with some QuickAdd javascript, but it would be very convenient to improve format syntax to achieve more fluency with the new Obsidian properties.

Proposed solutions

image

It would be very useful to be able to add several values to properties of type List. Currently, it seems that [[Link1]], [[Link2]], etc... syntax is not supported by format syntax. (related FR : https://github.com/chhoumann/quickadd/issues/621).

It would be amazing that suggesters are reworked a little, it would make them much more convenient if they had :

Related feature request :

image

To make a QuickAdd prompt compatible with a property of type Checkbox, a workaround could be to use {{VALUE:true, false}}, but as already mentioned above, it comes with the severe drawback of this prompt not having a title ! So we don't know which property we are modifying, like you can see here :

image

Another workaround could be to use {{FIELD:pro}} syntax, but you have to remember here that the only possible values are true or false for that property (if this is the first time that property is used, otherwise the values will be suggested).

image

it would be very convenient to have a date or/and date & hour picker, like in the Obsidian properties.

image

image

Workaround : Use {{YYYY-MM-DDTHH:MM:SS}} or {{DATE}} format syntax in the template, so that it is compatible with Date & time or Date properties types (but it will input current date & hour, without possibility to pick a date directly in the QuickAdd prompt.

Many thanks for considering these improvements !