bcgov / namerequest

Public Front End for the Name Request System
1 stars 44 forks source link

18202 show both named and numbered option for LTD company #735

Closed tshyun24 closed 1 year ago

tshyun24 commented 1 year ago

Issue #: /bcgov/entity#18202

Description of changes: Using isNumberedCompany to determine whether we have the COLIN option, instead of using isSupportedRestoration previously

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).

chenhongjing commented 1 year ago

/gcbrun

bcregistry-sre commented 1 year ago

Temporary Url for review: https://namerequest-dev--pr-735-526soleu.web.app

severinbeauvais commented 1 year ago

~Please rebase and update the package files.~ done

Please provide some sample businesses that:

tshyun24 commented 1 year ago

/gcbrun

bcregistry-sre commented 1 year ago

Temporary Url for review: https://namerequest-dev--pr-735-526soleu.web.app

tshyun24 commented 1 year ago

Some sample businesses image

JazzarKarim commented 1 year ago
  • Supported by FF : BC0013141 (FF value: UL), BC0871194 (FF value: BC)
  • Not supported by FF: CP1002580 (FF value: CP)
  • Can only be named: A0076494 (Xpro business)
  • Can be named/numbered: BC0024185

Shaoyun, for coops, we don't want the numbered and named radio buttons. In DEV: coop in dev Unless something has changed, this is the expected behavior for coops. They're like a special case. I was having a look in your temp URL, I can see that we got the radio button options.

Also, for "A0076494", I got stuck: A business shaoyun

Please have a look in DEV and see the expected result. There's the "Business's full legal name in home jurisdiction" component missing.

tshyun24 commented 1 year ago

/gcbrun

bcregistry-sre commented 1 year ago

Temporary Url for review: https://namerequest-dev--pr-735-526soleu.web.app

tshyun24 commented 1 year ago

@JazzarKarim @severinbeauvais push a new comment, hopefully fix all the bugs above

JazzarKarim commented 1 year ago

@JazzarKarim @severinbeauvais push a new comment, hopefully fix all the bugs above

So I've tested different types of companies, looks great! Shaoyun, can you please take a SC from your local when the supported-restoration-entities FF is false and when a ULC for example is selected (just like how we discussed yesterday)?

tshyun24 commented 1 year ago

So I've tested different types of companies, looks great! Shaoyun, can you please take a SC from your local when the supported-restoration-entities FF is false and when a ULC for example is selected (just like how we discussed yesterday)?

Yes, I just create a ULC business (BC0871496) and make it historical image It looks like that in DEV. I think I should not have the Restore Now option? Cause it doesn't include the FF for ULC image And the below is in local, same with DEV image

JazzarKarim commented 1 year ago

So I've tested different types of companies, looks great! Shaoyun, can you please take a SC from your local when the supported-restoration-entities FF is false and when a ULC for example is selected (just like how we discussed yesterday)?

Yes, I just create a ULC business (BC0871496) and make it historical

What if the FF value is false? Will it show the same thing but instead of "Restore Now", it's "Go To Corporate Online to Register"?

You can set this line to return false to test that! https://github.com/tshyun24/namerequest/blob/f495ad9e87a33ba472479575c3edab334510b7e8/src/mixins/common-mixin.ts#L209

tshyun24 commented 1 year ago

What if the FF value is false? Will it show the same thing but instead of "Restore Now", it's "Go To Corporate Online to Register"?

You can set this line to return false to test that! https://github.com/tshyun24/namerequest/blob/f495ad9e87a33ba472479575c3edab334510b7e8/src/mixins/common-mixin.ts#L209

Show "Go To Corporate Online to Register" when I set FF as false image

tshyun24 commented 1 year ago

/gcbrun

bcregistry-sre commented 1 year ago

Temporary Url for review: https://namerequest-dev--pr-735-526soleu.web.app

JazzarKarim commented 1 year ago

What if the FF value is false? Will it show the same thing but instead of "Restore Now", it's "Go To Corporate Online to Register"? You can set this line to return false to test that! https://github.com/tshyun24/namerequest/blob/f495ad9e87a33ba472479575c3edab334510b7e8/src/mixins/common-mixin.ts#L209

Show "Go To Corporate Online to Register" when I set FF as false image

Looks great! This is basically what we want.

tshyun24 commented 1 year ago

/gcbrun

bcregistry-sre commented 1 year ago

Temporary Url for review: https://namerequest-dev--pr-735-526soleu.web.app

tshyun24 commented 1 year ago

/gcbrun

bcregistry-sre commented 1 year ago

Temporary Url for review: https://namerequest-dev--pr-735-526soleu.web.app

tshyun24 commented 1 year ago

/gcbrun

tshyun24 commented 1 year ago

/gcbrun

bcregistry-sre commented 1 year ago

Temporary Url for review: https://namerequest-dev--pr-735-526soleu.web.app