mdelobelle / metadatamenu

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

Fileclass fields tab - show inherited fields #570

Open KillyMXI opened 4 months ago

KillyMXI commented 4 months ago

I find it rather inconvenient when I need to edit fields and can't see what fields are already handled at higher level of classes hierarchy.

Note properties dialog is aware of this hierarchy. But the fileclass page is not, only showing own fields.

I suggest adding inherited fields to fileclass fields tab. They should probably be read-only, with clickable headers leading to fileclass fields tab of respective fileclasses, for each level of hierarchy.

Mockup:

... | Fileclass fields | ...

<Ancestor1>🔗
<field> <type>                             <values>
<field> <type>                             <values>

<Ancestor2>🔗
<field> <type>                             <values>
<field> <type>                             <values>

<This fileclass>
<field> <type> <edit> <delete> <up> <down> <values>
<field> <type> <edit> <delete> <up> <down> <values>
<field> <type> <edit> <delete> <up> <down> <values>
<add>

<Descendant1>🔗, <Descendant2>🔗
mdelobelle commented 4 months ago

good idea!

KillyMXI commented 4 months ago

Possible extra: being able to move a field between ancestors and descendants.