Closed idazucchi closed 3 months ago
The link to the PR that implements the task can be found here. Things done in this PR:
I have addressed the review comments and am currently finalising the test cases. A new PR will be submitted shortly thereafter, and a version should become available on a testing environment.
Have created a new PR with the following changes. The PR has been reviewed and accepted by Amnon. Next step is to have this version deployed in a testing environment for further evaluation by the team:
metadata-form.spec.ts
to validate presence/absence of specific fields based on different schema versionsI've done a little testing now that this feature is in staging
* should match pattern "^DUOS-\d{6}$" at .duos_id
The project is still invalid, we need to remove the field from the project when we change to NRESA new version of the ingest-ui has been deployed to the staging
area to address the issue mentioned above. The following changes have been made in this version:
duosIdControl
when data_use_restriction
is NRES.duosIdControl
to include both pattern and custom validators.FormGroup
usage and refactor to use MetadataForm
directly.
As a data wrangler/submitter, I would like to be able to enter the DUOS id in for a managed access project so it's permanently recorded and easy to see.
The DUOS id field should be a text box in the project tab. To avoid entering an id for open access projects it would be nice if the field only appeared or was active when
data_use_restriction = GRU
orGRU-NCU
.Acceptance Criteria / Definition of Done