This is an automated email from the ASF dual-hosted git repository.
fjy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-druid.git
The following commit(s) were added to refs/heads/master by this push:
new 0b3ede1 Web console: adding Slack channel integration (#8182)
0b3ede1 is described below
commit 0b3ede193e93b95562516ace8d11eb33b22928ac
Author: Vadim Ogievetsky <[email protected]>
AuthorDate: Sun Jul 28 16:17:54 2019 -0700
Web console: adding Slack channel integration (#8182)
* adding slack channel integration
* update snapshots
---
.../header-bar/__snapshots__/header-bar.spec.tsx.snap | 10 ++++++++++
web-console/src/components/header-bar/header-bar.tsx | 7 +++++++
web-console/src/variables.ts | 1 +
3 files changed, 18 insertions(+)
diff --git
a/web-console/src/components/header-bar/__snapshots__/header-bar.spec.tsx.snap
b/web-console/src/components/header-bar/__snapshots__/header-bar.spec.tsx.snap
index ba60e7a..8fffca6 100644
---
a/web-console/src/components/header-bar/__snapshots__/header-bar.spec.tsx.snap
+++
b/web-console/src/components/header-bar/__snapshots__/header-bar.spec.tsx.snap
@@ -256,6 +256,16 @@ exports[`header bar matches snapshot 1`] = `
/>
<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"
icon="git-branch"
multiline={false}
diff --git a/web-console/src/components/header-bar/header-bar.tsx
b/web-console/src/components/header-bar/header-bar.tsx
index 45598dc..c36f27f 100644
--- a/web-console/src/components/header-bar/header-bar.tsx
+++ b/web-console/src/components/header-bar/header-bar.tsx
@@ -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>
);
diff --git a/web-console/src/variables.ts b/web-console/src/variables.ts
index 608e90a..2fa5894 100644
--- a/web-console/src/variables.ts
+++ b/web-console/src/variables.ts
@@ -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/[email protected]';
export const DRUID_DOCS_API =
'https://druid.apache.org/docs/latest/operations/api-reference.html';
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]