mdelobelle / metadatamenu

For data management enthusiasts : type and manage the metadata of your notes.
https://mdelobelle.github.io/metadatamenu
MIT License
483 stars 28 forks source link

set parent fileclass fields above current field #373

Open Morganwan90 opened 11 months ago

Morganwan90 commented 11 months ago

like the example below, I got a fileclass "MOC" that has a field "tags". "MOC"'s parent fileclass is "all", which has field "areas" and "project". When I click "insert missing fields", the parent fileclass's fields will insert below current fields. I'm wondering if I could set the parent fileclass fields above current fields?

截图_20230731003521

ChristinWhite commented 5 months ago

This feels like a weird design decision, I can't think of many cases where I would want a child class' property above those of a parent's. Since Metadata menu is so good about letting you put properties in whatever order you want maybe we could have a 'parent class properties' item in the fileClass fields that can be moved up and a down like individual properties.

afroemberg commented 2 months ago

This behaviour is also resulting in a lot of manual sorting for me after adding missing fields. It would be great if the order of the parent-child-structure would be reflected correctly in the frontmatter.