change(ui): notes to highlights modules and menu
This commit is contained in:
parent
8500c1c11e
commit
06113f7534
3 changed files with 6 additions and 9 deletions
|
|
@ -2,7 +2,7 @@ export { default } from './Modules';
|
|||
|
||||
export const enum MODULES {
|
||||
ASSIST = 'assist',
|
||||
NOTES = 'notes',
|
||||
HIGHLIGHTS = 'notes',
|
||||
BUG_REPORTS = 'bug-reports',
|
||||
OFFLINE_RECORDINGS = 'offline-recordings',
|
||||
ALERTS = 'alerts',
|
||||
|
|
@ -43,10 +43,10 @@ export const modules = [
|
|||
enterprise: true
|
||||
},
|
||||
{
|
||||
label: 'Notes',
|
||||
description: 'Add notes to sessions and share with your team.',
|
||||
key: MODULES.NOTES,
|
||||
icon: 'stickies',
|
||||
label: 'Highlights',
|
||||
description: 'Add highlights to sessions and share with your team.',
|
||||
key: MODULES.HIGHLIGHTS,
|
||||
icon: 'chat-square-quote',
|
||||
isEnabled: true
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ function SideMenu(props: Props) {
|
|||
modules.includes(MODULES.RECOMMENDATIONS),
|
||||
item.key === MENU.FEATURE_FLAGS &&
|
||||
modules.includes(MODULES.FEATURE_FLAGS),
|
||||
item.key === MENU.NOTES && modules.includes(MODULES.NOTES),
|
||||
item.key === MENU.HIGHLIGHTS && modules.includes(MODULES.HIGHLIGHTS),
|
||||
item.key === MENU.LIVE_SESSIONS && (modules.includes(MODULES.ASSIST) || isMobile),
|
||||
item.key === MENU.ALERTS && modules.includes(MODULES.ALERTS),
|
||||
item.key === MENU.USABILITY_TESTS && modules.includes(MODULES.USABILITY_TESTS),
|
||||
|
|
@ -122,7 +122,6 @@ function SideMenu(props: Props) {
|
|||
[MENU.SESSIONS]: () => withSiteId(routes.sessions(), siteId),
|
||||
[MENU.BOOKMARKS]: () => withSiteId(routes.bookmarks(), siteId),
|
||||
[MENU.VAULT]: () => withSiteId(routes.bookmarks(), siteId),
|
||||
[MENU.NOTES]: () => withSiteId(routes.notes(), siteId),
|
||||
[MENU.LIVE_SESSIONS]: () => withSiteId(routes.assist(), siteId),
|
||||
[MENU.DASHBOARDS]: () => withSiteId(routes.dashboard(), siteId),
|
||||
[MENU.CARDS]: () => withSiteId(routes.metrics(), siteId),
|
||||
|
|
|
|||
|
|
@ -39,7 +39,6 @@ export const enum MENU {
|
|||
RECOMMENDATIONS = 'recommendations',
|
||||
VAULT = 'vault',
|
||||
BOOKMARKS = 'bookmarks',
|
||||
NOTES = 'notes',
|
||||
HIGHLIGHTS = 'highlights',
|
||||
LIVE_SESSIONS = 'live-sessions',
|
||||
DASHBOARDS = 'dashboards',
|
||||
|
|
@ -64,7 +63,6 @@ export const categories: Category[] = [
|
|||
{ label: 'Recommendations', key: MENU.RECOMMENDATIONS, icon: 'magic', hidden: true },
|
||||
{ label: 'Vault', key: MENU.VAULT, icon: 'safe', hidden: true },
|
||||
{ label: 'Bookmarks', key: MENU.BOOKMARKS, icon: 'bookmark' },
|
||||
//{ label: 'Notes', key: MENU.NOTES, icon: 'stickies' },
|
||||
{ label: 'Highlights', key: MENU.HIGHLIGHTS, icon: 'chat-square-quote' }
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue