BETAThis application is currently in beta. Features may change and bugs may occur.

Releases

Changelog

Unreleased

DRFIT Form

  • Added new DRFIT (Drink/Drug Impairment Test) form at /form/plo/drfit with comprehensive statement generation
  • Implemented complete Preliminary Impairment Test (PIT/FIT) form with 5 test sections:
    • Section 1: Pupillary Examination (eye measurements, pupil state, lighting conditions, watery eyes, red sclera, indicators of drug influence)
    • Section 2: The Modified Romberg Balance Test (behaviour during explanation, actions during test, time estimation, observations)
    • Section 3: Walk and Turn Test (instruction stage observations, test performance observations)
    • Section 4: One Leg Stand Test (observations during test)
    • Section 5: Finger To Nose Test (observations during test)
  • Added Conclusion and Arrest section (manner of driving, time of arrest, reply to caution)
  • Organized form sections in collapsible accordions for easier navigation
  • Implemented conditional placeholder logic for IF blocks (watery eyes, red sclera, indicators of drug influence)
  • Added comprehensive form fields with helper text and placeholders
  • Updated statement template processing to handle all DRFIT placeholders including option-based selections
  • Auto-populates FORCE from user configuration
  • Reactive statement generation that updates as form fields are filled

2025-11-06 - v0.8.0

Global UI

  • Added top-of-site BETA banner with gradient (light/dark modes) and prominent notice
  • Restyled navigation into compact, sticky app bar with blur/gradient, app icon, icon-only settings, and user pill

Case Files

  • MG5 Part 1 saved-content indicator and preview:
    • Green "Saved" badge next to MG5 in both GAP and NGAP checklists
    • Saved content card with scrollable preview, Copy and Edit actions
  • Case selector buttons (GAP/NGAP) now minimize to a compact toolbar after selection; forms remain fully visible

Misc

  • Minor style additions for webapp look: .appbar, .app-logo, .user-pill, .avatar-initials, .icon-btn
  • Resolved Netlify build failure by renaming spawned test process instance in app/api/tests/stream/route.ts

2025-10-22 - v0.7.1

  • Added .nvmrc file with Node v24.9.0 for consistent development environment
  • Added changelog link to footer - version number now navigates to releases page
  • Improved access to release notes and version history

Speed Enforcement Form Improvements

  • Redesigned form layout with two-column structure (form on left, statement on right)
  • Base Station Check Date now uses date-only picker respecting user's configured date format
  • Added new getDateOnlyPickerFormat() utility function for date-only fields
  • Reorganized form fields with better grouping using Row/Col for related inputs
  • Improved field labels, placeholders, and helper text throughout
  • Better visual hierarchy with collapsible accordions for each section
  • Enhanced conditional sections with styled backgrounds for better visibility
  • Cleaner button layout with consistent spacing using flexbox
  • All form fields now use consistent spacing and styling

Statement Manager Enhancements

  • Wrapped statement preview in Card component matching form column design
  • Added visual feedback to copy button (shows "Copied!" with checkmark icon for 2 seconds)
  • Fixed copy functionality to preserve paragraph breaks and line formatting
  • Added Bootstrap icons to all buttons for better visual clarity:
    • Edit Statement: Pencil icon
    • View Revisions: Clock/history icon
    • Copy Statement: Clipboard/checkmark icon
    • Save as Revision: Save icon
  • Improved button variants and organization (Edit buttons at top, Action buttons at bottom)
  • Better alert styling within card body

2025-10-19 - v0.7.0

  • Added Case Files button to homepage for easy access to NGAP and GAP checklists
  • Added "Skip for now" option to welcome modal
  • Users can now dismiss the setup modal and configure details later
  • Skip preference is stored in localStorage and persists across sessions
  • Improved user onboarding experience with flexible configuration options
  • Added custom police siren SVG favicon with blue gradient and light effects
  • Modern scalable favicon replaces generic icon

2025-10-19 - v0.6.0

  • Added Charge Wording Generator feature at /charge-wording with 7 charge types:
    • RT88339: Unfit to Drive Through Drink
    • RT88007: Drive Motor Vehicle When Alcohol Level Above Limit
    • RT88326: Attempt to Drive Motor Vehicle - Alcohol Level Above Limit
    • RT88347: In Charge of Vehicle Whilst Unfit Through Drink
    • RA88048: Cause Death by Due Care and Fail to Provide Specimen
    • RT88584: Drive Motor Vehicle with Controlled Drug Above Specified Limit
    • RT88340: Drive a Vehicle Whilst Unfit Through Drugs
  • Charge wording templates support markdown formatting with live preview
  • Dynamic form fields based on selected charge type (alcohol levels, drug details, death by due care)
  • Auto-populate measurement units for alcohol specimens (breath, blood, urine)
  • Copy to clipboard functionality for generated charge wordings

2025-09-21

  • Added new Drugs Wipe form at /form/plo/drugswipe with comprehensive statement generation
  • Renamed PLOStatementManager to VehicleTicketStatementManager for better clarity
  • Added Mobile Phone form to TOR section with dynamic crewmate options
  • Updated statement templates with improved placeholders and formatting
  • Fixed time display formatting in drugs wipe statements to prevent redundant date/time display
  • Fixed UTC time offset issue - forms now correctly store and display local time
  • Enhanced form validation and user experience across all statement forms
  • Improved statement generation logic for better readability and accuracy

2025-09-20

  • Added traffic case file logic to GAP checklist for consistency
  • Fixed width issues for case file classification in both NGAP and GAP
  • Removed FTP from GAP checklist as it's not needed
  • Improved mobile responsiveness for case file selection buttons
  • Enhanced visual hierarchy with colored borders for traffic-related questions
  • Fixed MGDD/C logic to require both hospital procedure AND sample provision

2025-09-19

  • Enhanced NGAP checklist with traffic case file logic
  • Created reusable TrafficCaseFileLogic component for consistent traffic-related document management
  • Added conditional MGDD document inclusion based on case type and sample provision
  • Fixed MG22 logic to only include when drug drive sample is provided
  • Improved auto-items calculation with duplicate protection
  • Updated checklist messages to accurately reflect added documents

2025-08-09

  • Merge pull request #31 from alexburrows/hotfix/global-date-fix ([#31])

2025-07-12

  • Merge pull request #30 from alexburrows/develop ([#30])
  • Merge pull request #29 from alexburrows/develop ([#29])
  • Merge pull request #26 from alexburrows/next15 ([#26])

2024-12-01

  • Merge pull request #25 from alexburrows/15-keep-confidence-and-sight-alignment-checks-values ([#25])
  • Merge pull request #24 from alexburrows/15-keep-confidence-and-sight-alignment-checks-values ([#24])
  • Merge pull request #23 from alexburrows/15-keep-confidence-and-sight-alignment-checks-values ([#23])
  • Merge pull request #22 from alexburrows/15-keep-confidence-and-sight-alignment-checks-values ([#22])

2023-11-10

  • Merge pull request #21 from alexburrows/hotfix/label-for-other-offficer ([#21])
  • Merge pull request #20 from alexburrows/hotfix/autofilling-amends ([#20])
  • Merge pull request #19 from alexburrows/13-get-all-police-forces ([#19])
  • Merge pull request #18 from alexburrows/12-change-wording-to-simplify-statement ([#18])
  • Merge pull request #17 from alexburrows/11-change-wording-in-statement ([#17])
  • Merge pull request #16 from alexburrows/10-change-calibration-wording ([#16])
  • Merge pull request #14 from alexburrows/9-optional-arrival-and-departure-checks ([#14])
  • Merge pull request #8 from alexburrows/feature/datetime-pickers ([#8])

2023-10-29

  • Merge pull request #7 from alexburrows/dev ([#7])
  • Merge pull request #6 from alexburrows/dev ([#6])
  • Merge pull request #5 from alexburrows/dev ([#5])
  • Merge pull request #4 from alexburrows/dev ([#4])
  • Merge pull request #3 from alexburrows/dev ([#3])
  • Merge pull request #2 from alexburrows/dev ([#2])
  • Merge pull request #1 from alexburrows/dev ([#1])

2022-08-24

  • Merge pull request #80 from netlify-templates/pw/removePlugin ([#80])

2022-06-30

  • chore(deps): update dependency @netlify/plugin-nextjs to ^4.11.0

2022-06-23

  • fix(deps): update react monorepo to v18 (major)

2022-06-08

  • Merge pull request #41 from netlify-templates/dependabot/npm_and_yarn/sharp-0.30.6 ([#41])

2021-11-01

  • Merge pull request #16 from alanwsmith/main ([#16])

2021-10-28

  • Merge pull request #14 from maxcell/main ([#14])

2021-03-23

  • Merge pull request #8 from verythorough/jp/reenableAutoInstall ([#8])

2020-11-09

  • Fix merge conflict

2020-09-22

2020-07-28

  • Fix merge conflicts