As an admin I want to add new entity types to the system in order to adapt the software to our project's evolving processes.
Other parts of the Setup Wizard / Admin UI allow to change the data structure of an existing entity type. This feature should allow a user to create a new entity type (e.g. add a "school", "survey" or other record type with a custom form structure).
Proposed Solutions & Alternatives
Show a table of all Entity types, allow to navigate to the admin details of each (i.e. the form builder view)
Allow to "add new" entries from this table
Advanced future considerations
In complex setups there can be many entity types with various relations. A visual "entity map" displaying hierarchies and connections would be useful at some point in time.
Implementation steps:
[x] create a new component "AdminEntityTypesComponent"
[x] inject EntityRegistry service and display a table of all registered entity types
[x] route to the related AdminEntityDetailsComponent upon clicking on a row (--> /admin/entity//details)
[x] add a "Create New" button
??? display popup form of static type details (#2120)?
generate config sections for entity:, view: and view:/:id
A rough prototype has been implemented already for some time. This needs more testing, UI polishing and a better place in the Admin Section and Setup Wizard, however.
As an admin I want to add new entity types to the system in order to adapt the software to our project's evolving processes.
Other parts of the Setup Wizard / Admin UI allow to change the data structure of an existing entity type. This feature should allow a user to create a new entity type (e.g. add a "school", "survey" or other record type with a custom form structure).
Proposed Solutions & Alternatives
Advanced future considerations In complex setups there can be many entity types with various relations. A visual "entity map" displaying hierarchies and connections would be useful at some point in time.
Implementation steps:
EntityRegistry
service and display a table of all registered entity types