Skip to content

Commit

Permalink
SF-3180 Update linked url's to specific help site pages
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebuss authored and RaymondLuong3 committed Jan 28, 2025
1 parent f7aada1 commit 811715c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const environment = {
scope: 'sf_data',
siteId: 'sf',
assets: '/assets/',
helps: 'https://help.scriptureforge.org',
helps: 'https://github-action-preview--scriptureforgehelp.netlify.app',
bugsnagApiKey: 'b72a46a8924a3cd161d4c5534287923c',
realtimePort: 0,
realtimeSecurePort: 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const environment = {
scope: 'sf_data',
siteId: 'sf',
assets: '/assets/',
helps: 'https://help.scriptureforge.org',
helps: 'https://github-action-preview--scriptureforgehelp.netlify.app',
bugsnagApiKey: 'b72a46a8924a3cd161d4c5534287923c',
realtimePort: 5003,
realtimeSecurePort: 5005,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ function stubbedI18nService(helpUrlPortion: string): any {
describe('ExternalUrlService', () => {
it('should provide the help URL for English', () => {
const service = new ExternalUrlService(stubbedI18nService(''));
expect(service.helps).toEqual('https://help.scriptureforge.org');
expect(service.helps).toEqual('https://github-action-preview--scriptureforgehelp.netlify.app');
});

it('should provide the localized help URL', () => {
const service = new ExternalUrlService(stubbedI18nService('es'));
expect(service.helps).toEqual('https://help.scriptureforge.org/es');
expect(service.helps).toEqual('https://github-action-preview--scriptureforgehelp.netlify.app/es');
});

it('should provide the manual URL for English', () => {
const service = new ExternalUrlService(stubbedI18nService(''));
expect(service.manual).toEqual('https://help.scriptureforge.org/manual');
expect(service.manual).toEqual('https://github-action-preview--scriptureforgehelp.netlify.app/manual');
});

it('should provide the localized manual URL', () => {
const service = new ExternalUrlService(stubbedI18nService('es'));
expect(service.manual).toEqual('https://help.scriptureforge.org/es/manual');
expect(service.manual).toEqual('https://github-action-preview--scriptureforgehelp.netlify.app/es/manual');
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ export class ExternalUrlService {
}

get transceleratorImportHelpPage(): string {
return this.helps + '/community-checking#1ed2e353d94847a3861ad3a69d531aac';
return this.helps + '/adding-questions#1850d745ac9e8003815fc894b8baaeb7';
}

get csvImportHelpPage(): string {
return this.helps + '/community-checking#42107c9def434bf396442d0004577710';
return this.helps + '/adding-questions#1850d745ac9e8085960dd88b648f0c7a';
}

get chapterAudioHelpPage(): string {
return this.helps + '/community-checking#fd31ef9b6d74417099996e7dadb5068e';
return this.helps + '/adding-questions#1850d745ac9e80e795f3d611356e74d5';
}

get sharingSettingsHelpPage(): string {
return this.helps + '/community-checking#5aa7e3d8451f40cfa6b33c5dd39a3c6f';
return this.helps + '/managing-checkers#1850d745ac9e8097ad4efcb063fc2603';
}

get graphite(): string {
Expand Down

0 comments on commit 811715c

Please sign in to comment.