extract chat view in a partial