Designe grensesnitt for å registrere metadata
-
Form
-
Map form data to correct POST schema for the backend -
Add a toggle in the header to display the proper navigation bar for data consumers and data providers. -
Add persistence so that form values are not lost when page is reloaded. -
Add dataset/variables -
Edit dataset/variables -
Delete dataset/variales -
Make variable block collapsible
-
-
Datasource name field:
-
User should be able to choose existing datasource names. -
❓ Should it be prefixed with [KUDAF-TEST]? YES -
Change field from datasource to dataset. (Value MUST NOT collied with currently defined dataset values) To avoid collision, user cannot choose from existing datasets yet
-
-
Variable block:
-
User should be able to create multiple variables.
-
-
Variable name field:
-
❓ Should it be prefixed with 'datasource-name'? YES -
Enforce prefix in the variable names.
-
-
Measure variable fields (Foreign Keys in database terms):
-
User should be able to choose existing identifier variables (unit types). - Can only choose upto 1 measure variable.
-
❓ Can a user create new measure variables? YES For now just letting the user choose from existing unit types. It is limited to 1 measure variable per variable object.
-
-
Identifier variable fields (unit types) (Primary/composite Keys in database terms):
-
User should be able to choose existing identifier variables. -
User should be able to create new identifier variables. -
Add preview when creating new unit types -
❓ Should we limit the number of identifier variables a user can create? Currently limited to 5
-
Table
-
List out all datasets