balena-io / pensieve

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

Schema could allow compulsory fields to be specified #227

Open lurch opened 6 years ago

lurch commented 6 years ago

Perhaps when adding a new entry, you'd like particular fields to always be filled in? (e.g. the title?) The schema could flag certain fields as compulsory, and then when adding a new entry, pensieve could display the "Save changes" button as disabled, until all the compulsory fields have non-empty values.

lurch commented 6 years ago

Possibly connects to #198 ?

lurch commented 6 years ago

And I guess these compulsory fields wouldn't have the 'X' displayed next to them in the 'Add entry' page ;-)