From 811715c539174bc790b9c9dfdb50d0e0ce0c4c61 Mon Sep 17 00:00:00 2001 From: kylebuss Date: Tue, 28 Jan 2025 10:07:16 -0600 Subject: [PATCH] SF-3180 Update linked url's to specific help site pages --- .../ClientApp/src/environments/environment.staging.ts | 2 +- .../ClientApp/src/environments/environment.ts | 2 +- .../src/xforge-common/external-url.service.spec.ts | 8 ++++---- .../ClientApp/src/xforge-common/external-url.service.ts | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/SIL.XForge.Scripture/ClientApp/src/environments/environment.staging.ts b/src/SIL.XForge.Scripture/ClientApp/src/environments/environment.staging.ts index df4b66b45a..fa846f1113 100644 --- a/src/SIL.XForge.Scripture/ClientApp/src/environments/environment.staging.ts +++ b/src/SIL.XForge.Scripture/ClientApp/src/environments/environment.staging.ts @@ -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, diff --git a/src/SIL.XForge.Scripture/ClientApp/src/environments/environment.ts b/src/SIL.XForge.Scripture/ClientApp/src/environments/environment.ts index cb566a4c2d..7b592e0a55 100644 --- a/src/SIL.XForge.Scripture/ClientApp/src/environments/environment.ts +++ b/src/SIL.XForge.Scripture/ClientApp/src/environments/environment.ts @@ -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, diff --git a/src/SIL.XForge.Scripture/ClientApp/src/xforge-common/external-url.service.spec.ts b/src/SIL.XForge.Scripture/ClientApp/src/xforge-common/external-url.service.spec.ts index b8da8dddeb..75db4db215 100644 --- a/src/SIL.XForge.Scripture/ClientApp/src/xforge-common/external-url.service.spec.ts +++ b/src/SIL.XForge.Scripture/ClientApp/src/xforge-common/external-url.service.spec.ts @@ -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'); }); }); diff --git a/src/SIL.XForge.Scripture/ClientApp/src/xforge-common/external-url.service.ts b/src/SIL.XForge.Scripture/ClientApp/src/xforge-common/external-url.service.ts index 11afcf4744..dc8fbe4a71 100644 --- a/src/SIL.XForge.Scripture/ClientApp/src/xforge-common/external-url.service.ts +++ b/src/SIL.XForge.Scripture/ClientApp/src/xforge-common/external-url.service.ts @@ -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 {