Web console: adding Slack channel integration (#8182)

* adding slack channel integration

* update snapshots
This commit is contained in:
Vadim Ogievetsky 2019-07-28 16:17:54 -07:00 committed by Fangjin Yang
parent 8bd0f8c2ac
commit 0b3ede193e
3 changed files with 18 additions and 0 deletions

View File

@ -254,6 +254,16 @@ exports[`header bar matches snapshot 1`] = `
target="_blank"
text="User group"
/>
<Blueprint3.MenuItem
disabled={false}
href="https://druid.apache.org/community/join-slack"
icon="chat"
multiline={false}
popoverProps={Object {}}
shouldDismissPopover={true}
target="_blank"
text="ASF Slack channel"
/>
<Blueprint3.MenuItem
disabled={false}
href="https://github.com/apache/druid"

View File

@ -36,6 +36,7 @@ import { AboutDialog } from '../../dialogs/about-dialog/about-dialog';
import { CoordinatorDynamicConfigDialog } from '../../dialogs/coordinator-dynamic-config-dialog/coordinator-dynamic-config-dialog';
import { OverlordDynamicConfigDialog } from '../../dialogs/overlord-dynamic-config-dialog/overlord-dynamic-config-dialog';
import {
DRUID_ASF_SLACK,
DRUID_DOCS,
DRUID_GITHUB,
DRUID_USER_GROUP,
@ -163,6 +164,12 @@ export class HeaderBar extends React.PureComponent<HeaderBarProps, HeaderBarStat
/>
<MenuItem icon={IconNames.TH} text="Docs" href={DRUID_DOCS} target="_blank" />
<MenuItem icon={IconNames.USER} text="User group" href={DRUID_USER_GROUP} target="_blank" />
<MenuItem
icon={IconNames.CHAT}
text="ASF Slack channel"
href={DRUID_ASF_SLACK}
target="_blank"
/>
<MenuItem icon={IconNames.GIT_BRANCH} text="GitHub" href={DRUID_GITHUB} target="_blank" />
</Menu>
);

View File

@ -26,5 +26,6 @@ export const DRUID_DOCS_SQL = 'https://druid.apache.org/docs/latest/querying/sql
export const DRUID_DOCS_RUNE = 'https://druid.apache.org/docs/latest/querying/querying.html';
export const DRUID_COMMUNITY = 'https://druid.apache.org/community/';
export const DRUID_USER_GROUP = 'https://groups.google.com/forum/#!forum/druid-user';
export const DRUID_ASF_SLACK = 'https://druid.apache.org/community/join-slack';
export const DRUID_DEVELOPER_GROUP = 'https://lists.apache.org/list.html?dev@druid.apache.org';
export const DRUID_DOCS_API = 'https://druid.apache.org/docs/latest/operations/api-reference.html';