bcgov / entity

ServiceBC Registry Team working on Legal Entities
Apache License 2.0
23 stars 59 forks source link

Create UI - S1&S4 - custodian address #8910

Closed lmcclung closed 3 years ago

lmcclung commented 3 years ago

To Do:

COOPS

CORPS

sienna-oldaccountdontuse commented 3 years ago

@Sienna-Blumstengel @forgeuxGH5 define corp text

lmcclung commented 3 years ago

Converted estimate to fib.

cameron-eyds commented 3 years ago

@tlebedovich Hola! Ready for UXA whenever you have time, no rush, thanks!

tlebedovich commented 3 years ago

@cameron-freshworks - Here is my UXA:

Coops/Corps - Step 1

Screen Shot 2021-11-14 at 1.32.45 PM.png Screen Shot 2021-11-14 at 1.32.51 PM.png Screen Shot 2021-11-14 at 1.32.56 PM.png

Screen Shot 2021-11-14 at 1.06.50 PM.png Screen Shot 2021-11-14 at 1.08.21 PM.png

Screen Shot 2021-11-14 at 1.14.59 PM.png Screen Shot 2021-11-14 at 1.19.34 PM.png Screen Shot 2021-11-14 at 1.51.48 PM.png Screen Shot 2021-11-14 at 2.03.15 PM.png

Screen Shot 2021-11-14 at 1.53.36 PM.png

Coops/Corps - Step 4

Screen Shot 2021-11-14 at 1.04.43 PM.png

Screen Shot 2021-11-14 at 1.20.40 PM.png

Corps/Coops - Saving Draft (save and resume later)

Screen Shot 2021-11-14 at 2.09.50 PM.png

Screen Shot 2021-11-14 at 2.11.20 PM.png

cameron-eyds commented 3 years ago

@tlebedovich Thanks for the review, a lot of this is easily adjustable! With regards to the common component changes, that would take some time and work in SBC-Common-Components. The jist, the address form specifically is a common component utilized all over the applications so it's consistent. We can add some new props features to try and do what you're asking but that will take some more time. I'm not sure how the address complete can be modified or if we can limit the interactions in the way proposed but we can definitely try. If that work was to be done here in this ticket, i didn't see common component work called out specifically, so we might have to look at this and groom a ticket to do so.

With regards to the error states when returning from draft, we typically save the values not the flags or computed values that indicate invalid states, they are usually prompted after a user leaves a step that is invalid, goes to review page or tries to file etc. Saving the validity of each individual piece is not something we've done before, is this how we would like it here and every where else? If so, we will need a ticket and to groom it.

Can definitely update the Delivery Same as Mailing checkbox being preserved in a draft, that was my misunderstanding. I saw that the default was to be open, so made it as such.

tlebedovich commented 3 years ago

Thanks Cameron

  1. Yes to saving the address check box in the Draft.

  2. If you aren't saving Draft's validations in other apps then let's keeping this one working the same way.

  3. Re: common component address- I assumed because we spec'd province/country as being pre-populated and non-editable in the designs/grooming that the work to make that happen would be included. But lets ask Linda at standup or team demo today so she can see the errors/user issues I listed and she can decide how to proceed. But it's functionality most apps need now so in my opinion, worth the effort.

cameron-eyds commented 3 years ago

Sounds good. Currently working on all the other updates. Will use the checkboxes you've provided, thank you!

tlebedovich commented 3 years ago

@cameron-freshworks - new item (I will review the others soon)

Screen Shot 2021-11-15 at 5.39.32 PM.png

cameron-eyds commented 3 years ago

@cameron-freshworks - new item (I will review the others soon)

  • [x] I noticed on the Review screen, under Delivery Address, it says "Same as Mailing Address" as the default, when the "Same as Mailing Address" check box is not selected in Step 1.

Screen Shot 2021-11-15 at 5.39.32 PM.png

Because they are always the same by default when no values have been entered. This is a result of us defaulting some values (ie Country and Region). The current logic compares the two addresses and will display as such if they are the same but we can let the checkbox dictate this state, sounds like you prefer the latter? I did ask about this previously but we can change it to show the incomplete address if thats what is preferred.

tlebedovich commented 3 years ago

hi @cameron-freshworks - Sorry, I don't remember you asking me about this. I didn't know it had that logic - is this logic used in other UIs? It's not wrong per say (actually kind of cool), just not what I was expecting without having checked the box. I'm ok to leave it if you guys are already using this elsewhere.

And then of course while I was checking it out, I noticed we are missing the delivery instructions displaying on Step 4 (which should appear as italics, 14px like this; Screen Shot 2021-11-15 at 7 14 23 PM

cameron-eyds commented 3 years ago

Its alright, i probably didn't articulate it well enough! We can use the checkbox to dictate that display there, however if the user has the same address in both mailing and delivery but without the checkbox selected it would display the full address, not the same as.

Ah interesting, will look into the sample text, that was missed.

tlebedovich commented 3 years ago

@cameron-freshworks @riyazuddinsyed - Looks good to proceed to RFQA. There are still some funky address bugs (see unchecked items below), but I think the user can still make it thru their filing ok so Linda mentioned to leave it for now, unless you see additional issues Riyaz.