Have key value pairs displayed in a table in properties

Use case or problem

Currently in properties key value pairs are displayed as a single line of text when not in source mode. In this readability mode the key value properties actually become less readable.

Proposed solution

I believe that key value pairs should be stored as a table rather than a single line of text. For instance in the above example of a basement repainting project the material list and cost is saved as a property. This is much more reader friendly than the single line it defaults to. I think for very large tables an expansion option would be needed and only a truncated view of the table would be shown initially. I am not sure how to handle that, but I think that it can be handled the same way large bases can be embedded in a note.

item price status
Primer 45 need
Eggshell paint (Gray) 130 need
Painters Tape 15 owned
Drop Cloths 30 need

Current workaround (optional)

I just switch to source mode as it makes it more readable, but this isn’t ideal to switch back and forth all the time.

I can’t see the structure of your YAML, but does this FR cover it?

If so, we can merge yours into that one.

1 Like

Hi ariehen,

The change I am asking for would be outside of the YAML “source” view that you showed. My suggestion is that in the default viewing mode the key value pairs should display as a table. They can be displayed in the indented format for YAML source view, but the default view I think should be a table.

item price status
Primer 45 need
Eggshell paint (Gray) 130 need
Painters Tape 15 owned
Drop Cloths 30 need
1 Like

If this is asking for The properties GUI to show/manage mappings, this is covered by the FR arien linked.

Othewise, I don’t understand you