Skip to content

Commit

Permalink
removed ll4dev code
Browse files Browse the repository at this point in the history
  • Loading branch information
akanshaaa19 committed Feb 4, 2025
1 parent 566b6ea commit fda4ab1
Show file tree
Hide file tree
Showing 16 changed files with 19 additions and 860 deletions.
10 changes: 0 additions & 10 deletions src/assets/images/icons/SideDrawer/KnowledgeBaseIcon.tsx

This file was deleted.

6 changes: 2 additions & 4 deletions src/components/UI/ListIcon/ListIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,11 @@ import ConsultingIcon from 'assets/images/icons/SideDrawer/ConsultingIcon';
import WaChatIcon from 'assets/images/icons/SideDrawer/WaGroupChat';
import WaCollectionIcon from 'assets/images/icons/SideDrawer/WaGroupCollection';
import WaGroupIcon from 'assets/images/icons/SideDrawer/WhatsAppGroupIcon';
import KnowledgeBaseIcon from 'assets/images/icons/SideDrawer/KnowledgeBaseIcon';
import Assistant from 'assets/images/icons/SideDrawer/Assistant';
import styles from './ListIcon.module.css';
import FiberNewIcon from '@mui/icons-material/FiberNew';
import { Badge } from '@mui/material';
import DiscordIcon from 'assets/images/icons/Discord/DiscordIcon'
import DiscordIcon from 'assets/images/icons/Discord/DiscordIcon';
export interface ListIconProps {
icon: string | undefined;
count?: number;
Expand Down Expand Up @@ -73,9 +72,8 @@ export const ListIcon = ({ icon = '', selected = false, count }: ListIconProps)
waGroupCollection: WaCollectionIcon,
waGroupChat: WaChatIcon,
waGroup: WaGroupIcon,
knowledgeBase: KnowledgeBaseIcon,
assistant: Assistant,
discord:DiscordIcon
discord: DiscordIcon,
};

const iconImage = stringsToIcons[icon] && (
Expand Down
40 changes: 16 additions & 24 deletions src/config/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,14 +230,6 @@ const menus = (): Menu[] => [
icon: 'consulting',
roles: ['Glific_admin'],
},
{
title: 'Knowledge base',
path: '/knowledge-base',
type: 'sideDrawer',
icon: 'knowledgeBase',
roles: allRoles,
show: !getOrganizationServices('llm4devEnabled'),
},
],
},

Expand Down Expand Up @@ -279,22 +271,22 @@ const menus = (): Menu[] => [
roles: staffLevel,
},

// {
// title: "What's new",
// path: '/changelog',
// url: NEW_UI_BLOG,
// icon: 'new',
// type: 'sideDrawer',
// roles: staffLevel,
// },
{
title: "Discord",
path: '/discord',
url: DISCORD_URL,
icon: 'discord',
type: 'sideDrawer',
roles: staffLevel,
},
// {
// title: "What's new",
// path: '/changelog',
// url: NEW_UI_BLOG,
// icon: 'new',
// type: 'sideDrawer',
// roles: staffLevel,
// },
{
title: 'Discord',
path: '/discord',
url: DISCORD_URL,
icon: 'discord',
type: 'sideDrawer',
roles: staffLevel,
},
];

export const getMenus = (menuType = 'sideDrawer', role = 'Staff') =>
Expand Down
177 changes: 0 additions & 177 deletions src/containers/KnowledgeBase/KnowledgeBase.tsx

This file was deleted.

54 changes: 0 additions & 54 deletions src/containers/KnowledgeBase/Knowledgebase.module.css

This file was deleted.

Loading

0 comments on commit fda4ab1

Please sign in to comment.