SaaS.Dev

App rules

Every App rule that prints today: its id, the row it belongs to, its status, and what it derives from the definition.

An App rule turns one fact of a Noun's definition into one part of a screen. Each rule below runs today in the screens for a Startup's own team, the Screens for the team row.

RulePartRowStatusWhen the definition hasThe Admin shows
keyscreensScreens for the teamprovena Noun named RenewalNoticethe key renewal-notices: plural, in lowercase words joined by hyphens
labelsscreensScreens for the teamprovena name such as RenewalNotice or endsOncapitalized words, singular and plural: Renewal Notice, Renewal Notices, Ends On
screensscreensScreens for the teamprovena Nouna list, a record page, a create form and an edit form
list-columnsscreensScreens for the teamprovenproperties, then referencesthe first 7 that are not text, json or a list, as list columns in declared order
list-searchscreensScreens for the teamprovena Nounone search box over its list, always shown
wide-fieldsscreensScreens for the teamprovena text or json propertythe full width of the record page
control-textcontrolsScreens for the teamprovena string property, or a type with no rule of its owntext on the list and record page; a one-line text box in the forms
control-long-textcontrolsScreens for the teamprovena text propertyfull-width text on the record page, never a column; a multi-line text box
control-numbercontrolsScreens for the teamprovena number or integer propertya number; a number box
control-booleancontrolsScreens for the teamprovena boolean propertyyes or no; a switch
control-datecontrolsScreens for the teamprovena date, datetime or timestamp propertya date; a date picker
control-jsoncontrolsScreens for the teamprovena json propertyformatted JSON on the record page, never a column; no input
required-inputcontrolsScreens for the teamprovena property with no ?both forms refuse an empty value
form-omits-arrayscontrolsScreens for the teamprovena list type, such as string[]no input in either form; the value on the record page only
representationrepresentationScreens for the teamprovena record to namethe first of name, title, label, email and slug that holds one line of text, else the first one-line property, else id
reference-forwardreferencesScreens for the teamprovena property typed with a Noun, such as property: Propertythe referenced record's name, linked; a picker that searches those records in the forms
verb-actionactionsScreens for the teamprovena Verb beyond create, get, list, update and deletea button on each list row, the record page and the edit form
verb-resultactionsScreens for the teamprovena Verb call that completesa notice, then the record reloaded
refusal-messageactionsScreens for the teamprovena Verb call the Verb refusesthe reason the Verb gives, and the screen as it was

12 more rules wait for code that serves them.

Every printed rule is pinned to commit 9ab30202 of the Admin build. Admin: derivation rules and edge cases explains each one with its edge cases, and Lease in the leaseclock.com Admin applies them to one Noun and its two Verbs.