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
[#9584] Change error message for Instructor Course Details Ajax failure #9591
Conversation
Hi @a-deeb, these parts of your pull request do not appear to follow our contributing guidelines:
|
Hi @a-deeb, these parts of your pull request do not appear to follow our contributing guidelines:
|
1 similar comment
Hi @a-deeb, these parts of your pull request do not appear to follow our contributing guidelines:
|
Hi @a-deeb, these parts of your pull request do not appear to follow our contributing guidelines:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May also want to tell them to try reloading. Also there is a pending PR for the snapshot test for this component that might get merged before this is done, so you may want to hold out for that and update the test accordingly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just fix the minor issue. Rest LGTM :)
...ages-instructor/instructor-course-details-page/instructor-course-details-page.component.html
Outdated
Show resolved
Hide resolved
@@ -135,7 +135,7 @@ <h4 class="modal-title">Confirm Deletion</h4> | |||
<div class="modal-body"> | |||
<tm-ajax-preload *ngIf="loading"></tm-ajax-preload> | |||
<div [innerHTML]="convertToHtmlTable(courseStudentListAsCsv)"></div> | |||
<b>{{ isAjaxSuccess ? '' : 'Failed to load. Please reopen modal.' }}</b> | |||
<b>{{ isAjaxSuccess ? '' : 'There was an error loading this file. Please try again.' }}</b> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no "this file" involved here. "Data" is more appropriate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for contributing!
Fixes #9584
PR Checklist
Ensure that you have:
master
andrelease
./gradlew lint
andnpm run lint
Outline of Solution
Changed the error message as Part of #9584
Remove mention of modal in Ajax error message