Expand description
The board: one answer for every derived fact a reader of the task list needs.
Worked time, ages, and the marks (ready, in review, overdue, no movement, waiting too long, stale, to close) are derived here from the store, the history and session liveness - never stored. The tools, the chase and the view surface all read THIS answer, so a mark cannot disagree between two surfaces.
Re-exportsยง
use std::collections::HashMap;๐use std::time::SystemTime;๐use forge_primitives::tasks::LinkKind;๐use forge_primitives::tasks::Task;๐use forge_primitives::tasks::TaskId;๐use forge_primitives::tasks::TaskStatus;๐use forge_primitives::tasks::TaskTransition;๐use crate::workspace::Workspace;๐
Structsยง
- Attention
Item - One wait that is on the person, named for the surface that raises it.
- Board
Row - One row as the board reads it: the record plus what is derived.
- Fleet
Row - One project as the fleet page draws it.
- Marks
- The derived facts about one row, as the board draws them.
Enumsยง
- Miss
- One named miss on a projectโs fleet row.
Constantsยง
- DEFAULT_
STALE_ SECS - The no-estimate no-movement window when
forge.tomlsays nothing. - HISTORY_
CAP - How many of a rowโs own transitions a board row carries.
Functionsยง
- attention_
words ๐ - The askโs own words, as the mark and its popover word it.
- capped_
history ๐ - The tail of a rowโs transitions a board row carries: the newest
HISTORY_CAP, in time order.mineis that one rowโs transitions, already sorted. - fmt_
secs ๐ - A duration as the boardโs words:
3h,12m,45s. - is_
terminal ๐ - retro_
ran ๐ - The retro marker: a link labelled
retroon the epic. - secs_
ago ๐ - worked_
secs ๐ - The sum of a rowโs in_progress intervals, from its transitions.