Skip to content

Child record redesign - sessions per programme#6138

Merged
stevehook merged 6 commits intonextfrom
child-record-redesign-sessions-per-programme
Mar 4, 2026
Merged

Child record redesign - sessions per programme#6138
stevehook merged 6 commits intonextfrom
child-record-redesign-sessions-per-programme

Conversation

@stevehook
Copy link
Copy Markdown
Contributor

This PR is one of several subtasks that implement the new child record design. It includes:

  • A new AppPatientProgrammeSessionTableComponent component that lists sessions for the given patient and programme in a table. The existing AppPatientSessionTableComponent is still used on the Child record tab but may be deleted in future along with the child_record_redesign feature flag.
  • Add the new component to the per-programme tabs.

Screenshots

image

Pre-release tasks

  • ...

Post-release tasks

  • ...

Comment thread app/components/app_patient_programme_session_table_component.rb
@stevehook stevehook changed the title Child record redesign sessions per programme Child record redesign - sessions per programme Feb 27, 2026
@stevehook stevehook marked this pull request as ready for review February 27, 2026 16:46
@stevehook stevehook requested a review from a team as a code owner February 27, 2026 16:46
@stevehook stevehook added this to the v7.2.0 milestone Mar 2, 2026
@thomasleese thomasleese added the feature New functionality label Mar 3, 2026
Comment thread app/components/app_patient_programme_session_table_component.rb Outdated
Comment thread app/components/app_patient_programme_session_table_component.rb
Comment thread app/components/app_patient_session_table_component.rb Outdated
Base automatically changed from child-record-redesign-programme-tabs to next March 4, 2026 11:36
@stevehook stevehook force-pushed the child-record-redesign-sessions-per-programme branch 2 times, most recently from c71c212 to 74007f3 Compare March 4, 2026 12:34
Comment thread app/components/app_patient_programme_session_table_component.rb Outdated
stevehook and others added 6 commits March 4, 2026 14:51
Also adds a filtered session table to the per-programme tabs on the
child record page.

Jira-issue: MAV-3826
The behaviour and appearance of the session table on the programme tabs
is sufficiently different from `AppPatientProgrammeSessionTableComponent` appears on the _Child
record_ tab to make a separate component worthwhile.

Jira-issue: MAV-3836
This is part of the soon to be removed _Sessions_ card on the _Child record_ tab, but is not present in the prototype for the new design.

Jira-issue: MAV-3836
Proper scoping of vaccination records

Co-authored-by: Thomas Leese <thomas@leese.io>
`VaccinationRecord.last` orders by `id` so it won't return what we want
by itself if vaccination records are added to the system out of
sequence.
@stevehook stevehook force-pushed the child-record-redesign-sessions-per-programme branch from d2c5e0b to 2eb44ca Compare March 4, 2026 14:51
@stevehook stevehook merged commit 41b5d0b into next Mar 4, 2026
13 checks passed
@stevehook stevehook deleted the child-record-redesign-sessions-per-programme branch March 4, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants