Skip to content

Commit a61f0b7

Browse files
authored
[ENG-3657] Link users to new helpscout guides (#1438)
* Link users to new helpscout guides * Route users directly to help.osf.io
1 parent e7c63c8 commit a61f0b7

File tree

3 files changed

+3
-16
lines changed

3 files changed

+3
-16
lines changed

config/environment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ module.exports = function(environment) {
197197
support: {
198198
preregUrl: 'https://cos.io/prereg/',
199199
statusPageUrl: 'https://status.cos.io',
200-
faqPageUrl: 'https://openscience.zendesk.com/hc/en-us/articles/360019737894',
200+
faqPageUrl: 'https://help.osf.io',
201201
supportEmail: 'support@osf.io',
202202
contactEmail: 'contact@osf.io',
203203
consultationUrl: 'https://cos.io/stats_consulting/',
Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
import { tagName } from '@ember-decorators/component';
22
import Component from '@ember/component';
3-
import { computed } from '@ember/object';
43
import { inject as service } from '@ember/service';
54
import config from 'ember-get-config';
65
import Session from 'ember-simple-auth/services/session';
76

87
import { layout } from 'ember-osf-web/decorators/component';
9-
import CurrentUser from 'ember-osf-web/services/current-user';
108

119
import template from './template';
1210

@@ -15,22 +13,11 @@ const osfURL = config.OSF.url;
1513
@layout(template)
1614
@tagName('') // Don't wrap this component in a div
1715
export default class XLinks extends Component {
18-
@service router!: any;
1916
@service session!: Session;
20-
@service currentUser!: CurrentUser;
2117

2218
searchURL = `${osfURL}search/`;
2319
myProjectsURL = `${osfURL}myprojects/`;
2420
myRegistrationsURL = `${osfURL}myprojects/#registrations`;
21+
supportURL = `${config.support.faqPageUrl}`;
2522
onLinkClicked: () => void = () => null;
26-
27-
@computed('onInstitutions', 'router.currentRouteName')
28-
get supportURL() {
29-
return this.onInstitutions ? 'https://openscience.zendesk.com/hc/en-us/categories/360001550913' : 'support';
30-
}
31-
32-
@computed('router.currentRouteName')
33-
get onInstitutions() {
34-
return this.router.currentRouteName === 'institutions';
35-
}
3623
}

lib/registries/config/environment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ module.exports = function(environment) {
4343
urlRegex: '^https?://.*researchregistry\\.com.*$',
4444
}],
4545
externalLinks: {
46-
help: 'https://openscience.zendesk.com/hc/en-us/categories/360001550953',
46+
help: 'https://help.osf.io',
4747
donate: 'https://cos.io/donate',
4848
},
4949
defaultProviderId: 'osf',

0 commit comments

Comments
 (0)