fn show(
state: &AppState,
map: &HashMap<String, Pending>,
block_id: &str,
) -> Result<(), String>Expand description
Show block_id’s banner from its requests: the newest unanswered one,
the upper level first. With none unanswered, the banner already shown
stays while its request is still being acted on (an approved click being
made), so an answered banner never comes back. Called with the map
locked, so two changes can’t publish out of order.