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

16636 Show designation for amalgamation NRs #660

Merged

Conversation

severinbeauvais
Copy link
Collaborator

Issue #: bcgov/entity#16636

Description of changes:

  • app version = 5.0.28
  • now show designation for amalgamation NRs (depending on entity type)
  • added a code comment to help future devs

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namerequest license (Apache 2.0).

- now show designation for amalgamation NR
- added a code comment to help future devs
@@ -401,7 +401,6 @@ export default class Search extends Mixins(CommonMixin, NrAffiliationMixin) {
}

get showDesignation (): boolean {
if (this.isAmalgamation) return false
Copy link
Collaborator Author

@severinbeauvais severinbeauvais Aug 24, 2023

Choose a reason for hiding this comment

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

This hid the designation for amalgamation NRs, but startAnalyzeName() expected a designation, so the user was blocked after they clicked "Check this Name". And the error was not displayed in the designation component because it was not rendered!

I know the code I've deleted looks intentional but there's no comment telling me about this business rule so I assume it's incorrect. (Especially since it blocked named amalgamation NRs.)

Copy link
Collaborator

@ketaki-deodhar ketaki-deodhar Aug 24, 2023

Choose a reason for hiding this comment

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

Sounds good. Just for my understanding, Amalgamate shows designation today (in DEV). Is this the correct screen? Just trying to understand if I am looking at right screens :)
image

Copy link
Collaborator Author

@severinbeauvais severinbeauvais Aug 24, 2023

Choose a reason for hiding this comment

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

Yes, that is the correct screen. Thanks for comparing with NR UI in Dev -- makes me feel better about this change because I haven't received a lot of straight answers today :)

Copy link
Collaborator Author

@severinbeauvais severinbeauvais Aug 24, 2023

Choose a reason for hiding this comment

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

image

Copy link
Collaborator

@JazzarKarim JazzarKarim left a comment

Choose a reason for hiding this comment

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

LGTM

@severinbeauvais
Copy link
Collaborator Author

/gcbrun

@pwei1018
Copy link
Collaborator

Temporary Url for review: https://namerequest-dev--pr-660-h1k6oax7.web.app

Copy link
Collaborator

@ketaki-deodhar ketaki-deodhar left a comment

Choose a reason for hiding this comment

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

👍

@severinbeauvais severinbeauvais merged commit 511f7bd into bcgov:feature-way-of-navigating Aug 24, 2023
5 checks passed
severinbeauvais added a commit to severinbeauvais/namerequest that referenced this pull request Aug 29, 2023
- now show designation for amalgamation NR
- added a code comment to help future devs
JazzarKarim pushed a commit to JazzarKarim/namerequest that referenced this pull request Sep 8, 2023
- now show designation for amalgamation NR
- added a code comment to help future devs
JazzarKarim pushed a commit that referenced this pull request Sep 11, 2023
- now show designation for amalgamation NR
- added a code comment to help future devs
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.

4 participants