Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SF-3180 Update linked url's to specific help site pages #2981

Merged
merged 1 commit into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading