Skip to content

Add online checks to pre interview checks.#8444

Open
KyleMacPherson wants to merge 9 commits intomainfrom
online-checks
Open

Add online checks to pre interview checks.#8444
KyleMacPherson wants to merge 9 commits intomainfrom
online-checks

Conversation

@KyleMacPherson
Copy link
Collaborator

@KyleMacPherson KyleMacPherson commented Jan 22, 2026

Trello card URL

https://trello.com/c/b6NtBOsO/2391-add-online-checks-to-pre-interview-checks-tab

Changes in this PR:

This PR adds online checks to the pre-interview checks and allows hiring staff to record whether or not they have performed online checks on the applicant.

Screenshots of UI changes:

Before

After

Checklists:

Data & Schema Changes

If this PR modifies data structures or validations, check the following:

  • Adds/removes model validations
  • Adds/removes database fields
  • Modifies Vacancy enumerables (phases, working patterns, job roles, key stages, etc.)
If any of the above options has changed then the author must check/resolve all of the following...

Integration Impact

Does this change affect any of these integrations?

  • DfE Analytics platform
  • Legacy imports mappings
  • DWP Find a Job export mappings
  • Publisher ATS API (may require mapping updates or API versioning)

User Experience & Data Integrity

Could this change impact:

  • Existing subscription alerts (will legacy subscription search filters break?)
  • Legacy vacancy copying (will copied vacancies fail new validations?)
  • In-progress drafts for Vacancies or Job Applications

@KyleMacPherson KyleMacPherson marked this pull request as draft January 22, 2026 11:37
@KyleMacPherson KyleMacPherson marked this pull request as ready for review January 23, 2026 12:13
@github-actions
Copy link

Review app deployed to https://teaching-vacancies-review-pr-8444.test.teacherservices.cloud on AKS

Comment on lines 17 to 19
= f.govuk_radio_buttons_fieldset :online_checks, legend: { text: t(".question"), size: "m" } do
= f.govuk_radio_button :online_checks, :yes, label: { text: t(".yes") }
= f.govuk_radio_button :online_checks, :no, label: { text: t(".no") }
Copy link
Contributor

Choose a reason for hiding this comment

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

There is a standard location for these which we are now doing a lot of. Might be worth using it? (online_checks_options with values yes, no and no_doing).

before_action :set_job_application

def edit
@notes_form = Publishers::JobApplication::NotesForm.new
Copy link
Contributor

Choose a reason for hiding this comment

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

I have removed notes_form in a notes_refactor Pr - might be worth re-basing on that? Turns out that was a bit faulty - correct way to make a note is @job_application.notes.build so that note has association back to job_applicaiton

= f.govuk_submit t(".save_and_update")

.govuk-grid-column-one-third
= render PublisherNotesOnJobApplicationComponent.new(job_application: @job_application, vacancy: @vacancy, notes_form: @notes_form,
Copy link
Contributor

Choose a reason for hiding this comment

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

I have changed this so we use a method rather than instantiating the class. There is a notes refactor branch, I will put those changes into that branch so that you can use them

expect(publisher_ats_pre_interview_checks_page).to be_displayed
# This now includes the self disclosure
expect(publisher_ats_pre_interview_checks_page.reference_links.count).to eq(3)
expect(publisher_ats_pre_interview_checks_page.reference_links.count).to eq(4)
Copy link
Contributor

Choose a reason for hiding this comment

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

might be good to add a better comment explaining the count - my original is a bit lacking :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants