[WEB-4603] feat: add missing event trackers (#7513)
* feat: add event trackers for password creation * feat: add event trackers for project views * feat: add event trackers for product updates and changelogs * chore: use element name instead of event name for changelog redirect link
This commit is contained in:
parent
c4d2c5b1bb
commit
ef8e613358
19 changed files with 203 additions and 34 deletions
|
|
@ -4,6 +4,7 @@ import {
|
|||
MODULE_TRACKER_ELEMENTS,
|
||||
PROJECT_PAGE_TRACKER_ELEMENTS,
|
||||
PROJECT_TRACKER_ELEMENTS,
|
||||
PROJECT_VIEW_TRACKER_ELEMENTS,
|
||||
WORK_ITEM_TRACKER_ELEMENTS,
|
||||
} from "@plane/constants";
|
||||
import { TCommandPaletteActionList, TCommandPaletteShortcut, TCommandPaletteShortcutList } from "@plane/types";
|
||||
|
|
@ -78,7 +79,10 @@ export const getProjectShortcutsList: () => TCommandPaletteActionList = () => {
|
|||
v: {
|
||||
title: "Create a new view",
|
||||
description: "Create a new view in the current project",
|
||||
action: () => toggleCreateViewModal(true),
|
||||
action: () => {
|
||||
toggleCreateViewModal(true);
|
||||
captureClick({ elementName: PROJECT_VIEW_TRACKER_ELEMENTS.COMMAND_PALETTE_ADD_ITEM });
|
||||
},
|
||||
},
|
||||
backspace: {
|
||||
title: "Bulk delete work items",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue