Add a check¶
In all cases:
Add a line to
exporter/translations.py
Field-level¶
Add new keys to
fieldDetail.coverageand/orfieldDetail.qualityinfrontend/src/messages/en.js
The UI otherwise automatically supports new field-level checks.
Compiled release-level¶
Add an element to
CHECKSinexporter/template_tags/resource.pyAdd an element to
orderinfrontend/src/components/ResourceLevelList.vueIf a section other than
coherent,consistentorreferenceis used, add it tosectionsinfrontend/src/views/Resource.vueAdd new keys to
resourceLevel.coherent,resourceLevel.consistentand/orresourceLevel.referenceinfrontend/src/messages/en.js
The UI otherwise automatically supports new compiled release-level checks.
Dataset-level¶
Add a key-value pair to
CHECK_TYPESinexporter/template_tags/dataset.pyAdd a key-value pair to
checkTypeDatainfrontend/src/plugins/datasetMixins.jsAdd an element to the appropriate array in
frontend/src/components/DatasetLevelSection.vueAdd new keys to
datasetLevelinfrontend/src/messages/en.js
The UI otherwise automatically supports new compiled release-level checks.
Time-based¶
Add new keys to
timeLevelinfrontend/src/messages/en.js
The UI otherwise automatically supports new time-based checks.