diff --git a/src/web/app/components/question-types/question-statistics/contribution-question-statistics/contribution-question-statistics.component.html b/src/web/app/components/question-types/question-statistics/contribution-question-statistics/contribution-question-statistics.component.html index cc3bc702101..b6182c13866 100644 --- a/src/web/app/components/question-types/question-statistics/contribution-question-statistics/contribution-question-statistics.component.html +++ b/src/web/app/components/question-types/question-statistics/contribution-question-statistics/contribution-question-statistics.component.html @@ -51,7 +51,7 @@
- [How do I interpret/use these values?] + [How do I interpret/use these values?]
diff --git a/src/web/app/components/question-types/question-statistics/contribution-question-statistics/contribution-question-statistics.component.ts b/src/web/app/components/question-types/question-statistics/contribution-question-statistics/contribution-question-statistics.component.ts index e6f0defbc51..6c0cd5ec366 100644 --- a/src/web/app/components/question-types/question-statistics/contribution-question-statistics/contribution-question-statistics.component.ts +++ b/src/web/app/components/question-types/question-statistics/contribution-question-statistics/contribution-question-statistics.component.ts @@ -3,6 +3,8 @@ import { NgbModal } from '@ng-bootstrap/ng-bootstrap'; import { ContributionStatistics } from '../../../../../types/api-output'; import { DEFAULT_CONTRIBUTION_QUESTION_DETAILS } from '../../../../../types/default-question-structs'; import { SortBy } from '../../../../../types/sort-properties'; +import { QuestionsSectionQuestions } from '../../../../pages-help/instructor-help-page/instructor-help-questions-section/questions-section-questions'; +import { Sections } from '../../../../pages-help/instructor-help-page/sections'; import { ColumnData, SortableTableCellData } from '../../../sortable-table/sortable-table.component'; import { ContributionQuestionStatisticsCalculation, @@ -21,6 +23,10 @@ import { ContributionComponent } from './contribution.component'; export class ContributionQuestionStatisticsComponent extends ContributionQuestionStatisticsCalculation implements OnInit, OnChanges { + // enum + QuestionsSectionQuestions: typeof QuestionsSectionQuestions = QuestionsSectionQuestions; + Sections: typeof Sections = Sections; + @Input() displayContributionStats: boolean = true; columnsData: ColumnData[] = []; diff --git a/src/web/app/components/session-edit-form/session-edit-form.component.ts b/src/web/app/components/session-edit-form/session-edit-form.component.ts index 67f3beba5bd..4ffb6f2d0fb 100644 --- a/src/web/app/components/session-edit-form/session-edit-form.component.ts +++ b/src/web/app/components/session-edit-form/session-edit-form.component.ts @@ -231,7 +231,7 @@ export class SessionEditFormComponent implements OnInit { * Handles session 'Help' link click event. */ sessionHelpHandler(): void { - this.navigationService.openNewWindow(`${environment.frontendUrl}/web/instructor/help#sessions`); + this.navigationService.openNewWindow(`${environment.frontendUrl}/web/instructor/help?questionId=sessions§ion=sessions`); } /** diff --git a/src/web/app/pages-help/instructor-help-page/instructor-help-courses-section/courses-section-questions.ts b/src/web/app/pages-help/instructor-help-page/instructor-help-courses-section/courses-section-questions.ts new file mode 100644 index 00000000000..d18b32d225c --- /dev/null +++ b/src/web/app/pages-help/instructor-help-page/instructor-help-courses-section/courses-section-questions.ts @@ -0,0 +1,104 @@ +/** + * Unique identifiers for each question in the courses section of instructor help page + */ +export enum CoursesSectionQuestions { + /** + * How do I add students to a course? + */ + COURSE_ADD_STUDENTS = 'course-add-students', + + /** + * Is there a size limit for a course? + */ + SIZE_LIMIT = 'size-limit', + + /** + * What should I do if my course doesn’t have teams? + */ + NO_TEAMS = 'no-teams', + + /** + * What are sections meant for? + */ + SECTIONS = 'sections', + + /** + * How do I enroll students into sections? + */ + ENROLL_SECTIONS = 'enroll-sections', + + /** + * How do I add instructors to my course? + */ + COURSE_ADD_INSTRUCTOR = 'course-add-instructor', + + /** + * How do I edit the information of an instructor in my course? + */ + COURSE_EDIT_INSTRUCTOR = 'course-edit-instructor', + + /** + * How do I set an instructor's access level? + */ + COURSE_INSTRUCTOR_ACCESS = 'course-instructor-access', + + /** + * How do I set custom privileges for an instructor? + */ + PRIVILEGES = 'privileges', + + /** + * How do I view a list of students in a course? + */ + COURSE_VIEW_STUDENTS = 'course-view-students', + + /** + * How do I change a student's section? + */ + CHANGE_SECTION = 'change-section', + + /** + * What should I do if a student says his/her courses have disappeared from the system? + */ + DISAPPEARED_COURSE = 'disappeared-course', + + /** + * How do I delete students from a course? + */ + DEL_STUDENTS = 'del-students', + + /** + * How do I archive a course? + */ + COURSE_ARCHIVE = 'course-archive', + + /** + * How do I view courses I have archived? + */ + COURSE_VIEW_ARCHIVED = 'course-view-archived', + + /** + * How do I unarchive an archived course? + */ + COURSE_UNARCHIVE = 'course-unarchive', + + /** + * How do I view courses I have deleted? + */ + COURSE_VIEW_DELETED = 'course-view-deleted', + + /** + * How do I restore a deleted course? + */ + COURSE_RESTORE = 'course-restore', + + /** + * How do I permanently delete a course? + */ + PERM_DEL = 'perm-del', + + /** + * How do I restore/delete all courses from Recycle Bin? + */ + RESTORE_ALL = 'restore-all', +} diff --git a/src/web/app/pages-help/instructor-help-page/instructor-help-courses-section/instructor-help-courses-section.component.html b/src/web/app/pages-help/instructor-help-page/instructor-help-courses-section/instructor-help-courses-section.component.html index 847ed041ad8..f2a7fc4fcfa 100644 --- a/src/web/app/pages-help/instructor-help-page/instructor-help-courses-section/instructor-help-courses-section.component.html +++ b/src/web/app/pages-help/instructor-help-page/instructor-help-courses-section/instructor-help-courses-section.component.html @@ -3,13 +3,13 @@

Enrolling Students in Courses

-
+

-

-
+

@@ -30,14 +30,14 @@

Enrolling Students in Courses<

-

-
+

- No. However, if courses with an enrollment of more than 100 students need to be divided into sections.
+ No. However, if courses with an enrollment of more than 100 students need to be divided into sections.
TEAMMATES uses section information to organize the results of your sessions into a downloadable report.

@@ -48,11 +48,11 @@

Enrolling Students in Courses<

-

-
+

@@ -67,11 +67,11 @@

Enrolling Students in Courses<

-

-
+

@@ -89,13 +89,13 @@

Enrolling Students in Courses<

-
+

-

-
+

@@ -110,13 +110,13 @@

Enrolling Students in Courses<

Adding Instructors to Courses

-
+

-

-
+

@@ -143,13 +143,13 @@

Adding Instructors to Courses<

-
+

-

-
+

@@ -179,17 +179,17 @@

Adding Instructors to Courses<

-
+

-

-
+

- When adding an instructor or editing an instructor's information, you can set the instructor's access level. + When adding an instructor or editing an instructor's information, you can set the instructor's access level. There are 4 pre-defined privilege options for you to choose from:

    @@ -218,11 +218,11 @@

    Adding Instructors to Courses<

    -

    -
    +

    @@ -242,13 +242,13 @@

    Adding Instructors to Courses<

    Managing Courses

    -
    +

    -

    -
    +

    @@ -274,11 +274,11 @@

    Managing Courses

    -

    -
    +

    @@ -292,7 +292,7 @@

    Managing Courses

    Click the button in the last column of the row corresponding to Student A.
  • - A new page will open that allows you to edit the student's profile, including a field to edit the student's section.
    + A new page will open that allows you to , including a field to edit the student's section.
  • After editing the section name, click to confirm Student A's new section. @@ -306,11 +306,11 @@

    Managing Courses

    -

    -
    +

    @@ -325,11 +325,11 @@

    Managing Courses

    -

    -
    +

    @@ -337,7 +337,7 @@

    Managing Courses

    1. - View the student list of Course B. + View the student list of Course B.
    2. In the row corresponding to Student A, click the button. @@ -354,13 +354,13 @@

      Managing Courses

      Archiving Courses

      -
      +

      -

      -
      +

      @@ -381,13 +381,13 @@

      Archiving Courses

      -
      +

      -

      -
      +

      @@ -396,7 +396,7 @@

      Archiving Courses

      The courses you have previously archived are listed here. - In order to access information in an archived course, unarchive the course. + In order to access information in an archived course, unarchive the course.

      @@ -404,17 +404,17 @@

      Archiving Courses

      -
      +

      -

      -
      +

      - To unarchive a course, first view the course that you would like to unarchive in the Courses page.
      + To unarchive a course, first view the course that you would like to unarchive in the Courses page.
      Then, click on the button corresponding to the course you want to unarchive.

      @@ -425,13 +425,13 @@

      Archiving Courses

      Restoring Deleted Courses

      -
      +

      -

      -
      +

      @@ -440,7 +440,7 @@

      Restoring Deleted Courses

      The courses you have previously deleted are listed here. - In order to access information in a deleted course, restore the course. + In order to access information in a deleted course, restore the course.

      @@ -448,17 +448,17 @@

      Restoring Deleted Courses

      -
      +

      -

      -
      +

      - To restore a deleted course, first view the course that you would like to restore in the Courses page.
      + To restore a deleted course, first view the course that you would like to restore in the Courses page.
      Then, click on the button corresponding to the course you want to restore.

      @@ -472,15 +472,15 @@

      Restoring Deleted Courses

      -

      -
      +

      - To permanently delete a course, first view the course that you would like to permanently delete in the Courses page.
      + To permanently delete a course, first view the course that you would like to permanently delete in the Courses page.
      Then, click on the button corresponding to the course you want to delete.

      @@ -494,15 +494,15 @@

      Restoring Deleted Courses

      -

      -
      +

      - First view the course and check for courses in Recycle Bin.
      + First view the course and check for courses in Recycle Bin.
      To restore all courses, click on the Restore All button in Deleted courses heading; to delete all courses, click on the Delete All button in Deleted courses heading.

      diff --git a/src/web/app/pages-help/instructor-help-page/instructor-help-courses-section/instructor-help-courses-section.component.ts b/src/web/app/pages-help/instructor-help-page/instructor-help-courses-section/instructor-help-courses-section.component.ts index e7d1c27a183..70eecd69403 100644 --- a/src/web/app/pages-help/instructor-help-page/instructor-help-courses-section/instructor-help-courses-section.component.ts +++ b/src/web/app/pages-help/instructor-help-page/instructor-help-courses-section/instructor-help-courses-section.component.ts @@ -4,6 +4,9 @@ import { PageScrollService } from 'ngx-page-scroll-core'; import { environment } from '../../../../environments/environment'; import { collapseAnim } from '../../../components/teammates-common/collapse-anim'; import { InstructorHelpSectionComponent } from '../instructor-help-section.component'; +import { StudentsSectionQuestions } from '../instructor-help-students-section/students-section-questions'; +import { Sections } from '../sections'; +import { CoursesSectionQuestions } from './courses-section-questions'; /** * Courses section of the Instructor Help Page @@ -16,29 +19,37 @@ import { InstructorHelpSectionComponent } from '../instructor-help-section.compo }) export class InstructorHelpCoursesSectionComponent extends InstructorHelpSectionComponent implements OnInit { + // enum + StudentsSectionQuestions: typeof StudentsSectionQuestions = StudentsSectionQuestions; + CoursesSectionQuestions: typeof CoursesSectionQuestions = CoursesSectionQuestions; + Sections: typeof Sections = Sections; + readonly supportEmail: string = environment.supportEmail; - isAddStudentsCollapsed: boolean = false; - isSizeLimitCollapsed: boolean = false; - isNoTeamsCollapsed: boolean = false; - isSectionsCollapsed: boolean = false; - isEnrollSectionsCollapsed: boolean = false; - isAddInstructorCollapsed: boolean = false; - isEditInstructorCollapsed: boolean = false; - isInstructorAccessCollapsed: boolean = false; - isPrivilegesCollapsed: boolean = false; - isViewStudentsCollapsed: boolean = false; - isChangeSectionCollapsed: boolean = false; - isDisappearedCourseCollapsed: boolean = false; - isDelStudentsCollapsed: boolean = false; - isArchiveCourseCollapsed: boolean = false; - isViewArchivedCollapsed: boolean = false; - isCourseUnarchiveCollapsed: boolean = false; - isViewDelCollapsed: boolean = false; - isRestoreCollapsed: boolean = false; - isDelCollapsed: boolean = false; - isRestoreAllCollapsed: boolean = false; - @Output() collapseStudentEditDetails: EventEmitter = new EventEmitter(); + questionsToCollapsed: Record = { + [CoursesSectionQuestions.COURSE_ADD_STUDENTS]: false, + [CoursesSectionQuestions.SIZE_LIMIT]: false, + [CoursesSectionQuestions.NO_TEAMS]: false, + [CoursesSectionQuestions.SECTIONS]: false, + [CoursesSectionQuestions.ENROLL_SECTIONS]: false, + [CoursesSectionQuestions.COURSE_ADD_INSTRUCTOR]: false, + [CoursesSectionQuestions.COURSE_EDIT_INSTRUCTOR]: false, + [CoursesSectionQuestions.COURSE_INSTRUCTOR_ACCESS]: false, + [CoursesSectionQuestions.PRIVILEGES]: false, + [CoursesSectionQuestions.COURSE_VIEW_STUDENTS]: false, + [CoursesSectionQuestions.CHANGE_SECTION]: false, + [CoursesSectionQuestions.DISAPPEARED_COURSE]: false, + [CoursesSectionQuestions.DEL_STUDENTS]: false, + [CoursesSectionQuestions.COURSE_ARCHIVE]: false, + [CoursesSectionQuestions.COURSE_VIEW_ARCHIVED]: false, + [CoursesSectionQuestions.COURSE_UNARCHIVE]: false, + [CoursesSectionQuestions.COURSE_VIEW_DELETED]: false, + [CoursesSectionQuestions.COURSE_RESTORE]: false, + [CoursesSectionQuestions.PERM_DEL]: false, + [CoursesSectionQuestions.RESTORE_ALL]: false, + }; + + @Output() collapseStudentEditDetails: EventEmitter = new EventEmitter(); constructor(private pageScrollService: PageScrollService, @Inject(DOCUMENT) private document: any) { @@ -57,9 +68,10 @@ export class InstructorHelpCoursesSectionComponent extends InstructorHelpSection scrollTarget: `#${target}`, scrollOffset: 70, }); - if (target === 'student-edit-details') { - this.collapseStudentEditDetails.emit(true); - } return false; } + + expand(questionId: string): void { + this.questionsToCollapsed[questionId] = true; + } } diff --git a/src/web/app/pages-help/instructor-help-page/instructor-help-getting-started/instructor-help-getting-started.component.html b/src/web/app/pages-help/instructor-help-page/instructor-help-getting-started/instructor-help-getting-started.component.html index 5dd1e368af6..61597ebe33f 100644 --- a/src/web/app/pages-help/instructor-help-page/instructor-help-getting-started/instructor-help-getting-started.component.html +++ b/src/web/app/pages-help/instructor-help-page/instructor-help-getting-started/instructor-help-getting-started.component.html @@ -33,15 +33,15 @@

      1. Set up a course

    3. - Enroll students in the course
      + Enroll students in the course
      Go to the Courses page and click the button of the corresponding course.
      Students can be enrolled into teams (e.g. project groups) and sections (e.g. tutorial classes, lecture groups) to facilitate giving feedback in and among these smaller groups.
      TEAMMATES will not automatically notify students that they have been enrolled. However, if you would like students to access TEAMMATES sooner (e.g. if you would like them to fill in their profile page in advance), click the button of the course in the Courses page. Then, click button, which will send them instructions to access TEAMMATES immediately.
    4. - Add instructors to the course
      + Add instructors to the course
      From the Courses page, click the button of the course you would like to add instructors to. You will be directed to the Edit Course page where you can add a new instructor to your course. - You can specify the access level of any instructor you add to a course. For more information about how to add an instructor to your course, click here. + You can specify the access level of any instructor you add to a course. For more information about how to add an instructor to your course, click here.
    @@ -74,12 +74,12 @@

    2. Create a session

  • - Add questions to your session to suit your needs.
    + Add questions to your session to suit your needs.
    For each question, you can set the following:
    • - Question type: the style of question being asked. Choose from our 10 different question types. + Question type: the style of question being asked. Choose from our 10 different question types.
    • Question feedback path: the feedback giver and feedback recipient @@ -90,7 +90,7 @@

      2. Create a session

  • Preview your session
    - After you have finished setting up your session, preview the session as a student or another instructor. + After you have finished setting up your session, preview the session as a student or another instructor.
  • @@ -139,19 +139,19 @@

    4. View and publish session results

    • - View responses: see what respondents have answered, even if the session is still ongoing. Go to the Sessions page and click the corresponding button. + View responses: see what respondents have answered, even if the session is still ongoing. Go to the Sessions page and click the corresponding button.
    • Moderate responses: edit inappropriate responses from respondents before publishing the responses.
    • - Add comments to responses: reply to respondents' answers, or add your own notes on a response. You can make your comment visible to other instructors, the response giver, and/or the response giver's team. + Add comments to responses: reply to respondents' answers, or add your own notes on a response. You can make your comment visible to other instructors, the response giver, and/or the response giver's team.
    • Remind students to submit responses: TEAMMATES automatically sends reminders to students; however, you can also manually send reminder emails to students at any time while a session is open. Click the button of the session from the Home or Sessions page.
    • - Submit responses for students: if a student has missed the closing time of the session, or is unable to submit the evaluation due to technical problems, you can submit the student's responses on his/her behalf. + Submit responses for students: if a student has missed the closing time of the session, or is unable to submit the evaluation due to technical problems, you can submit the student's responses on his/her behalf.

    @@ -179,19 +179,19 @@

    5. Learn about other actions you can perform

    diff --git a/src/web/app/pages-help/instructor-help-page/instructor-help-getting-started/instructor-help-getting-started.component.ts b/src/web/app/pages-help/instructor-help-page/instructor-help-getting-started/instructor-help-getting-started.component.ts index 6cd4a921b3d..a83536415aa 100644 --- a/src/web/app/pages-help/instructor-help-page/instructor-help-getting-started/instructor-help-getting-started.component.ts +++ b/src/web/app/pages-help/instructor-help-page/instructor-help-getting-started/instructor-help-getting-started.component.ts @@ -1,6 +1,11 @@ import { Component, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { environment } from '../../../../environments/environment'; +import { CoursesSectionQuestions } from '../instructor-help-courses-section/courses-section-questions'; +import { QuestionsSectionQuestions } from '../instructor-help-questions-section/questions-section-questions'; +import { SessionsSectionQuestions } from '../instructor-help-sessions-section/sessions-section-questions'; +import { StudentsSectionQuestions } from '../instructor-help-students-section/students-section-questions'; +import { Sections } from '../sections'; /** * Getting Started Section for Instructors @@ -11,6 +16,14 @@ import { environment } from '../../../../environments/environment'; styleUrls: ['./instructor-help-getting-started.component.scss'], }) export class InstructorHelpGettingStartedComponent implements OnInit { + + // enum + StudentsSectionQuestions: typeof StudentsSectionQuestions = StudentsSectionQuestions; + CoursesSectionQuestions: typeof CoursesSectionQuestions = CoursesSectionQuestions; + SessionsSectionQuestions: typeof SessionsSectionQuestions = SessionsSectionQuestions; + QuestionsSectionQuestions: typeof QuestionsSectionQuestions = QuestionsSectionQuestions; + Sections: typeof Sections = Sections; + readonly supportEmail: string = environment.supportEmail; instructorHelpPath: string = ''; diff --git a/src/web/app/pages-help/instructor-help-page/instructor-help-page.component.html b/src/web/app/pages-help/instructor-help-page/instructor-help-page.component.html index d02f94e8442..3f946734c73 100644 --- a/src/web/app/pages-help/instructor-help-page/instructor-help-page.component.html +++ b/src/web/app/pages-help/instructor-help-page/instructor-help-page.component.html @@ -21,19 +21,19 @@

    Help for Instructors

    - +
    - +
    - +
    - +
    diff --git a/src/web/app/pages-help/instructor-help-page/instructor-help-page.component.spec.ts b/src/web/app/pages-help/instructor-help-page/instructor-help-page.component.spec.ts index 3c31cf567b7..4724043046e 100644 --- a/src/web/app/pages-help/instructor-help-page/instructor-help-page.component.spec.ts +++ b/src/web/app/pages-help/instructor-help-page/instructor-help-page.component.spec.ts @@ -1,29 +1,11 @@ +import { HttpClientTestingModule } from '@angular/common/http/testing'; import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { FormsModule } from '@angular/forms'; import { RouterTestingModule } from '@angular/router/testing'; import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; +import { NgxPageScrollCoreModule } from 'ngx-page-scroll-core'; import { InstructorHelpPageComponent } from './instructor-help-page.component'; - -import { Component, Input } from '@angular/core'; - -@Component({ selector: 'tm-instructor-help-students-section', template: '' }) -class InstructorHelpStudentsSectionStubComponent { - @Input() key: string = ''; - @Input() isEditDetailsCollapsed: boolean = false; -} -@Component({ selector: 'tm-instructor-help-courses-section', template: '' }) -class InstructorHelpCoursesSectionStubComponent { - @Input() key: string = ''; -} -@Component({ selector: 'tm-instructor-help-sessions-section', template: '' }) -class InstructorHelpSessionsSectionStubComponent { - @Input() key: string = ''; - @Input() isPeerEvalTipsCollapsed: boolean = false; -} -@Component({ selector: 'tm-instructor-help-questions-section', template: '' }) -class InstructorHelpQuestionsSectionStubComponent { - @Input() key: string = ''; -} +import { InstructorHelpPageModule } from './instructor-help-page.module'; describe('InstructorHelpPageComponent', () => { let component: InstructorHelpPageComponent; @@ -31,10 +13,13 @@ describe('InstructorHelpPageComponent', () => { beforeEach(async(() => { TestBed.configureTestingModule({ - declarations: [InstructorHelpPageComponent, InstructorHelpCoursesSectionStubComponent, - InstructorHelpStudentsSectionStubComponent, InstructorHelpSessionsSectionStubComponent, - InstructorHelpQuestionsSectionStubComponent], - imports: [FormsModule, NgbModule, RouterTestingModule], + imports: [ + FormsModule, + NgbModule, + RouterTestingModule, + InstructorHelpPageModule, + NgxPageScrollCoreModule, + HttpClientTestingModule], }) .compileComponents(); })); diff --git a/src/web/app/pages-help/instructor-help-page/instructor-help-page.component.ts b/src/web/app/pages-help/instructor-help-page/instructor-help-page.component.ts index d5dc6194d64..3562895d267 100644 --- a/src/web/app/pages-help/instructor-help-page/instructor-help-page.component.ts +++ b/src/web/app/pages-help/instructor-help-page/instructor-help-page.component.ts @@ -1,6 +1,14 @@ -import { AfterViewInit, Component, ElementRef, OnInit, ViewChild } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; +import { DOCUMENT } from '@angular/common'; +import { AfterViewInit, Component, ElementRef, EventEmitter, Inject, OnInit, ViewChild } from '@angular/core'; +import { ActivatedRoute, Params } from '@angular/router'; +import { PageScrollService } from 'ngx-page-scroll-core'; import { environment } from '../../../environments/environment'; +import { InstructorHelpCoursesSectionComponent } from './instructor-help-courses-section/instructor-help-courses-section.component'; +import { InstructorHelpQuestionsSectionComponent } from './instructor-help-questions-section/instructor-help-questions-section.component'; +import { InstructorHelpSessionsSectionComponent } from './instructor-help-sessions-section/instructor-help-sessions-section.component'; +import { SessionsSectionQuestions } from './instructor-help-sessions-section/sessions-section-questions'; +import { InstructorHelpStudentsSectionComponent } from './instructor-help-students-section/instructor-help-students-section.component'; +import { StudentsSectionQuestions } from './instructor-help-students-section/students-section-questions'; import { Sections } from './sections'; /** @@ -17,22 +25,47 @@ export class InstructorHelpPageComponent implements OnInit, AfterViewInit { readonly supportEmail: string = environment.supportEmail; searchTerm: String = ''; key: String = ''; - isEditDetailsCollapsed: boolean = false; - isPeerEvalTipsCollapsed: boolean = false; + + scrollFinishEvent: EventEmitter = new EventEmitter(); + questionIdToExpand: string = ''; + section: string = ''; @ViewChild('helpPage') bodyRef ?: ElementRef; + @ViewChild('studentsHelpSection') studentsHelpSection?: InstructorHelpStudentsSectionComponent; + @ViewChild('coursesHelpSection') coursesHelpSection?: InstructorHelpCoursesSectionComponent; + @ViewChild('sessionsHelpSection') sessionsHelpSection?: InstructorHelpSessionsSectionComponent; + @ViewChild('questionsHelpSection') questionsHelpSection?: InstructorHelpQuestionsSectionComponent; - constructor(private route: ActivatedRoute) { } + constructor(private route: ActivatedRoute, + private pageScrollService: PageScrollService, + @Inject(DOCUMENT) private document: Document) { } ngOnInit(): void { + this.scrollFinishEvent.subscribe(() => this.expandQuestionTab()); } ngAfterViewInit(): void { - this.route.fragment.subscribe((f: string) => { - this.scroll(f); + this.route.queryParams.subscribe((queryParam: Params) => { + if (queryParam.questionId && queryParam.section) { + this.questionIdToExpand = queryParam.questionId; + this.section = queryParam.section; + this.scrollTo(queryParam.questionId); + } }); } + expandQuestionTab(): void { + if (this.section === Sections.students && this.studentsHelpSection) { + this.studentsHelpSection.expand(this.questionIdToExpand); + } else if (this.section === Sections.courses && this.coursesHelpSection) { + this.coursesHelpSection.expand(this.questionIdToExpand); + } else if (this.section === Sections.sessions && this.sessionsHelpSection) { + this.sessionsHelpSection.expand(this.questionIdToExpand); + } else if (this.section === Sections.questions && this.questionsHelpSection) { + this.questionsHelpSection.expand(this.questionIdToExpand); + } + } + /** * Filters the help contents and displays only those that matches the filter. */ @@ -58,6 +91,16 @@ export class InstructorHelpPageComponent implements OnInit, AfterViewInit { } } + scrollTo(target: string, timeout?: number): void { + setTimeout(() => this.pageScrollService.scroll({ + document: this.document, + duration: 500, + scrollTarget: `#${target}`, + scrollOffset: 70, + scrollFinishListener: this.scrollFinishEvent, + }), timeout ? timeout : 500); + } + /** * Clears the filter used for search. */ @@ -69,16 +112,19 @@ export class InstructorHelpPageComponent implements OnInit, AfterViewInit { /** * Collapses question card on student edit details in Students section. */ - collapseStudentEditDetails(event: boolean): void { - this.isEditDetailsCollapsed = event; - this.isEditDetailsCollapsed = Object.assign({}, this.isEditDetailsCollapsed); + collapseStudentEditDetails(): void { + this.questionIdToExpand = StudentsSectionQuestions.STUDENT_EDIT_DETAILS; + this.section = Sections.students; + this.scrollTo(StudentsSectionQuestions.STUDENT_EDIT_DETAILS, 100); } /** * Collapses question card on peer evaluation tips in Sessions section. */ - collapsePeerEvalTips(event: boolean): void { - this.isPeerEvalTipsCollapsed = event; - this.isPeerEvalTipsCollapsed = Object.assign({}, this.isPeerEvalTipsCollapsed); + collapsePeerEvalTips(): void { + this.questionIdToExpand = SessionsSectionQuestions.TIPS_FOR_CONDUCTION_PEER_EVAL; + this.section = Sections.sessions; + this.scrollTo(SessionsSectionQuestions.TIPS_FOR_CONDUCTION_PEER_EVAL, 100); } + } diff --git a/src/web/app/pages-help/instructor-help-page/instructor-help-questions-section/instructor-help-questions-section.component.html b/src/web/app/pages-help/instructor-help-page/instructor-help-questions-section/instructor-help-questions-section.component.html index 2e13d99e51c..6174df51cb4 100644 --- a/src/web/app/pages-help/instructor-help-page/instructor-help-questions-section/instructor-help-questions-section.component.html +++ b/src/web/app/pages-help/instructor-help-page/instructor-help-questions-section/instructor-help-questions-section.component.html @@ -3,13 +3,13 @@

    Setting Up Questions

    -
    +

    -

    -
    +

    @@ -40,13 +40,13 @@

    Setting Up Questions

    -
    +

    -

    -
    +

    @@ -109,17 +109,17 @@

    Setting Up Questions

    -

    -
    +

    Multiple-choice (multiple answers) question are similar to the single answer version, except that respondents are able to select multiple options as their response.
    The setup and result statistics is similar to the single answer version. See - above for details. + above for details.

    Note: Multiple-choice (multiple answers) question allow respondents to select 'None of the above' option as an answer, @@ -134,11 +134,11 @@

    Setting Up Questions

    -

    -
    +

    @@ -193,11 +193,11 @@

    Setting Up Questions

    -

    -
    +

    @@ -251,11 +251,11 @@

    Setting Up Questions

    -

    -
    +

    @@ -292,13 +292,13 @@

    Setting Up Questions

    -
    +

    -

    -
    +

    @@ -529,7 +529,7 @@

    Setting Up Questions

    The ratings in a contribution question can be used to identify relative contribution levels of students in a team. If you use these values for grading, also refer the ‘Interpret contribution numbers with care’ caveat in the - tips for conducting 'team peer evaluation' sessions section. + section.

    The actual contribution values entered by the student may appear different from the values shown in the results because the system ‘normalizes’ those values so that there is no artificial inflation of contribution. @@ -554,11 +554,11 @@

    Setting Up Questions

    -

    -
    +

    @@ -653,11 +653,11 @@

    Setting Up Questions

    -

    -
    +

    @@ -699,11 +699,11 @@

    Setting Up Questions

    -

    -
    +

    diff --git a/src/web/app/pages-help/instructor-help-page/instructor-help-questions-section/instructor-help-questions-section.component.ts b/src/web/app/pages-help/instructor-help-page/instructor-help-questions-section/instructor-help-questions-section.component.ts index 9671ddd8bdf..39ffb067979 100644 --- a/src/web/app/pages-help/instructor-help-page/instructor-help-questions-section/instructor-help-questions-section.component.ts +++ b/src/web/app/pages-help/instructor-help-page/instructor-help-questions-section/instructor-help-questions-section.component.ts @@ -14,17 +14,13 @@ import { QuestionEditFormMode, QuestionEditFormModel, } from '../../../components/question-edit-form/question-edit-form-model'; -import { QuestionSubmissionFormModel, -} from '../../../components/question-submission-form/question-submission-form-model'; +import { QuestionSubmissionFormModel } from '../../../components/question-submission-form/question-submission-form-model'; import { Response } from '../../../components/question-types/question-statistics/question-statistics'; import { collapseAnim } from '../../../components/teammates-common/collapse-anim'; -import { - QuestionTabModel, -} from '../../../pages-instructor/instructor-session-result-page/instructor-session-result-page.component'; -import { - InstructorSessionResultSectionType, -} from '../../../pages-instructor/instructor-session-result-page/instructor-session-result-section-type.enum'; +import { QuestionTabModel } from '../../../pages-instructor/instructor-session-result-page/instructor-session-result-page.component'; +import { InstructorSessionResultSectionType } from '../../../pages-instructor/instructor-session-result-page/instructor-session-result-section-type.enum'; import { InstructorHelpSectionComponent } from '../instructor-help-section.component'; +import { SessionsSectionQuestions } from '../instructor-help-sessions-section/sessions-section-questions'; import { EXAMPLE_CONTRIBUTION_STATISTICS, EXAMPLE_DISTRIBUTED_POINT_OPTION_MODEL, @@ -58,6 +54,7 @@ import { EXAMPLE_TEAM_CONTRIBUTION_QUESTION_TAB_MODEL, EXAMPLE_TEAM_CONTRIBUTION_RESPONSE_OUTPUT, } from './instructor-help-questions-data'; +import { QuestionsSectionQuestions } from './questions-section-questions'; /** * Questions Section of the Instructor Help Page. @@ -71,6 +68,8 @@ import { export class InstructorHelpQuestionsSectionComponent extends InstructorHelpSectionComponent implements OnInit { // enum + QuestionsSectionQuestions: typeof QuestionsSectionQuestions = QuestionsSectionQuestions; + SessionsSectionQuestions: typeof SessionsSectionQuestions = SessionsSectionQuestions; InstructorSessionResultSectionType: typeof InstructorSessionResultSectionType = InstructorSessionResultSectionType; QuestionEditFormMode: typeof QuestionEditFormMode = QuestionEditFormMode; @@ -113,17 +112,20 @@ export class InstructorHelpQuestionsSectionComponent extends InstructorHelpSecti readonly exampleResponderRubricSubmissionFormModel: QuestionSubmissionFormModel = EXAMPLE_RESPONDER_RUBRIC_SUBMISSION_FORM_MODEL; - isEssayQuestionsCollapsed: boolean = false; - isMCQSingleAnsCollapsed: boolean = false; - isMCQMultipleAnsCollapsed: boolean = false; - isNumericalScaleCollapsed: boolean = false; - isPointsOptionsCollapsed: boolean = false; - isPointsRecipientsCollapsed: boolean = false; - isContributionQsCollapsed: boolean = false; - isRubricQsCollapsed: boolean = false; - isRankOptionsCollapsed: boolean = false; - isRankRecipientsCollapsed: boolean = false; - @Output() collapsePeerEvalTips: EventEmitter = new EventEmitter(); + questionsToCollapsed: Record = { + [QuestionsSectionQuestions.ESSAY]: false, + [QuestionsSectionQuestions.SINGLE_ANSWER_MCQ]: false, + [QuestionsSectionQuestions.MULTIPLE_ANSWER_MCQ]: false, + [QuestionsSectionQuestions.NUMERICAL_SCALE]: false, + [QuestionsSectionQuestions.POINTS_OPTIONS]: false, + [QuestionsSectionQuestions.POINTS_RECIPIENTS]: false, + [QuestionsSectionQuestions.CONTRIBUTION]: false, + [QuestionsSectionQuestions.RUBRIC]: false, + [QuestionsSectionQuestions.RANK_OPTIONS]: false, + [QuestionsSectionQuestions.RANK_RECIPIENTS]: false, + }; + + @Output() collapsePeerEvalTips: EventEmitter = new EventEmitter(); constructor(private modalService: NgbModal, private pageScrollService: PageScrollService, @@ -150,9 +152,10 @@ export class InstructorHelpQuestionsSectionComponent extends InstructorHelpSecti scrollTarget: `#${target}`, scrollOffset: 70, }); - if (target === 'tips-for-conducting-peer-eval') { - this.collapsePeerEvalTips.emit(true); - } return false; } + + expand(questionId: string): void { + this.questionsToCollapsed[questionId] = true; + } } diff --git a/src/web/app/pages-help/instructor-help-page/instructor-help-questions-section/questions-section-questions.ts b/src/web/app/pages-help/instructor-help-page/instructor-help-questions-section/questions-section-questions.ts new file mode 100644 index 00000000000..99e779dcf49 --- /dev/null +++ b/src/web/app/pages-help/instructor-help-page/instructor-help-questions-section/questions-section-questions.ts @@ -0,0 +1,54 @@ +/** + * Unique identifiers for each question in the questions section of instructor help page + */ +export enum QuestionsSectionQuestions { + /** + * Essay Questions + */ + ESSAY = 'essay-questions', + + /** + * Multiple Choice (Single Answer) Questions + */ + SINGLE_ANSWER_MCQ = 'single-answer-mcq', + + /** + * Multiple Choice (Multiple Answers) Questions + */ + MULTIPLE_ANSWER_MCQ = 'multiple-answer-mcq', + + /** + * Numerical Scale Questions + */ + NUMERICAL_SCALE = 'numerical-scale', + + /** + * Distribute Points (Among Options) Questions + */ + POINTS_OPTIONS = 'points-options', + + /** + * Distribute Points (Among Recipients) Questions + */ + POINTS_RECIPIENTS = 'points-recipients', + + /** + * Team Contribution Questions + */ + CONTRIBUTION = 'contribution', + + /** + * Rubric Questions + */ + RUBRIC = 'rubric', + + /** + * Rank (Options) Questions + */ + RANK_OPTIONS = 'rank-options', + + /** + * Rank (Recipients) Questions + */ + RANK_RECIPIENTS = 'rank-recipients', +} diff --git a/src/web/app/pages-help/instructor-help-page/instructor-help-section.component.ts b/src/web/app/pages-help/instructor-help-page/instructor-help-section.component.ts index ad31debe2ba..e7428f4e3c1 100644 --- a/src/web/app/pages-help/instructor-help-page/instructor-help-section.component.ts +++ b/src/web/app/pages-help/instructor-help-page/instructor-help-section.component.ts @@ -11,7 +11,7 @@ interface QuestionDetail { /** * Base section for instructor help page. */ -export class InstructorHelpSectionComponent implements OnInit, OnChanges, AfterViewInit { +export abstract class InstructorHelpSectionComponent implements OnInit, OnChanges, AfterViewInit { @Input() key: String; @ViewChildren('question') questionHTML !: QueryList; @@ -20,7 +20,7 @@ export class InstructorHelpSectionComponent implements OnInit, OnChanges, AfterV searchedTerms: number; questionDetails: QuestionDetail[]; - constructor() { + protected constructor() { this.key = ''; this.showQuestion = []; this.searchedTerms = -1; @@ -109,4 +109,6 @@ export class InstructorHelpSectionComponent implements OnInit, OnChanges, AfterV return questionsToDisplay.length === 0 || questionsToDisplay.slice(firstPoint, lastPoint) .reduce((x: any, y: any) => x || y, false); } + + abstract expand(questionId: string): void; } diff --git a/src/web/app/pages-help/instructor-help-page/instructor-help-sessions-section/instructor-help-sessions-section.component.html b/src/web/app/pages-help/instructor-help-page/instructor-help-sessions-section/instructor-help-sessions-section.component.html index cfcbfe93df8..c8e7b2a6700 100644 --- a/src/web/app/pages-help/instructor-help-page/instructor-help-sessions-section/instructor-help-sessions-section.component.html +++ b/src/web/app/pages-help/instructor-help-page/instructor-help-sessions-section/instructor-help-sessions-section.component.html @@ -3,13 +3,13 @@

    Setting Up Sessions

    -
    +

    -

    -
    +

    @@ -59,11 +59,11 @@

    Setting Up Sessions

    -

    -
    +
    To create a new feedback session, click the Sessions tab at the top of the page. Then, @@ -148,13 +148,13 @@

    Setting Up Sessions

    -
    +

    -

    -
    +

    @@ -249,13 +249,13 @@

    Setting Up Sessions

    -
    +

    -

    -
    +

    @@ -298,13 +298,13 @@

    Setting Up Sessions

    Managing Session Responses

    -
    +

    -

    -
    +

    @@ -315,7 +315,7 @@

    Managing Session Responses

  • - View the results of the session. + View the results of the session.
  • Scroll to the panel titled Participants who have not responded to any question. Click on the panel to expand it. @@ -333,13 +333,13 @@

    Managing Session Responses

  • -
    +

    -

    -
    +

    @@ -469,11 +469,11 @@

    Managing Session Responses

    -

    -
    +

    @@ -496,17 +496,17 @@

    Managing Session Responses

    Adding Comments to Responses

    -
    +

    -

    -
    +

    - While viewing the results of a session, you can add comments to respondents' answers. + While viewing the results of a session, you can add comments to respondents' answers.

    To create comments on a response in a session: @@ -548,11 +548,11 @@

    Adding Comments to Responses<

    -

    -
    +

    @@ -560,7 +560,7 @@

    Adding Comments to Responses<

    1. - Navigate to the page where you added the comment that you want to edit or delete. + Navigate to the page where you added the comment that you want to edit or delete.
    2. Hover over the comment which you want to edit or delete. @@ -582,13 +582,13 @@

      Adding Comments to Responses<

    -
    +

    -

    -
    +
    You can search for questions, responses to a question and comments on responses in any of your courses. To do so: @@ -621,13 +621,13 @@

    Adding Comments to Responses<

    Restoring Deleted Sessions

    -
    +

    -

    -
    +

    @@ -642,7 +642,7 @@

    Restoring Deleted Sessions

    The feedback sessions you have previously deleted are listed here. - In order to access information in a deleted session, restore the session. + In order to access information in a deleted session, restore the session.

    @@ -650,17 +650,17 @@

    Restoring Deleted Sessions

    -
    +

    -

    -
    +

    - To restore a deleted feedback session, first view the session that you would like to restore in the Sessions page.
    + To restore a deleted feedback session, first view the session that you would like to restore in the Sessions page.
    Then, click on the button corresponding to the session you want to restore.

    @@ -680,15 +680,15 @@

    Restoring Deleted Sessions

    -

    -
    +

    - To permanently delete a feedback session, first view the session that you would like to permanently delete in the Sessions page.
    + To permanently delete a feedback session, first view the session that you would like to permanently delete in the Sessions page.
    Then, click on the button corresponding to the session you want to delete.

    @@ -708,15 +708,15 @@

    Restoring Deleted Sessions

    -

    -
    +

    - First view the session and check for sessions in Recycle Bin.
    + First view the session and check for sessions in Recycle Bin.
    To restore all sessions, click on the button in Deleted feedback sessions heading; to delete all sessions, click on the button in Deleted feedback sessions heading.

    diff --git a/src/web/app/pages-help/instructor-help-page/instructor-help-sessions-section/instructor-help-sessions-section.component.ts b/src/web/app/pages-help/instructor-help-page/instructor-help-sessions-section/instructor-help-sessions-section.component.ts index 695c4b48dfa..e1743415c6c 100644 --- a/src/web/app/pages-help/instructor-help-page/instructor-help-sessions-section/instructor-help-sessions-section.component.ts +++ b/src/web/app/pages-help/instructor-help-page/instructor-help-sessions-section/instructor-help-sessions-section.component.ts @@ -1,5 +1,5 @@ import { DOCUMENT } from '@angular/common'; -import { Component, Inject, Input, OnInit } from '@angular/core'; +import { Component, Inject, OnInit } from '@angular/core'; import { PageScrollService } from 'ngx-page-scroll-core'; import { TemplateSession } from '../../../../services/feedback-sessions.service'; @@ -15,7 +15,8 @@ import { CommentEditFormModel } from '../../../components/comment-box/comment-ed import { CommentRowMode } from '../../../components/comment-box/comment-row/comment-row.component'; import { CommentTableModel } from '../../../components/comment-box/comment-table/comment-table.component'; import { - SessionEditFormMode, SessionEditFormModel, + SessionEditFormMode, + SessionEditFormModel, } from '../../../components/session-edit-form/session-edit-form-model'; import { RecycleBinFeedbackSessionRowModel, @@ -24,11 +25,14 @@ import { collapseAnim } from '../../../components/teammates-common/collapse-anim import { SearchCommentsTable, } from '../../../pages-instructor/instructor-search-page/comment-result-table/comment-result-table.component'; -import { SectionTabModel, +import { + SectionTabModel, } from '../../../pages-instructor/instructor-session-result-page/instructor-session-result-page.component'; -import { InstructorSessionResultSectionType, +import { + InstructorSessionResultSectionType, } from '../../../pages-instructor/instructor-session-result-page/instructor-session-result-section-type.enum'; -import { InstructorSessionResultViewType, +import { + InstructorSessionResultViewType, } from '../../../pages-instructor/instructor-session-result-page/instructor-session-result-view-type.enum'; import { InstructorHelpSectionComponent } from '../instructor-help-section.component'; import { @@ -47,6 +51,7 @@ import { EXAMPLE_STUDENTS, EXAMPLE_TEMPLATE_SESSIONS, } from './instructor-help-sessions-data'; +import { SessionsSectionQuestions } from './sessions-section-questions'; /** * Sessions Section of the Instructor Help Page. @@ -64,6 +69,8 @@ export class InstructorHelpSessionsSectionComponent extends InstructorHelpSectio SessionEditFormMode: typeof SessionEditFormMode = SessionEditFormMode; InstructorSessionResultViewType: typeof InstructorSessionResultViewType = InstructorSessionResultViewType; InstructorSessionResultSectionType: typeof InstructorSessionResultSectionType = InstructorSessionResultSectionType; + SessionsSectionQuestions: typeof SessionsSectionQuestions = SessionsSectionQuestions; + exampleCommentEditFormModel: CommentEditFormModel = EXAMPLE_COMMENT_EDIT_FORM_MODEL; readonly exampleSessionEditFormModel: SessionEditFormModel = EXAMPLE_SESSION_EDIT_FORM_MODEL; readonly exampleResponse: ResponseOutput = EXAMPLE_RESPONSE; @@ -81,20 +88,22 @@ export class InstructorHelpSessionsSectionComponent extends InstructorHelpSectio readonly exampleQuestionsWithResponses: QuestionOutput[] = EXAMPLE_QUESTIONS_WITH_RESPONSES; readonly exampleCommentSearchResult: SearchCommentsTable[] = EXAMPLE_COMMENT_SEARCH_RESULT; - @Input() isPeerEvalTipsCollapsed: boolean = false; - isNewFeedbackSessionCollapsed: boolean = false; - isAddQuestionsCollapsed: boolean = false; - isPreviewCollapsed: boolean = false; - isCannotSubmitCollapsed: boolean = false; - isViewResultsCollapsed: boolean = false; - isViewAllResponsesCollapsed: boolean = false; - isAddCommentCollapsed: boolean = false; - isEditDelCommentCollapsed: boolean = false; - isSearchCollapsed: boolean = false; - isViewDeletedCollapsed: boolean = false; - isRestoreSessionCollapsed: boolean = false; - isDelSessionCollapsed: boolean = false; - isRestoreDelAllCollapsed: boolean = false; + questionsToCollapsed: Record = { + [SessionsSectionQuestions.TIPS_FOR_CONDUCTION_PEER_EVAL]: false, + [SessionsSectionQuestions.SESSION_NEW_FEEDBACK]: false, + [SessionsSectionQuestions.SESSION_QUESTIONS]: false, + [SessionsSectionQuestions.SESSION_PREVIEW]: false, + [SessionsSectionQuestions.SESSION_CANNOT_SUBMIT]: false, + [SessionsSectionQuestions.SESSION_VIEW_RESULTS]: false, + [SessionsSectionQuestions.VIEW_ALL_RESPONSES]: false, + [SessionsSectionQuestions.SESSION_ADD_COMMENTS]: false, + [SessionsSectionQuestions.EDIT_DEL_COMMENT]: false, + [SessionsSectionQuestions.SESSION_SEARCH]: false, + [SessionsSectionQuestions.VIEW_DELETED_SESSION]: false, + [SessionsSectionQuestions.RESTORE_SESSION]: false, + [SessionsSectionQuestions.PERMANENT_DEL_SESSION]: false, + [SessionsSectionQuestions.RESTORE_DEL_ALL]: false, + }; constructor(private pageScrollService: PageScrollService, @Inject(DOCUMENT) private document: any) { @@ -112,4 +121,8 @@ export class InstructorHelpSessionsSectionComponent extends InstructorHelpSectio }); return false; } + + expand(questionId: string): void { + this.questionsToCollapsed[questionId] = true; + } } diff --git a/src/web/app/pages-help/instructor-help-page/instructor-help-sessions-section/sessions-section-questions.ts b/src/web/app/pages-help/instructor-help-page/instructor-help-sessions-section/sessions-section-questions.ts new file mode 100644 index 00000000000..7ff233ac546 --- /dev/null +++ b/src/web/app/pages-help/instructor-help-page/instructor-help-sessions-section/sessions-section-questions.ts @@ -0,0 +1,74 @@ +/** + * Unique identifiers for each question in the sessions section of instructor help page + */ +export enum SessionsSectionQuestions { + /** + * Tips for conducting team peer evaluation sessions + */ + TIPS_FOR_CONDUCTION_PEER_EVAL = 'tips-for-conducting-peer-eval', + + /** + * How do I add questions to a session? + */ + SESSION_QUESTIONS = 'session-questions', + + /** + * How do I preview a session? + */ + SESSION_PREVIEW = 'session-preview', + + /** + * What should I do if a student says he/she cannot submit an evaluation due to a technical glitch? + */ + SESSION_CANNOT_SUBMIT = 'session-cannot-submit', + + /** + * How do I view the results of my session? + */ + SESSION_VIEW_RESULTS = 'session-view-results', + + /** + * How do I create a comment on a response? + */ + SESSION_ADD_COMMENTS = 'session-add-comments', + + /** + * How do I search for a feedback session question, response or comment on a response? + */ + SESSION_SEARCH = 'session-search', + + /** + * How do I view sessions I have deleted? + */ + VIEW_DELETED_SESSION = 'view-deleted-session', + + /** + * How do I restore a deleted session? + */ + RESTORE_SESSION = 'restore-session', + + /** + * How do I create and schedule a new feedback session? + */ + SESSION_NEW_FEEDBACK = 'session-new-feedback', + + /** + * How do I view all the responses a student has given and received? + */ + VIEW_ALL_RESPONSES = 'view-all-responses', + + /** + * How do I edit or delete a comment on a response? + */ + EDIT_DEL_COMMENT = 'edit-del-comment', + + /** + * How do I permanently delete a session? + */ + PERMANENT_DEL_SESSION = 'permenant-del-session', + + /** + * How do I restore/delete all sessions from Recycle Bin? + */ + RESTORE_DEL_ALL = 'restore-del-all', +} diff --git a/src/web/app/pages-help/instructor-help-page/instructor-help-students-section/instructor-help-students-section.component.html b/src/web/app/pages-help/instructor-help-page/instructor-help-students-section/instructor-help-students-section.component.html index d91fe321606..c30cfc1ce55 100644 --- a/src/web/app/pages-help/instructor-help-page/instructor-help-students-section/instructor-help-students-section.component.html +++ b/src/web/app/pages-help/instructor-help-page/instructor-help-students-section/instructor-help-students-section.component.html @@ -3,13 +3,13 @@

    Student Records

    -
    +

    -

    -
    +

    To view the profile of Student A from Course B:

    @@ -56,11 +56,11 @@

    Student Records

    -
    -

    -
    +

    @@ -95,13 +95,13 @@

    Student Records

    -
    +

    -

    -
    +

    @@ -124,13 +124,13 @@

    Student Records

    Finding Students

    -