formatHintSkipped function
String
formatHintSkipped(
- String tourId,
- int stepIndex,
- String targetId,
- HintSkipReason reason,
- String detail,
A single diagnostics line fit for logging.
Format: [hintful] statsIntro step 2 not shown: target-not-rendered (target 'statsPeriodSelector') — detail
Implementation
String formatHintSkipped(
String tourId,
int stepIndex,
String targetId,
HintSkipReason reason,
String detail,
) {
return "[hintful] $tourId step ${stepIndex + 1} not shown: ${reason.label}"
" (target '$targetId') — $detail";
}