Skip to main content

resolve_tracker_title

Function resolve_tracker_title 

Source
pub fn resolve_tracker_title(
    raw_title: Option<&str>,
    first_item_short: Option<&str>,
    fallback_default: &str,
) -> String
Expand description

Descriptive header title: never surface a generated plan codename.

Checklist titles created from approved plans already carry the plan-summary clause, but older/manual payloads may still carry a timestamp slug (1789108823046-jolly-forest) or its humanized form (Jolly Forest). Those read as random names and say nothing about the work, so derive a purpose-indicating title from the first checklist item instead. User titles pass through verbatim (humanized only for timestamp slugs).