Skip to content

Commit

Permalink
News link icon
Browse files Browse the repository at this point in the history
  • Loading branch information
insmac committed Sep 19, 2023
1 parent 087c249 commit 7dbaa39
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/web-console/src/scenes/Editor/Menu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import {
Chat3,
Close as _CloseIcon,
Command,
Notification2,
Play,
Stop,
} from "styled-icons/remix-line"
Expand All @@ -41,6 +42,7 @@ import { Slack } from "styled-icons/boxicons-logos"

import {
ErrorButton,
IconWithTooltip,
Input,
Link,
PaneMenu,
Expand Down Expand Up @@ -331,6 +333,18 @@ const Menu = () => {
title="Search..."
/>

<IconWithTooltip
icon={
<SecondaryButton
onClick={() => dispatch(actions.console.setActivePanel("news"))}
>
<Notification2 size="18px" />
</SecondaryButton>
}
placement="bottom"
tooltip="QuestDB News"
/>

{sm && (
<SideMenuMenuButton onClick={handleSideMenuButtonClick}>
<CSSTransition
Expand Down

0 comments on commit 7dbaa39

Please sign in to comment.