While the shortcuts would be shown for menus & panels, there was no way to edit them from the context menu. This was reported as a bug since moving "Undo History" from an operator to a menu meant it was no longer possible to assign a shortcut from the context menu. Resolves: #97431.