Unverified Commit 90e4afd8 authored by Mattermost Build's avatar Mattermost Build Committed by GitHub
Browse files

Automated cherry pick of #5890 (#5943)



* MM-26321 Add telemetry for channel menu create category

* add rudder key for testing

* Rename ui_sidebar_menu_create_category to ui_sidebar_menu_createCategory

* Remove testing Rudder keys
Co-authored-by: default avatarsudheer <sudheer.105@gmail.com>
Co-authored-by: default avatarHarrison Healey <harrisonmhealey@gmail.com>
parent dc27c390
......@@ -82,7 +82,7 @@ export default class Sidebar extends React.PureComponent<Props, State> {
modalId: ModalIdentifiers.EDIT_CATEGORY,
dialogType: EditCategoryModal,
});
trackEvent('ui', 'ui_sidebar_menu_create_category');
trackEvent('ui', 'ui_sidebar_menu_createCategory');
}
handleCreateCategory = (categoryName: string) => {
......
......@@ -100,6 +100,7 @@ export class SidebarChannelMenu extends React.PureComponent<Props, State> {
channelIdsToAdd: [this.props.channel.id],
},
});
trackEvent('ui', 'ui_sidebar_channel_menu_createCategory');
}
copyLink = () => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment