Display keyboard shortcut in UserDropdown chat menu items (#4414)
* Initial plan * Add keyboard shortcut display to UserDropdown chat menu items Co-authored-by: gabek <414923+gabek@users.noreply.github.com> * Successfully implement keyboard shortcut display in UserDropdown chat menu Co-authored-by: gabek <414923+gabek@users.noreply.github.com> * Additional instructions --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: gabek <414923+gabek@users.noreply.github.com> Co-authored-by: Gabe Kangas <gabek@real-ity.com>
This commit is contained in:
co-authored by
gabek
copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Gabe Kangas
parent
088b2f66b9
commit
5950db7abd
@@ -166,7 +166,7 @@ export const UserDropdown: FC<UserDropdownProps> = ({
|
||||
'aria-expanded': chatState === ChatState.VISIBLE,
|
||||
className: styles.chatToggle, // TODO why do we hide this button on tablets?
|
||||
icon: <MessageOutlined />,
|
||||
label: chatState === ChatState.VISIBLE ? 'Hide Chat' : 'Show Chat',
|
||||
label: chatState === ChatState.VISIBLE ? 'Hide Chat (c)' : 'Show Chat (c)',
|
||||
onClick: toggleChatVisibility,
|
||||
} as MenuProps['items'][0]);
|
||||
if (canShowChatPopup)
|
||||
|
||||
Reference in New Issue
Block a user