bcgov / cas-cif

CleanBC Industry Fund project
Apache License 2.0
6 stars 2 forks source link

As a CIF administrator, I want to notify the individual(s) an amendment is waiting for, so I can get their attention #1167

Closed pbastia closed 1 year ago

pbastia commented 1 year ago

Description:

This is part 2 of #982

Prototype Example 1 (Notify Tech Team) Prototype Example 2 (Notify Director) Prototype Example 3 (Notify Proponent)

When the user clicks the "Notify" button on an amendment view in the "pending actions from" control, a modal opens up, for the user to select which individuals to notify

Acceptance Criteria:

Given I am a CIF administrator When I view an amendment from the revisions list And I click on the "Notify" button from the "pending actions from" section Then I can see a modal dialog allowing me to select who to notify, with a "Notify By Email" and "Cancel" buttons

Given I am a CIF administrator And I view the pending actions modal When I click the "Cancel" button Then the modal closes and nothing else happens

Given I am a CIF administrator When I am notifying people that an amendment requires their attention And I am viewing the modal Then for each selected group, I can select the following contacts:

Given I am a CIF administrator When I am notifying people that an amendment requires their attention And I am viewing the modal And a Project Manager (Primary or secondary) or a Proponent contact is not defined Then I can see a message telling me where to add it And the associated checkbox is disabled

Given I am a CIF administrator And I am viewing the notification modal And I selected at least one When I click the "Notify by email" button Then the app opens the default email program with:

Development Checklist:

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

·Definition of Done (Note: If any of these points are not applicable, mark N/A)

Notes:

-

Dianadec commented 1 year ago

Hey team! Please add your planning poker estimate with Zenhub @BCerki @gurjmatharu @mikevespi @pbastia @sam-warren @Sepehr-Sobhani @tmastrom

BCerki commented 1 year ago

I blocked this because the first time I read the AC, I thought this ticket included doing the work that's already covered in #1166 . Might be able to start (but not complete) this ticket while #1166 is in progress

BCerki commented 1 year ago

@nanyangpro, in the wireframe there are down arrows (sorry, don't know the design term) beside each category of contact. Are those meant to expand/collapse the list? If yes, can we address them in a separate ticket?

BCerki commented 1 year ago

@nanyangpro, another one--in the wireframe, is the checkbox supposed to be beside the individual's name? (vs beside the header)

BCerki commented 1 year ago

After discussion with @nanyangpro;

BCerki commented 1 year ago

@nanyangpro, a couple more questions:

nanyangpro commented 1 year ago

Great questions, @BCerki! Thanks for confirming and appreciate your suggestions.

BCerki commented 1 year ago

After discussion with @nanyangpro (Nan, please weigh in here if I've remembered something incorrectly):

LindsayMacfarlane commented 1 year ago

Thank you @BCerki! Looks good. A couple observations when creating project 2022-RFP-1-CUTE-666 (name Devils Club):

BCerki commented 1 year ago

@Sepehr-Sobhani , I'll look into this--I think it's related to the modal state

Sepehr-Sobhani commented 1 year ago

@BCerki yes, my first guess is the conflict of states too. Thanks for looking into this 🙏

BCerki commented 1 year ago

@LindsayMacfarlane, @Sepehr-Sobhani, I think this is two bugs: