bcgov / name-examination

Service BC Name Examination System
4 stars 36 forks source link

when a condition is selected in the table it does not populate the condition field in the decisions screen #1036

Closed kialj876 closed 5 years ago

kialj876 commented 6 years ago
perkinss commented 6 years ago

Interesting... when I was working on #993, I always saw it populate... let me check again.

perkinss commented 6 years ago

I cannot reproduce this at all. In fact in my local environment the opposite happens -- the condition shows up in the decision screen, even if I didn't select it, as long as I am on that recipe tab when I click the decision button.

perkinss commented 6 years ago

... even if I'm not on that recipe tab. 🤷‍♀️

katiemcgoff commented 6 years ago

@perkinss

Looks like if consent required = Y, the condition populates in the decision screen; otherwise it doesn't. Need to confirm with examiners that a) they want all conditions in the dropdown on the decision screen, regardless of consent required=Y/N, and if it is in the dropdown, that it should populate regardless of that flag.

I (Katie) think that the consent required data is bad, but the fact that there is a condition text (customer instructions) to show is the real indicator of whether this requires consent.

ericminio commented 6 years ago

Good news is that the test is green for the good reason: it actually uses a restricted word requiring consent :) The behavior with a restricted word not requiring consent is not described in another test. Once we get the behavior clarified, we can capture it in a new test.

perkinss commented 6 years ago

Is it valid that the conditions field doesn't populate if there are no instructions given for that condition? Is there some other parameter that should determine this? Do we want all conditions to available for selection?

perkinss commented 6 years ago

The message does not make much sense if there are no instructions associated. It just gives the restricted word, but not whom to ask permission. 🤷‍♀️

Is this just an issue with our test data set? Or is this something being encountered by registry staff?

perkinss commented 6 years ago

To bring this ticket up to date, the issue is that we are deliberately removing the condition if consent is not required. It seems that it was a requirement at some point so we are awaiting feedback as to whether this is still desired behaviour.

If it is then we can close this ticket as "not a bug"

perkinss commented 6 years ago

The conditions work flow needs to be updated so this ticket is on hold waiting for some UX design

perkinss commented 6 years ago

Pending end-user approval, the new workflow will be as it is now, but with a disabled checkbox underneath the "Approve" button.

When a condition has been selected, and the approval button says "Conditionally Approve" the checkbox becomes enabled, and the examiner can select that to change the button to "Approve" . This means that the state will be approved, rather than conditional upon receiving permission.

The business case is that some requesters such as lawyers will already have the condition under way and don't need to wait for the final approval. Having a conditional approval gets in the way of their process.

forgeuxGH5 commented 6 years ago

Checked the new design with Examiners they are good with it. https://app.zenhub.com/files/118046288/7ff3bb23-6d23-443a-8b45-6b4d9ad8089d/download

katiemcgoff commented 6 years ago

@forgeuxGH5 We need clarification -

  1. Under the normal flow, the NR would be marked as "Consent Required" and then when consent is received, another flag is that says "Consent Received". Under this new approach, we would just say "Approved" with absolutely no flags/data indicating that consent was required except the wording in the message to the client. It would be marked as "Approved" and not "Consent Required" and "Consent Received".

  2. I'd suggest that a negative checkbox ("remove consent required") is confusing, especially with a dropdown option (ie: a different UI control) to set the consent. Should we perhaps replace the "consent required" dropdown option with a checkbox, that they can then un-check under this scenario?

perkinss commented 6 years ago

I have a version now that has the checkbox behaviour as shown in the powerpoint. When they click approve, it goes to the NRO system the same as before, but with status='APPROVED' instead of 'CONDITION'. In other words, the behaviour in the other system may depend on "state" (APPROVED) or on one of the names -> choice -> "decisiontext", which may now have something like "Consent required from ..."

Before we push this ahead into master branch we need to understand what the implications are in NRO.

As well, I can prepare another version that removes the "consent required" from the dropdown, and uses the same behaviour from the checkbox, if that's desired.

Also, probably need to change the title of this ticket, which is not in my purview (no permission) and explain why it changed and what happened to the case where the condition doesn't show up (consent not required )

forgeuxGH5 commented 6 years ago
  1. Yeah – that’s what they were asking for. I’ll double check with them and Kaine about the Consent Required / Received though.
  2. That’s better – we’d remove the Consent Required option from the Condition dropdown too right?

From: Katie McGoff notifications@github.com Sent: November 20, 2018 10:09 AM To: bcgov/name-examination name-examination@noreply.github.com Cc: forgeuxGH5 scott@forgeux.com; Mention mention@noreply.github.com Subject: Re: [bcgov/name-examination] when a condition is selected in the table it does not populate the condition field in the decisions screen (#1036)

@forgeuxGH5 https://github.com/forgeuxGH5 We need clarification -

  1. Under the normal flow, the NR would be marked as "Consent Required" and then when consent is received, another flag is that says "Consent Received". Under this new approach, we would just say "Approved" with absolutely no flags/data indicating that consent was required except the wording in the message to the client. It would be marked as "Approved" and not "Consent Required" and "Consent Received".
  2. I'd suggest that a negative checkbox ("remove consent required") is confusing, especially with a dropdown option (ie: a different UI control) to set the consent. Should we perhaps replace the "consent required" dropdown option with a checkbox, that they can then un-check under this scenario?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bcgov/name-examination/issues/1036#issuecomment-440375411 , or mute the thread https://github.com/notifications/unsubscribe-auth/AZHYyuK93ffeqqxAyhmwl2UG1cQQNtw2ks5uxEVGgaJpZM4XuQrn . https://github.com/notifications/beacon/AZHYyj6IY8DfKgiJQu4JICJ5pfiaUqIOks5uxEVGgaJpZM4XuQrn.gif

perkinss commented 6 years ago

I updated a new branch that has no "consent required" in the conditions dropdown, but instead has a "consent required" checkbox.

With the checkbox now determining whether consent is required here is a possible workflow:

  1. Select some 'conflicts'. Initially the message says "rejected due to conflict with <name>" but when you check the "consent required" checkbox, the message changes to "consent required from <name>": screen shot 2018-11-21 at 2 50 32 pm

  2. Save the customer message to retain the "consent required" wording in the customer message: screen shot 2018-11-21 at 2 50 54 pm

  3. The wording becomes locked (unless you click the "clear customer message override" link) and now you can deselect the "consent required" checkbox without changing the customer message: screen shot 2018-11-21 at 2 51 07 pm

  4. After you click the "Approve" button, the name is approved, but there are conditions in the message. @forgeuxGH5 could you please check these screenshots out and let me know if this is preferable... screen shot 2018-11-21 at 2 51 27 pm

It still seems odd to me that the status will be approved although they still await actual consent.

forgeuxGH5 commented 6 years ago

This looks right.

I agree it is odd that we show the consent required text when it looks like we are removing that with the checkbox, but I asked them and they wanted the text in some case and not in others – so it’s easier to erase the undesired text in those cases (vs. having to remember/ re-type it).

From: Susan notifications@github.com Sent: November 21, 2018 3:06 PM To: bcgov/name-examination name-examination@noreply.github.com Cc: forgeuxGH5 scott@forgeux.com; Mention mention@noreply.github.com Subject: Re: [bcgov/name-examination] when a condition is selected in the table it does not populate the condition field in the decisions screen (#1036)

I updated a new branch that has no "consent required" in the conditions dropdown, but instead has a "consent required" checkbox.

With the checkbox now determining whether consent is required here is a possible workflow:

  1. Select some 'conflicts'. Initially the message says "rejected due to conflict with " but when you check the "consent required" checkbox, the message changes to "consent required from ": https://user-images.githubusercontent.com/405204/48872292-5bc3b100-ed9d-11e8-9639-4a50b835cc51.png
  2. Save the customer message to retain the "consent required" wording in the customer message: https://user-images.githubusercontent.com/405204/48872301-64b48280-ed9d-11e8-8d65-0f497b2ef0dd.png
  3. The wording becomes locked (unless you click the "clear customer message override" link) and now you can deselect the "consent required" checkbox without changing the customer message: https://user-images.githubusercontent.com/405204/48872309-726a0800-ed9d-11e8-91ce-5986da789124.png
  4. After you click the "Approve" button, the name is approved, but there are conditions in the message. @forgeuxGH5 https://github.com/forgeuxGH5 could you please check these screenshots out and let me know if this is preferable... https://user-images.githubusercontent.com/405204/48872330-8150ba80-ed9d-11e8-9b46-db1e84c38916.png

It still seems odd to me that the status will be approved although they still await actual consent.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bcgov/name-examination/issues/1036#issuecomment-440842019 , or mute the thread https://github.com/notifications/unsubscribe-auth/AZHYysXENASqPb95Suva1bDtQq_24UABks5uxdw9gaJpZM4XuQrn . https://github.com/notifications/beacon/AZHYyqwLvmbi3-zeKZi__seUvAxCMMSuks5uxdw9gaJpZM4XuQrn.gif

perkinss commented 6 years ago

@forgeuxGH5 I'm assuming that even if they have a condition selected that requires consent, they should still be able to select/deselect whether consent is required?

forgeuxGH5 commented 6 years ago

yes

From: Susan notifications@github.com Sent: November 21, 2018 4:51 PM To: bcgov/name-examination name-examination@noreply.github.com Cc: forgeuxGH5 scott@forgeux.com; Mention mention@noreply.github.com Subject: Re: [bcgov/name-examination] when a condition is selected in the table it does not populate the condition field in the decisions screen (#1036)

@forgeuxGH5 https://github.com/forgeuxGH5 I'm assuming that even if they have a condition selected that requires consent, they should still be able to select/deselect whether consent is required?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bcgov/name-examination/issues/1036#issuecomment-440870291 , or mute the thread https://github.com/notifications/unsubscribe-auth/AZHYymHrUC5mNok8rImNTDZnC4N7YdFIks5uxfTbgaJpZM4XuQrn .

perkinss commented 5 years ago

Work on this is continuing in bcgov/entity#25

This ticket can be closed.

LJTrent commented 5 years ago

replaced by a ticket on the entity board.