Skip to content

[MDS-6114] update AMS fields #3258

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Oct 9, 2024
Merged

[MDS-6114] update AMS fields #3258

merged 8 commits into from
Oct 9, 2024

Conversation

henryoforeh-dev
Copy link
Contributor

Objective

MDS-6114

Why are you making this change? Provide a short explanation and/or screenshots

  1. Generated migration script to alter columns according to AMS specs.
  2. Added new attributes to the AMS API service.
  3. Updated fields in FE application to match AMS specs.

asinn134
asinn134 previously approved these changes Oct 8, 2024
@@ -104,7 +104,7 @@ export const LegalLandOwnerInformation: FC = () => {
label="Legal Land Owner Name"
component={RenderField}
required={!is_legal_land_owner}
validate={!is_legal_land_owner ? [required] : []}
validate={!is_legal_land_owner ? [required, maxLength(100)] : []}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For this one and the one below- we only want the required validation when they're not the legal land owner, but shouldn't the other methods be in the second array? Like if it's not required, it should still have a max length, and below even if it's not required should still follow email validation. Existing issue I guess but may as well fix it?

Copy link

sonarqubecloud bot commented Oct 9, 2024

Quality Gate Failed Quality Gate failed for 'bcgov-sonarcloud_mds_common'

Failed conditions
50.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

Copy link

sonarqubecloud bot commented Oct 9, 2024

Quality Gate Passed Quality Gate passed for 'bcgov-sonarcloud_mds_minespace-web'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

sonarqubecloud bot commented Oct 9, 2024

Quality Gate Passed Quality Gate passed for 'bcgov-sonarcloud_mds_core-web'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

sonarqubecloud bot commented Oct 9, 2024

Quality Gate Failed Quality Gate failed for 'bcgov-sonarcloud_mds_core-api'

Failed conditions
28.6% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

@henryoforeh-dev henryoforeh-dev merged commit 93c36f8 into develop Oct 9, 2024
15 of 17 checks passed
@henryoforeh-dev henryoforeh-dev deleted the MDS-6114-ams-fields branch October 9, 2024 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants