Skip to content

Commit

Permalink
refactor(Notebook): Remove unused NotebookReportAnnotationComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
hirokiterashima committed Sep 19, 2024
1 parent cf21971 commit 420ce08
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 221 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

13 changes: 5 additions & 8 deletions src/app/notebook/notebook-report/notebook-report.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
(click)="toggleCollapse()"
fxLayoutAlign="start center"
>
<mat-card-title class="mat-body-2 overflow--ellipsis" fxLayoutAlign="start center" fxLayoutGap="4px">
<mat-card-title
class="mat-body-2 overflow--ellipsis"
fxLayoutAlign="start center"
fxLayoutGap="4px"
>
<mat-icon> assignment </mat-icon>
<span>
{{ reportItem.content.title }}
Expand Down Expand Up @@ -53,13 +57,6 @@
(openNotebook)="addNotebookItemContent($event)"
>
</wise-tinymce-editor>
<notebook-report-annotations
*ngIf="hasAnnotation"
[annotations]="latestAnnotations"
[hasNew]="hasNewAnnotation"
[maxScore]="maxScore"
>
</notebook-report-annotations>
</mat-card-content>
<mat-card-actions [class.hidden]="collapsed">
<div class="actions" fxLayoutGap="8px" fxLayoutAlign="start center">
Expand Down
10 changes: 2 additions & 8 deletions src/app/notebook/notebook.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,11 @@ import { NotebookItemComponent } from './notebook-item/notebook-item.component';
import { NotebookLauncherComponent } from './notebook-launcher/notebook-launcher.component';
import { NotebookNotesComponent } from './notebook-notes/notebook-notes.component';
import { NotebookParentComponent } from './notebook-parent/notebook-parent.component';
import { NotebookReportAnnotationsComponent } from './notebook-report-annotations/notebook-report-annotations.component';
import { NotebookReportComponent } from './notebook-report/notebook-report.component';
import { WiseTinymceEditorComponent } from '../../assets/wise5/directives/wise-tinymce-editor/wise-tinymce-editor.component';

@NgModule({
declarations: [
NotebookParentComponent,
NotebookReportComponent,
NotebookReportAnnotationsComponent
],
declarations: [NotebookParentComponent, NotebookReportComponent],
imports: [
CommonModule,
ComponentStateInfoComponent,
Expand All @@ -54,8 +49,7 @@ import { WiseTinymceEditorComponent } from '../../assets/wise5/directives/wise-t
NotebookItemComponent,
NotebookLauncherComponent,
NotebookNotesComponent,
NotebookReportComponent,
NotebookReportAnnotationsComponent
NotebookReportComponent
]
})
export class NotebookModule {}
49 changes: 12 additions & 37 deletions src/messages.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -5839,7 +5839,7 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/notebook/notebook-report/notebook-report.component.html</context>
<context context-type="linenumber">42</context>
<context context-type="linenumber">46</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/teacher/archive-projects-button/archive-projects-button.component.html</context>
Expand Down Expand Up @@ -6515,57 +6515,25 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
<context context-type="linenumber">122</context>
</context-group>
</trans-unit>
<trans-unit id="14ab0b74dd05d40df302ebb4b98952b702ebfd56" datatype="html">
<source> Score: <x id="INTERPOLATION" equiv-text="{{ annotations.score.data.value }}"/><x id="INTERPOLATION_1" equiv-text="{{ maxScoreDisplay }}"/> </source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/notebook/notebook-report-annotations/notebook-report-annotations.component.html</context>
<context context-type="linenumber">19,21</context>
</context-group>
</trans-unit>
<trans-unit id="8133f877e85896a39ffe724e5801638f1794ac88" datatype="html">
<source><x id="INTERPOLATION" equiv-text="{{ latestAnnotationTime | amDateFormat : &apos;ddd, MMM D YYYY, h:mm a&apos; }}"/></source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/notebook/notebook-report-annotations/notebook-report-annotations.component.html</context>
<context context-type="linenumber">27</context>
</context-group>
</trans-unit>
<trans-unit id="1700529996937824756" datatype="html">
<source>Computer Feedback</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/notebook/notebook-report-annotations/notebook-report-annotations.component.ts</context>
<context context-type="linenumber">64</context>
</context-group>
</trans-unit>
<trans-unit id="4887677208798229337" datatype="html">
<source>Teacher Feedback</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/notebook/notebook-report-annotations/notebook-report-annotations.component.ts</context>
<context context-type="linenumber">67</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/directives/componentAnnotations/component-annotations.component.ts</context>
<context context-type="linenumber">189</context>
</context-group>
</trans-unit>
<trans-unit id="3de550daa9bf35829dbeb9099844614347d2dbc5" datatype="html">
<source>Toggle Full Screen</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/notebook/notebook-report/notebook-report.component.html</context>
<context context-type="linenumber">22</context>
<context context-type="linenumber">26</context>
</context-group>
</trans-unit>
<trans-unit id="e8bcb762b48cf52fbea66ce9c4f6b970b99a80fd" datatype="html">
<source>Collapse</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/notebook/notebook-report/notebook-report.component.html</context>
<context context-type="linenumber">33</context>
<context context-type="linenumber">37</context>
</context-group>
</trans-unit>
<trans-unit id="f8b53b407af242e77dc3391947f23988f3451e64" datatype="html">
<source> Save </source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/notebook/notebook-report/notebook-report.component.html</context>
<context context-type="linenumber">72,74</context>
<context context-type="linenumber">69,71</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/recovery-authoring/recovery-authoring.component.html</context>
Expand All @@ -6580,7 +6548,7 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
<source> Team hasn&apos;t worked on <x id="INTERPOLATION" equiv-text="{{ config.itemTypes.report.notes[0].title }}"/> yet. </source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/notebook/notebook-report/notebook-report.component.html</context>
<context context-type="linenumber">93,95</context>
<context context-type="linenumber">90,92</context>
</context-group>
</trans-unit>
<trans-unit id="a8d79c94172b18dbceadb046a6f53999bd5684f6" datatype="html">
Expand Down Expand Up @@ -21501,6 +21469,13 @@ If this problem continues, let your teacher know and move on to the next activit
<context context-type="linenumber">22</context>
</context-group>
</trans-unit>
<trans-unit id="4887677208798229337" datatype="html">
<source>Teacher Feedback</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/directives/componentAnnotations/component-annotations.component.ts</context>
<context context-type="linenumber">189</context>
</context-group>
</trans-unit>
<trans-unit id="3d3ae7deebc5949b0c1c78b9847886a94321d9fd" datatype="html">
<source>No</source>
<context-group purpose="location">
Expand Down

0 comments on commit 420ce08

Please sign in to comment.