balena-io / pensieve

A tool for managing and viewing structured documents, backed by the power of git
7 stars 5 forks source link

Field order depends on the order they were saved for a specific entry #280

Open lekkas opened 6 years ago

lekkas commented 6 years ago

Assume a schema has two entries, Problem and Solution. Their order of appearance depends on the order they were saved in the entry. So if you fill the field Problem, hit save, and then fill the field Solution, the entry will look like

<Title>
<Problem>
  - text
<Solution>
  - text

while if you save the fields in another order, say, Solution first and Problem second, the entry will look like

<Title>
<Solution>
  - text
<Problem>
  - text

For two fields this wouldn't be a problem, but for larger schemas, like the one we use internally for the scratchpad, this inconsistency makes it a lot harder to locate the information you are looking for.

lurch commented 6 years ago

Duplicate of #258 ?