Summary
There is no client-side log tracking navigation between routes, making it difficult to reconstruct user journeys when debugging production issues. A debug-level log on each route change should record the destination route and the elapsed time since the previous navigation.
Scope
- Listen to route change events in the router and emit a debug-level log on each transition with fields:
from_route, to_route, time_since_last_nav_ms
time_since_last_nav_ms is the wall-clock time between the previous navigation completion and the current one
- Log emitted after the route change completes, not when it begins
from_route is null on the first navigation (page load)
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
There is no client-side log tracking navigation between routes, making it difficult to reconstruct user journeys when debugging production issues. A debug-level log on each route change should record the destination route and the elapsed time since the previous navigation.
Scope
from_route,to_route,time_since_last_nav_mstime_since_last_nav_msis the wall-clock time between the previous navigation completion and the current onefrom_routeis null on the first navigation (page load)Acceptance Criteria
from_routeis null on first navigationtime_since_last_nav_msreflects time since last completed navigationETA: 12 hours
Coordinate on Telegram