Implement meeting reschedule and cancel flows - #297
Merged
SamWooldridgeKainos merged 403 commits intoSep 22, 2026
Merged
Conversation
Index update and Playwright fix take 2
Version refactor
wat4 refs and stashed changes clean up
Moves BFS pre-trial meeting outcome pages into state-based partials under the victim record communications panel, and updates routes/buttons to redirect to `/ur/bfs/victim/index` with `meetingState` and success query params. Adds a full "no response" logging journey (who + when), tracks `recordnoresponse` alongside accepted/declined responses, updates response summaries to show no-response entries, and removes obsolete standalone meetings communication templates/pages.
Unify BFS meeting states in victim record
Lots of BFS changes etc
Removes a large set of unused BFS onboarding check-details templates, including old family contact and secondary family-member flows (`family-members2` and related index variants). Existing check-details field pages were preserved by moving them into an `archive/` folder for reference. Also tidies the remaining family member check-answers page by fixing heading casing and removing the redundant “Personal details” subheading.
Prune legacy BFS check-details templates
Add client-side form validation for bereaved family member name and relationship fields. Enhance meeting outcome logging flow with change mode support and dynamic attendee management. Refactor family representative selection to use dedicated page. Update form actions, session data handling, and improve field labeling across multiple views.
Add form validation and enhance BFS meeting workflow
Remove conditional redirect logic for logging answers and simplify to always redirect to purpose endpoint. Update 'Sorted by' text across multiple victims pages to reflect current sort order (Last name A to Z only, removing 'Victims first' criterion).
Simplify logging flow and update sort text
This commit adds a change-mode flag for BFS meeting journeys so forms only repopulate values when a user revises an existing meeting. It also introduces a reusable meeting-purpose label filter and updates meeting check answers and status cards to display the correct purpose text across arranged, offered, pending, no-response and rescheduled states.
Add change-mode meeting prefill flow
Add comprehensive reschedule and cancel workflows for pre-trial meetings: - Implement reschedule check-answers page with session snapshots to track previous arrangements - Add cancel meeting flow with date and reason capture - Separate person data model: first_name, last_name, role (instead of name/role) - Format attendee names as "LASTNAME, Firstname (Role)" to match predefined options - Fix form routing: convert links to buttons with formaction for proper session state - Make meeting detail pages dynamic using session data instead of hardcoded values - Remove changeMode conditionals from attendee/lead checkboxes (now always checked based on session) - Clean up button styling: remove --secondary, remove redundant visually-hidden text - Delete duplicate check-answers2.html (consolidated into check-answers.html) - Update rescheduled and cancelled state views with dynamic data and previous meeting details
Implement meeting reschedule and cancel flows
|
SamWooldridgeKainos
merged commit Sep 22, 2026
6ebc0c7
into
CPS-Innovation:main
7 of 8 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Add comprehensive reschedule and cancel workflows for pre-trial meetings: