Skip to main content

task_ended

Function task_ended 

Source
pub(super) fn task_ended(
    state: &AppState,
    agent_id: &str,
    uid: &str,
    task_id: &str,
)
Expand description

A task done or handed back: the line that task wrote goes, so the row does not go on naming work that ended. A line the agent set itself stays (it said “Done: …” or something newer), and so does the line of another task (found by task_id, which a rename of the task does not change). Only the holder’s pane is touched: uid is the holder’s, so another agent that shares its name keeps its line.