pub fn block_label(document: &IndexedDocument<'_>, id: BlockId) -> StringExpand description
A block’s display label: its name, then its type, joined as name/type,
skipping an empty type. The name falls back to the block’s id (b3)
when unnamed, so the label is never empty — and so a block that has
left the document still names a row.