pub fn render_expiring_line(entry: &ExpiringEntry, palette: Palette) -> StringExpand description
One line of order list --expiring-in: order_id profile Nd not_after identifiers, plus a replaced-by= suffix where something has.
Two things are painted, both semantic. The days-left column, because “act
now” versus “soon” is the one thing an operator scans this listing for; and
the supersession suffix, because its presence is the good news — which is
also why the rows with no suffix are the ones left plain. The thresholds are
the terminal’s own and match /ui/expiring’s badges.