MEDIUM story-mileage-reimbursement-entry-coordinator-006 3 pts
3
Story Points
Medium
Priority
Mileage Reimbursement Entry
Feature

User Story

As a Coordinator
I want the app to suggest a pre-filled distance when I enter a known from/to route that I have used before
So that I can submit recurring mileage claims faster without retyping the same route and distance every time

Acceptance Criteria

  • Given I have previously submitted a claim for a route from address A to address B, When I next enter the same from/to combination in the route input fields, Then the distance field is pre-populated with the previously used distance
  • Given the distance field is pre-populated from cache, When I review the value, Then it is clearly indicated as a suggestion (e.g., prefilled label) and I can edit it freely
  • Given no cached route exists for my input, When the prefill service finds no match, Then the distance field remains empty and no incorrect suggestion is displayed
  • Given I am offline, When I enter a route combination, Then the local distance cache is consulted and a cached value is offered if available, without requiring a network call
  • Given I edit a pre-filled distance and submit the claim, When the claim is saved, Then the new distance value is stored in the cache to update the suggestion for future identical routes

Business Value

Repeat route pre-fill directly supports the core design principle established across all workshop sessions: minimize cognitive load and reduce the number of steps for common actions. A peer mentor with 380 registrations per year (HLF example from workshops) saves significant cumulative time and effort when frequently-travelled routes are remembered by the app, reducing the risk of abandonment mid-entry.