metadatamenu icon indicating copy to clipboard operation
metadatamenu copied to clipboard

Optional Properties for fileClasses

Open ChristinWhite opened this issue 1 year ago • 3 comments

Does Metadata Menu have anyway to mark properties as optional for a fileClass? I'd love to be able to have properties I may or may note need (alias, cssclasses, etc.) that are not inserted as missing fields but can be added and managed by Metadata menu.

It looks like one other person requested this in #157 specifically for alias properties but I'd love to see this configurable for any property.

Thanks!

ChristinWhite avatar Jan 27 '24 17:01 ChristinWhite

that are not inserted as missing fields but can be added and managed by Metadata menu.

I don't get clearly what you expect to achieve. Could you paste an example here?

mdelobelle avatar Feb 04 '24 15:02 mdelobelle

This is my Global fileClass, I want every note to have Title, Tags, Description and Class. Not every note should have an Alias or a CSSClass though so when I hit insert missing fields I only want former four, not the latter optional two classes inserted.

I’d still like to be able to invoke the MetaData Menu UI however to manually insert and set values for the optional properties.

CleanShot 2024-02-08 at 22 24 52@2x

Does this make it more clear?

ChristinWhite avatar Feb 09 '24 06:02 ChristinWhite

Seconded. This is similar to how Tana does it. Essentially, optional fields should not be part of the "template" that is loaded by default.

aaronshenhao avatar Apr 10 '24 15:04 aaronshenhao