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

(161264) Chair of governors contact task #1467

Merged
merged 2 commits into from
Apr 2, 2024

Conversation

mec
Copy link
Collaborator

@mec mec commented Mar 28, 2024

This tasks forces users to collect the contact details for the chair of
governors of the school converting into an academy so that a copy of the
funding agreement letters can be sent to them.

This is our second attempt at a task that collects a contacts (we
already have 'main contact') and we wanted to try something different.

Here we collect the name, email and optionally phone number and the task
is only completed one we have these. This creates a contact and
populates it with the further information that we can derive from the
project:

  • organisation = school name
  • role (title) = Chair of governors
  • establishment urn = Project.urn

Because of the way this works, 'deleting' the contact details in the
task and saving it WILL NOT delete the contact, this must be done via
External contacts > Change > Delete contact. Updating the details of the
contact will work, however.

The task validates:

  • that name and email are present
  • that the email address is formatted correctly

The contact is managed through an association on Conversion::Project in
the same way we have others.

The task in the task list

Screenshot 2024-03-28 at 14-51-41 Wellfield School - Complete conversions transfers and changes

The empty task

Screenshot 2024-03-28 at 14-52-02 Add chair of governors' contact details - Complete conversions transfers and changes

The completed task

Screenshot 2024-03-28 at 14-52-32 Wellfield School - Complete conversions transfers and changes

The new contact

Screenshot 2024-03-28 at 14-58-09 Wellfield School - Complete conversions transfers and changes

Returning to the task later

Screenshot 2024-03-28 at 14-55-35 Add chair of governors' contact details - Complete conversions transfers and changes

We want to store one single contact who is considered the chair of
governors at the school.

This is only available on conversions as academies do not have
governors.
@mec mec force-pushed the feature/161264-chair-of-governors-task branch from 70a84a1 to 7a235f6 Compare March 28, 2024 14:54
This tasks forces users to collect the contact details for the chair of
governors of the school converting into an academy so that a copy of the
funding agreement letters can be sent to them.

This is our second attempt at a task that collects a contacts (we
already have 'main contact') and we wanted to try something different.

Here we collect the name, email and optionally phone number and the task
is only completed one we have these. This creates a contact and
populates it with the further information that we can derive from the
project:

- organisation = school name
- role (title) = Chair of governors
- establishment urn = Project.urn

Because of the way this works, 'deleting' the contact details in the
task and saving it WILL NOT delete the contact, this must be done via
External contacts > Change > Delete contact. Updating the details of the
contact will work, however.
@mec mec force-pushed the feature/161264-chair-of-governors-task branch from 7a235f6 to 360b5d3 Compare March 28, 2024 15:08
@mec mec marked this pull request as ready for review March 28, 2024 15:08
Copy link

sonarcloud bot commented Mar 28, 2024

@mec mec merged commit 9db4ad8 into main Apr 2, 2024
7 checks passed
@mec mec deleted the feature/161264-chair-of-governors-task branch April 2, 2024 10:12
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.

2 participants