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

Update provider reports #8616

Merged
merged 5 commits into from
Oct 3, 2023
Merged

Update provider reports #8616

merged 5 commits into from
Oct 3, 2023

Conversation

JR-G
Copy link
Contributor

@JR-G JR-G commented Sep 30, 2023

Context

On the Provider interface on Manage, we offer providers a number of reports that they can view. We need to update these to ensure they will still work with continuous applications.

Changes proposed in this pull request

  • Remove automatic rejection columns from the application data export
  • Hide the duplicated 'Received' report value and include inactive applications when a user selects 'Received
  • Include inactive in the count of applications on the status of active applications report
  • On the diversity report count application choices by sent_to_provider_at, not application forms by submitted_at
  • Update the filter on Manage to also reflect the duplicated 'Received' value

Guidance to review

Link to Trello card

https://trello.com/c/sUdWd9Z5/28-ca-review-and-update-any-required-provider-reports-on-manage

Things to check

  • If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
  • This code does not rely on migrations in the same Pull Request
  • If this code includes a migration adding or changing columns, it also backfills existing records for consistency
  • If this code adds a column to the DB, decide whether it needs to be in analytics yml file or analytics blocklist
  • API release notes have been updated if necessary
  • If it adds a significant user-facing change, is it documented in the CHANGELOG?
  • Required environment variables have been updated added to the Azure KeyVault

We only write to submitted_at on the first application choice
submission. A candidate can have numerous submissions, but the
submitted_at value will not change. Therefore we need to use
sent_to_provider_at on the application choice.
@JR-G JR-G force-pushed the update-provider-reports branch from 9467dfb to 8588c14 Compare September 30, 2023 22:09
@JR-G JR-G marked this pull request as ready for review September 30, 2023 22:12
@github-actions
Copy link
Contributor

github-actions bot commented Oct 1, 2023

You have one or more flakey tests on this branch! ❄️ ❄️ ❄️

Failed 1 out of 3 times at ./spec/system/provider_interface/provider_changes_conditions_on_an_offer_spec.rb:8: ⚠️ Unable to find css ".govuk-main-wrapper"

@JR-G JR-G requested a review from a team October 2, 2023 10:05
Copy link
Collaborator

@tomas-stefano tomas-stefano left a comment

Choose a reason for hiding this comment

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

Code wise looks good 🚀. Because of our limited dev time this week and next, can someone else take a look on the data generated is correct from the PR? I am not sure if @MylesJarvis or @DFE-Digital/find-and-apply-designers are the best to review those. Let me know ✌️

@MylesJarvis MylesJarvis added the deploy_v2 Deploy the review app to AKS label Oct 2, 2023
@MylesJarvis
Copy link
Contributor

I've requested a deploy to a preview app, but I'm not sure whether the generated data will be good enough to test everything. I'll report back.

@github-actions github-actions bot temporarily deployed to review_aks-8616 October 2, 2023 11:40 Destroyed
@MylesJarvis MylesJarvis temporarily deployed to review_aks October 2, 2023 11:40 — with GitHub Actions Inactive
@github-actions
Copy link
Contributor

github-actions bot commented Oct 2, 2023

You have one or more flakey tests on this branch! ❄️ ❄️ ❄️

Failed 1 out of 3 times at ./spec/services/duplicate_application_spec.rb:122: ⚠️ Expected �[33m0�[0m to eq �[35m1�[0m.

@JR-G JR-G merged commit c6ef90c into main Oct 3, 2023
119 of 121 checks passed
@JR-G JR-G deleted the update-provider-reports branch October 3, 2023 12:27
@JR-G JR-G temporarily deployed to review_aks October 3, 2023 12:27 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy_v2 Deploy the review app to AKS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants