diff --git a/src/app/contact/contact-form/contact-form.component.ts b/src/app/contact/contact-form/contact-form.component.ts index 285f0064901..8f37320e0dc 100644 --- a/src/app/contact/contact-form/contact-form.component.ts +++ b/src/app/contact/contact-form/contact-form.component.ts @@ -94,6 +94,7 @@ export class ContactFormComponent implements OnInit { this.setDefaultPublishSummary(); this.setIsPublish(); this.setIssueTypeIfNecessary(); + this.setAuthoringFailedDefaultsIfNecessary(); } private obtainRunIdOrProjectIdIfNecessary(): void { @@ -202,6 +203,15 @@ export class ContactFormComponent implements OnInit { }); } + private setAuthoringFailedDefaultsIfNecessary(): void { + this.route.queryParams.subscribe((params) => { + if (params['authoringFailed']) { + this.setControlFieldValue('issueType', 'PROJECT_PROBLEMS'); + this.setControlFieldValue('summary', $localize`Unit failed to load in the Authoring Tool`); + } + }); + } + async submit(): Promise { this.isError = false; const recaptchaResponse = await this.getRecaptchaResponse(); diff --git a/src/assets/wise5/authoringTool/project-list/project-list.component.html b/src/assets/wise5/authoringTool/project-list/project-list.component.html index 77ba26ef8f8..3cc6b823475 100644 --- a/src/assets/wise5/authoringTool/project-list/project-list.component.html +++ b/src/assets/wise5/authoringTool/project-list/project-list.component.html @@ -11,7 +11,11 @@ - diff --git a/src/messages.xlf b/src/messages.xlf index 2ec1ae93178..694047e0c01 100644 --- a/src/messages.xlf +++ b/src/messages.xlf @@ -339,7 +339,7 @@ src/assets/wise5/directives/dialog-with-close/dialog-with-close.component.html - 11,13 + 12,14 src/assets/wise5/directives/dialog-with-open-in-new-window/dialog-with-open-in-new-window.component.html @@ -1739,7 +1739,7 @@ src/assets/wise5/authoringTool/project-list/project-list.component.html - 46,48 + 50,52 @@ -2509,55 +2509,55 @@ Trouble Signing In src/app/contact/contact-form/contact-form.component.ts - 162 + 163 src/app/contact/contact-form/contact-form.component.ts - 170 + 171 Need Help Using WISE src/app/contact/contact-form/contact-form.component.ts - 163 + 164 src/app/contact/contact-form/contact-form.component.ts - 171 + 172 Problems with a WISE Unit src/app/contact/contact-form/contact-form.component.ts - 164 + 165 src/app/contact/contact-form/contact-form.component.ts - 172 + 173 Feedback to WISE src/app/contact/contact-form/contact-form.component.ts - 165 + 166 src/app/contact/contact-form/contact-form.component.ts - 176 + 177 Other src/app/contact/contact-form/contact-form.component.ts - 166 + 167 src/app/contact/contact-form/contact-form.component.ts - 177 + 178 src/app/domain/profile.constants.ts @@ -2568,7 +2568,7 @@ Student Management src/app/contact/contact-form/contact-form.component.ts - 173 + 174 src/app/help/faq/teacher-faq/teacher-faq.component.html @@ -2583,21 +2583,28 @@ Need Help with Authoring src/app/contact/contact-form/contact-form.component.ts - 174 + 175 Publish Unit src/app/contact/contact-form/contact-form.component.ts - 175 + 176 Publish my unit to the WISE Community Built library src/app/contact/contact-form/contact-form.component.ts - 186 + 187 + + + + Unit failed to load in the Authoring Tool + + src/app/contact/contact-form/contact-form.component.ts + 210 @@ -6096,7 +6103,7 @@ src/assets/wise5/authoringTool/project-list/project-list.component.html - 27,28 + 31,32 src/assets/wise5/themes/default/notebook/edit-notebook-item-dialog/edit-notebook-item-dialog.component.html @@ -6402,7 +6409,7 @@ src/assets/wise5/authoringTool/project-list/project-list.component.html - 36,37 + 40,41 src/assets/wise5/classroomMonitor/dataExport/export-item/export-item.component.html @@ -9143,7 +9150,7 @@ src/assets/wise5/authoringTool/project-list/project-list.component.html - 19,20 + 23,24 @@ -13910,42 +13917,42 @@ The branches will be removed but the steps will remain in the unit. You have no units src/assets/wise5/authoringTool/project-list/project-list.component.html - 48,51 + 52,55 Shared Units src/assets/wise5/authoringTool/project-list/project-list.component.html - 60,62 + 64,66 You have no shared units src/assets/wise5/authoringTool/project-list/project-list.component.html - 62,65 + 66,69 Copying Unit... src/assets/wise5/authoringTool/project-list/project-list.component.ts - 62 + 63 There was an error copying this unit. Please contact WISE staff. src/assets/wise5/authoringTool/project-list/project-list.component.ts - 69 + 70 (Run ID: ) src/assets/wise5/authoringTool/project-list/project-list.component.ts - 84 + 85 @@ -13954,14 +13961,35 @@ The branches will be removed but the steps will remain in the unit. src/assets/wise5/authoringTool/project-list/project-list.component.ts - 86 + 87 Loading Unit... src/assets/wise5/authoringTool/project-list/project-list.component.ts - 109 + 110 + + + + Trouble Loading Unit + + src/assets/wise5/authoringTool/project-list/project-list.component.ts + 134 + + + + The unit is taking longer than expected to load. + + src/assets/wise5/authoringTool/project-list/project-list.component.ts + 135 + + + + Click here to contact WISE staff. + + src/assets/wise5/authoringTool/project-list/project-list.component.ts + 136