ref #4021: add message detail view - code documentation