Skip to content

v2.2.2 (work in progress)#3508

Merged
thomasleese merged 84 commits intomainfrom
v2.2.2-wip
May 14, 2025
Merged

v2.2.2 (work in progress)#3508
thomasleese merged 84 commits intomainfrom
v2.2.2-wip

Conversation

@thomasleese
Copy link
Copy Markdown
Contributor

No description provided.

murugapl added 2 commits May 2, 2025 15:43
Added phone_instructions string field to organisations and teams models to store additional
context for phone numbers. Updated tests to verify that the field can be populated both
through the onboarding YAML and manual editing. This allows staff to provide callers with
guidance on phone menu options.
Added phone instructions display to user-facing views and notify
personalisation. Phone instructions now appear in brackets next
to phone numbers across the application interface. Updated the
Notify personalisation variables to include these instructions
in all automated communications.
@thomasleese thomasleese changed the base branch from main to v2.2.1-wip May 6, 2025 11:34
@tvararu tvararu temporarily deployed to mavis-pr-3508 May 6, 2025 11:36 Inactive
@tvararu tvararu temporarily deployed to mavis-pr-3508 May 6, 2025 11:50 Inactive
@tvararu tvararu temporarily deployed to mavis-pr-3508 May 6, 2025 16:32 Inactive
@tvararu tvararu temporarily deployed to mavis-pr-3508 May 6, 2025 16:33 Inactive
@tvararu tvararu temporarily deployed to mavis-pr-3508 May 6, 2025 16:33 Inactive
Base automatically changed from v2.2.1-wip to main May 9, 2025 08:50
@tvararu tvararu temporarily deployed to mavis-pr-3508 May 9, 2025 09:12 Inactive
@tvararu tvararu temporarily deployed to mavis-pr-3508 May 9, 2025 09:14 Inactive
@tvararu tvararu temporarily deployed to mavis-pr-3508 May 9, 2025 09:25 Inactive
@tvararu tvararu temporarily deployed to mavis-pr-3508 May 9, 2025 09:28 Inactive
misaka and others added 6 commits May 12, 2025 11:37
We want to be able to authenticate with a client secret in dev
environments, but the patch we made to OmniAuth's OpenID Connect
strategy only worked with private key.
This allows us to return a more meaningful error when someone from an
organisation that hasn't been setup in Mavis but that is otherwise setup
correctly tries to login. This will be useful for pre-launch checks by
orgs.
While fixing the feature specs for the change to the order that we check
authentication details, it was obvious that the way mock_cis2_auth works
is much too convoluted. This fixes that aspect of the test but also
allows us to greatly simplify the interface to mock_cis2_auth in a
future commit.
Additional wording to help make it clearer for onboarding.
- `scope.search_by_name` in `@form.apply` already sorts by match score
- but `@form.apply` is given a scope that’s already ordered by the name alphabetically
- `ActiveRecord.order(x).order(y)` merges the `order` criteria instead of applying them sequentially

Signed-off-by: Alistair White-Horne <alistair.whitehorne@tngtech.com>
paulrobertlloyd and others added 6 commits May 12, 2025 11:40
Changed update method from update! to update_column to prevent vaccination
confirmation emails from updating the RECORD_UPDATED_AT column. This ensures
that only genuine user edits to the record are reflected in the report,
providing a more accurate last updated timestamp.
We have validation in place to ensure these numbers are valid.
Moved card rendering (children, vaccinations, consent notifications) from the show view into AppProgrammeStatsComponent.
This will make it easier to test changes to the stats displayed, in isolation.
misaka added 10 commits May 13, 2025 15:52
Turns out we don't use the class imports. Generating these dependend on
data in the db, and removing them allows this generator to be run
anywhere, not just in the environment that has the locations we're
generating the data for.
This allows us to decouple the generator from the database, if desired.
This only generates cohort imports now.
This wasn't showing up because of the addition of programme type to the
URL
The deadline action was an outlier in that it is accessible through
nested routes either with the consent id, or session slug and programme
types. This refactoring allows it to work with either routes.
Stops us from running out of memory.
There is an edge case where parents giving consent would get an error
page if they begin the consent journey before the deadline has passed,
but only finish it after. Instead of getting the helpful "the deadline
has passed, please contact the SAIS team", they got the generic 500
error page.

This fixes that and adds a test.

https://good-machine.sentry.io/issues/6428092252/
https://nhsd-jira.digital.nhs.uk/browse/MAV-1123
@tvararu tvararu temporarily deployed to mavis-pr-3508 May 13, 2025 15:32 Inactive
misaka and others added 3 commits May 13, 2025 17:11
This fixes an issue where schools that don't have children in year
groups elligible were being added to the cohort import when using
user-provided school year groups.
When changing the consent response from a child, currently this doesn't
reset the "route" from self-consent, meaning that the consent continues
to show as part of the self-consent journey even if the consent has been
changed to be from a parent.
When changing the consent response from a child, currently this doesn't
reset the "route" from self-consent, meaning that the consent continues
to show as part of the self-consent journey even if the consent has been
changed to be from a parent.
@tvararu tvararu temporarily deployed to mavis-pr-3508 May 13, 2025 18:08 Inactive
Incremental changes as a result of using these recently. See commits for
the changes.
@tvararu tvararu temporarily deployed to mavis-pr-3508 May 13, 2025 19:53 Inactive
@sonarqubecloud
Copy link
Copy Markdown

@thomasleese thomasleese marked this pull request as ready for review May 14, 2025 20:35
@thomasleese thomasleese merged commit cee71df into main May 14, 2025
36 checks passed
@thomasleese thomasleese deleted the v2.2.2-wip branch May 14, 2025 20:39
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.

8 participants