Skip to content

Conversation

thomasleese
Copy link
Contributor

@thomasleese thomasleese commented Aug 12, 2025

This makes a number of small changes to clarify the year groups when they're shown:

  • The registration is displayed after a comma as per the prototype.
  • The academic year is always show during the preparation period.

JIRA: MAV-1757

This updates the `patient_year_group` helper to concatenate strings
together rather than use `compact` and `join` to improve performance of
this helper method which is used throughout the service.
This updates the formatting to match the latest designs where the
registration is shown after the year group with a comma.
If we're in the preparation period, it's not always clear which academic
year is being used to display a year group, therefore we should always
show the academic year during the preparation period.
@thomasleese thomasleese added this to the v2.17.0 milestone Aug 12, 2025
@thomasleese thomasleese requested a review from a team as a code owner August 12, 2025 06:15
@thomasleese thomasleese added the design tweak Small update to content or layout label Aug 12, 2025
@thomasleese thomasleese enabled auto-merge August 12, 2025 06:15
Copy link

@tvararu tvararu temporarily deployed to mavis-pr-4243 August 12, 2025 06:18 Inactive
@thomasleese thomasleese merged commit 64fe6ea into next Aug 12, 2025
13 of 14 checks passed
@thomasleese thomasleese deleted the year-group-formatting branch August 12, 2025 08:25
MartinVanIJcken pushed a commit that referenced this pull request Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design tweak Small update to content or layout
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants