Skip to content
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

[MDS-5715] Project Agent #2918

Merged
merged 7 commits into from
Jan 29, 2024
Merged

[MDS-5715] Project Agent #2918

merged 7 commits into from
Jan 29, 2024

Conversation

taraepp
Copy link
Collaborator

@taraepp taraepp commented Jan 25, 2024

Objective

  • Project Agent page
  • fix bug where form navigation occurs regardless of form errors
  • got some syntax errors popping up on other pages on the form, unused imports, when I went to look at them to see how to set up the page, did a little tidy
  • at one point I thought I was going to use a checkbox, so I did up the RenderCheckbox. I ended up not using a checkbox, but I did verify that it works, so including that

MDS-5715
MDS-5739

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

…r address, allow some international addresses, put on validation and make a new post code method that works with hooks structure. Fixed an alignment issue I noticed on Actions menu on core. Don't navigate to a new page on the form if there are errors
@taraepp taraepp added 🌶 Enhancement This is a new feature or request. 👍 Ready for review Pull request has been double checked by the author and is ready for comments and feedback. 💊 Fix Fixes something that isn't working :) labels Jan 25, 2024
export const getFormattedProjectSummary = createSelector(
[getProjectSummary, getProject],
(summary, project) => {
let formattedSummary = { ...summary, authorizationOptions: [] };
const agent = formatProjectSummaryAgent(summary.agent);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Will this throw an error if agent is null or undefined? I can't remember if strict null checks is enabled in our code base or not.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

agent doesn't have to be defined, but summary does. I think it must always be defined because it throws no errors on new entries.

Copy link

sonarcloud bot commented Jan 25, 2024

Quality Gate Failed Quality Gate failed for 'bcgov-sonarcloud_mds_minespace-web'

Failed conditions

0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

Copy link

sonarcloud bot commented Jan 25, 2024

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

Failed conditions

0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

Copy link

sonarcloud bot commented Jan 25, 2024

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

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link

sonarcloud bot commented Jan 25, 2024

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

Failed conditions

0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

Copy link
Collaborator

@matbusby-fw matbusby-fw left a comment

Choose a reason for hiding this comment

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

🙌🏻

@taraepp taraepp merged commit a280ae2 into develop Jan 29, 2024
28 of 31 checks passed
@taraepp taraepp deleted the mds-5715-project-agent branch January 29, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌶 Enhancement This is a new feature or request. 💊 Fix Fixes something that isn't working :) 👍 Ready for review Pull request has been double checked by the author and is ready for comments and feedback.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants