Thank you for your response.
It takes around 5 minutes to complete.
@@ -65,7 +68,12 @@ class UserFeedback extends Component {
onFeedbackSubmit() {
const { rateValue, commentValue } = this.state;
- trackEvent('Feedback modal', 'Feedback submission', `Feedback comment: ${commentValue}`, rateValue);
+ trackEvent(
+ 'Feedback modal',
+ 'Feedback submission',
+ `Feedback comment: ${commentValue}`,
+ rateValue
+ );
this.setState({
rateValue: 0,
commentValue: null,
@@ -110,10 +118,14 @@ class UserFeedback extends Component {
diff --git a/ui/src/common/components/UserFeedback/__tests__/__snapshots__/UserFeedback.test.jsx.snap b/ui/src/common/components/UserFeedback/__tests__/__snapshots__/UserFeedback.test.jsx.snap
index 09b302bca2..6b9b33cc82 100644
--- a/ui/src/common/components/UserFeedback/__tests__/__snapshots__/UserFeedback.test.jsx.snap
+++ b/ui/src/common/components/UserFeedback/__tests__/__snapshots__/UserFeedback.test.jsx.snap
@@ -169,14 +169,14 @@ exports[`UserFeedback renders when tracker is blocked 1`] = `
feedback form
- or by email at
-
-
- feedback@inspirehep.net
-
+ contact us
+
.
diff --git a/ui/src/common/constants.ts b/ui/src/common/constants.ts
index c306a65553..fdf5e8a93f 100644
--- a/ui/src/common/constants.ts
+++ b/ui/src/common/constants.ts
@@ -4,6 +4,7 @@ export const PUBLISHED_BAR_TYPE = 'published';
export const CITEABLE_BAR_TYPE = 'citeable';
export const POST_DOC_RANK_VALUE = 'POSTDOC';
+export const CONTACT_URL = "https://help.inspirehep.net/knowledge-base/contact-us"
export const RANK_VALUE_TO_DISPLAY = {
SENIOR: 'Senior (permanent)',
JUNIOR: 'Junior (leads to Senior)',
diff --git a/ui/src/common/layouts/Footer/Footer.tsx b/ui/src/common/layouts/Footer/Footer.tsx
index b007b90a9e..54104630e9 100644
--- a/ui/src/common/layouts/Footer/Footer.tsx
+++ b/ui/src/common/layouts/Footer/Footer.tsx
@@ -5,7 +5,6 @@ import { Row, Col } from 'antd';
import './Footer.less';
import {
- FEEDBACK_EMAIL,
INSPIRE_TWITTER_ACCOUNT,
ABOUT_INSPIRE_URL,
CONTENT_POLICY_URL,
@@ -18,6 +17,7 @@ import {
AUTHORLIST_TOOL_URL,
INVENIO_URL,
REPORT_METADATA_URL,
+ CONTACT_URL
} from '../../constants';
import LinkWithTargetBlank from '../../components/LinkWithTargetBlank';
import { BIBLIOGRAPHY_GENERATOR } from '../../routes';
@@ -117,7 +117,7 @@ const COLUMNS = [
},
{
title: 'Contact',
- url: `mailto:${FEEDBACK_EMAIL}`,
+ url: CONTACT_URL,
openExternal: true,
},
],
diff --git a/ui/src/common/layouts/Footer/__tests__/__snapshots__/Footer.test.jsx.snap b/ui/src/common/layouts/Footer/__tests__/__snapshots__/Footer.test.jsx.snap
index e026ff8e58..2ceafe135e 100644
--- a/ui/src/common/layouts/Footer/__tests__/__snapshots__/Footer.test.jsx.snap
+++ b/ui/src/common/layouts/Footer/__tests__/__snapshots__/Footer.test.jsx.snap
@@ -118,7 +118,7 @@ exports[`Footer renders when cataloger 1`] = `
Object {
"openExternal": true,
"title": "Contact",
- "url": "mailto:feedback@inspirehep.net",
+ "url": "https://help.inspirehep.net/knowledge-base/contact-us",
},
],
"title": "Community",
@@ -234,7 +234,7 @@ exports[`Footer renders when not cataloger 1`] = `
Object {
"openExternal": true,
"title": "Contact",
- "url": "mailto:feedback@inspirehep.net",
+ "url": "https://help.inspirehep.net/knowledge-base/contact-us",
},
],
"title": "Community",
diff --git a/ui/src/common/layouts/Header/__tests__/__snapshots__/HeaderMenu.test.jsx.snap b/ui/src/common/layouts/Header/__tests__/__snapshots__/HeaderMenu.test.jsx.snap
index fc945e1871..c9eed0073b 100644
--- a/ui/src/common/layouts/Header/__tests__/__snapshots__/HeaderMenu.test.jsx.snap
+++ b/ui/src/common/layouts/Header/__tests__/__snapshots__/HeaderMenu.test.jsx.snap
@@ -125,12 +125,14 @@ exports[`HeaderMenu renders when logged in 1`] = `
- There is no profile associated to your account. Please contact us at
+ There is no profile associated to your account. Please
- authors@inspirehep.net
+ contact us
}
diff --git a/ui/src/literature/assignNotification.jsx b/ui/src/literature/assignNotification.jsx
index e1a6e931a5..60f317a368 100644
--- a/ui/src/literature/assignNotification.jsx
+++ b/ui/src/literature/assignNotification.jsx
@@ -81,8 +81,14 @@ export function assignLiteratureItemError(key) {
message: 'Assignment Error!',
description: (
- This paper cannot be claimed automatically. Please contact us at{' '}
- authors@inspirehep.net
+ This paper cannot be claimed automatically. Please{' '}
+
+ contact us
+
),
});