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

Feature/2192 Monitor candidate data #2223

Conversation

HalcyonJAC
Copy link
Contributor

@HalcyonJAC HalcyonJAC commented Nov 20, 2023

What's included?

Closes #2192

Note: This PR will need the changes on digital-platform Feature/admin 2192.

Who should test?

✅ Product owner
✅ Developers
✅ UTG

How to test?

Example exercise:

Not requested

  1. Select candidates.
  2. Check if you can send requests.
  3. Check if the selected candidates move to the "Requested" tab.
  4. Go to "Notifications" and check if the notifications with the template "Candidate form consent form request" are created.

Requested

  1. Select candidates.
  2. Check if you can send reminders.
  3. Go to "Notifications" and check if the notifications with the template "Candidate form consent form reminder" are created.

Risk - how likely is this to impact other areas?

🟠 Medium risk - this does change code that is shared with other areas

Additional context

Screen.Recording.2023-11-29.at.11.30.59.mov

Related permissions

Have permissions been considered for this functionality?

  • No permission changes required
  • Permissions have been added / updated. Details:

PREVIEW:DEVELOP
can be OFF, DEVELOP or STAGING

Copy link

github-actions bot commented Nov 20, 2023

Visit the preview URL for this PR (updated for commit 7bd8298):

https://jac-admin-develop--pr2223-feature-2192-monitor-nc6omonq.web.app

(expires Fri, 29 Dec 2023 11:36:08 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 4e92cf51659207b0ae3509dc5c40edde50edfec0

Copy link
Member

@warrensearle warrensearle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @HalcyonJAC this needs a few tweaks so it is no longer specific to pre selection day questionnaires.

The candidateForm document you have access to includes some useful info:

  • task.type (in this case 'preSelectionDayQuestionnaire') can be used in the query for applicationRecords when you are looking at preSelectionDayQuestionnaire.status
  • openDate contains the date the emails are meant to be sent
  • closeDate contains the date the questionnaires are meant to be returned by (the deadline)
  • parts defines what is being asked for in the questionnaire which may be useful in populating the email template (but probably not as the email should be fairly generic, I would expect)

Copy link
Member

@warrensearle warrensearle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small change

src/views/Exercise/Tasks/Task/CandidateForm/Monitor.vue Outdated Show resolved Hide resolved
@HalcyonJAC HalcyonJAC force-pushed the feature/2192-monitor-candidate-data branch from d06d6cd to fc9ae00 Compare November 28, 2023 15:19
@warrensearle warrensearle marked this pull request as ready for review November 29, 2023 10:07
@warrensearle warrensearle requested review from a team as code owners November 29, 2023 10:07
@warrensearle warrensearle requested review from Franceswog, tomlovesgithub and drieJAC and removed request for a team November 29, 2023 10:07
@warrensearle warrensearle merged commit 6929dd6 into epic/2141-pre-selection-day-questionnaire Nov 29, 2023
10 checks passed
@warrensearle warrensearle deleted the feature/2192-monitor-candidate-data branch November 29, 2023 10:08
warrensearle added a commit that referenced this pull request Dec 22, 2023
…#2222)

* Add extra tasks

* #1868 Selection Day MVP

* Updates to task views and user journey

* Support for EMP tie-breaker

* BugFix: Changing advert type should not change exercise state

* Bugfix: Panel pack search improvement

* Bugfix: Create an exercise from clipboard not working

* Bugfix: Applications list layout. Reduce margin

* Bugfix: Task list. Application process not showing as Done

* Bugfix: Exercise overview broken when unlocked

* Bugfix: Stages search should include hint

* Data entry. Layout tweaks

* Fix lint

* Support for shortlisting outcome

* #2191 Configure Pre-selection day workflow

* Add form validation

* Text change

* Added module for candidateForm.
Added code to create the candidateForm.

* Create candidateForm document on save

* Fix naming and typo

* Fixed incorrect send date

* Update task first page to be called 'Overview'

* Include constants

* fix lints

* Fix name change of date fields

* Feature/2192 Monitor candidate data (#2223)

* Add preSelectionDayQuestionnaires to store

* Update Monitor component

* rename function

* reset error message

* tidy up

* tidy up

* tidy up

* update props

* update permission

* tidy up

* #2226 Configure Candidate Availability (#2227)

* #2226 Configure candidate availability

* Tidy up now platform handles creation of candidateForm

* Fix timeline dates

* Fix save error

* Open candidate form when requests are sent (for now)

* Store panellist id and name rather than just id

* Ensure date fields have a validation message

* Show parts that are relevant to exercise

* Close and continue button

* Update PSDQ wording

* Remove configuration of form parts

---------

Co-authored-by: drieJac <jac.drie@digitalteam.uk>
Co-authored-by: halcyonjac <halcyon@judicialappointments.digital>
Co-authored-by: HalcyonJAC <79906532+HalcyonJAC@users.noreply.github.com>
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