- subdirectory_arrow_left subdirectory_arrow_leftAdd lesson before
diff --git a/src/assets/wise5/authoringTool/add-step-button/add-step-button.component.html b/src/assets/wise5/authoringTool/add-step-button/add-step-button.component.html
index a7cca32eff4..5bfc9e8dd0d 100644
--- a/src/assets/wise5/authoringTool/add-step-button/add-step-button.component.html
+++ b/src/assets/wise5/authoringTool/add-step-button/add-step-button.component.html
@@ -13,7 +13,7 @@
@if (canAddBefore) {
- subdirectory_arrow_left subdirectory_arrow_leftAdd step before
}
diff --git a/src/assets/wise5/authoringTool/addLesson/add-lesson-routing.module.ts b/src/assets/wise5/authoringTool/addLesson/add-lesson-routing.module.ts
deleted file mode 100644
index c28f9947343..00000000000
--- a/src/assets/wise5/authoringTool/addLesson/add-lesson-routing.module.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import { RouterModule, Routes } from '@angular/router';
-import { AddLessonChooseTemplateComponent } from './add-lesson-choose-template/add-lesson-choose-template.component';
-import { AddLessonConfigureComponent } from './add-lesson-configure/add-lesson-configure.component';
-import { NgModule } from '@angular/core';
-
-const routes: Routes = [
- {
- path: '',
- component: AddLessonChooseTemplateComponent
- },
- {
- path: 'configure',
- component: AddLessonConfigureComponent
- },
- {
- path: 'structure',
- loadChildren: () =>
- import(
- '../../../../assets/wise5/authoringTool/structure/structure-authoring-routing.module'
- ).then((m) => m.StructureAuthoringRoutingModule)
- }
-];
-
-@NgModule({
- imports: [RouterModule.forChild(routes)]
-})
-export class AddLessonRoutingModule {}
diff --git a/src/assets/wise5/authoringTool/addLesson/add-lesson.routes.ts b/src/assets/wise5/authoringTool/addLesson/add-lesson.routes.ts
new file mode 100644
index 00000000000..c5c7ba99727
--- /dev/null
+++ b/src/assets/wise5/authoringTool/addLesson/add-lesson.routes.ts
@@ -0,0 +1,18 @@
+import { Routes } from '@angular/router';
+import { AddLessonChooseTemplateComponent } from './add-lesson-choose-template/add-lesson-choose-template.component';
+import { AddLessonConfigureComponent } from './add-lesson-configure/add-lesson-configure.component';
+
+export const routes: Routes = [
+ {
+ path: '',
+ component: AddLessonChooseTemplateComponent
+ },
+ {
+ path: 'configure',
+ component: AddLessonConfigureComponent
+ },
+ {
+ path: 'structure',
+ loadChildren: () => import('../structure/structure-authoring.routes').then((m) => m.routes)
+ }
+];
diff --git a/src/assets/wise5/authoringTool/addNode/add-node-routing.module.ts b/src/assets/wise5/authoringTool/addNode/add-node.routes.ts
similarity index 79%
rename from src/assets/wise5/authoringTool/addNode/add-node-routing.module.ts
rename to src/assets/wise5/authoringTool/addNode/add-node.routes.ts
index 02ad5584c98..2d09084cce9 100644
--- a/src/assets/wise5/authoringTool/addNode/add-node-routing.module.ts
+++ b/src/assets/wise5/authoringTool/addNode/add-node.routes.ts
@@ -1,5 +1,4 @@
-import { RouterModule, Routes } from '@angular/router';
-import { NgModule } from '@angular/core';
+import { Routes } from '@angular/router';
import { AddYourOwnNodeComponent } from './add-your-own-node/add-your-own-node.component';
import { ChooseAutomatedAssessmentComponent } from './choose-automated-assessment/choose-automated-assessment.component';
import { ConfigureAutomatedAssessmentComponent } from './configure-automated-assessment/configure-automated-assessment.component';
@@ -8,7 +7,7 @@ import { ChooseSimulationComponent } from './choose-simulation/choose-simulation
import { ChooseImportStepComponent } from '../../../../app/authoring-tool/import-step/choose-import-step/choose-import-step.component';
import { ChooseImportUnitComponent } from '../../../../app/authoring-tool/import-step/choose-import-unit/choose-import-unit.component';
-const routes: Routes = [
+export const routes: Routes = [
{
path: 'add-your-own',
component: AddYourOwnNodeComponent
@@ -20,7 +19,10 @@ const routes: Routes = [
path: 'choose-item',
component: ChooseAutomatedAssessmentComponent
},
- { path: 'configure', component: ConfigureAutomatedAssessmentComponent }
+ {
+ path: 'configure',
+ component: ConfigureAutomatedAssessmentComponent
+ }
]
},
{
@@ -42,11 +44,11 @@ const routes: Routes = [
},
{
path: 'simulation',
- children: [{ path: 'choose-item', component: ChooseSimulationComponent }]
+ children: [
+ {
+ path: 'choose-item',
+ component: ChooseSimulationComponent
+ }
+ ]
}
];
-
-@NgModule({
- imports: [RouterModule.forChild(routes)]
-})
-export class AddNodeRoutingModule {}
diff --git a/src/assets/wise5/authoringTool/components/component-info-dialog/component-info-dialog.component.spec.ts b/src/assets/wise5/authoringTool/components/component-info-dialog/component-info-dialog.component.spec.ts
deleted file mode 100644
index 77980bbedb9..00000000000
--- a/src/assets/wise5/authoringTool/components/component-info-dialog/component-info-dialog.component.spec.ts
+++ /dev/null
@@ -1,135 +0,0 @@
-import { ComponentFixture, TestBed } from '@angular/core/testing';
-import { ComponentInfoDialogComponent } from './component-info-dialog.component';
-import { MAT_DIALOG_DATA } from '@angular/material/dialog';
-import { provideHttpClientTesting } from '@angular/common/http/testing';
-import { ProjectService } from '../../../services/projectService';
-import { ComponentInfoService } from '../../../services/componentInfoService';
-import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
-import { ComponentInfoDialogHarness } from './component-info-dialog.harness';
-import { TestbedHarnessEnvironment } from '@angular/cdk/testing/testbed';
-import { MultipleChoiceInfo } from '../../../components/multipleChoice/MultipleChoiceInfo';
-import { OutsideUrlInfo } from '../../../components/outsideURL/OutsideUrlInfo';
-import { OpenResponseInfo } from '../../../components/openResponse/OpenResponseInfo';
-import { ComponentInfo } from '../../../components/ComponentInfo';
-import { ComponentTypeServiceModule } from '../../../services/componentTypeService.module';
-import { ComponentStudentModule } from '../../../../../assets/wise5/components/component/component-student.module';
-import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
-
-let component: ComponentInfoDialogComponent;
-let fixture: ComponentFixture;
-let harness: ComponentInfoDialogHarness;
-let multipleChoiceInfo = new MultipleChoiceInfo();
-let openResponseInfo = new OpenResponseInfo();
-let outsideUrlInfo = new OutsideUrlInfo();
-
-describe('ComponentInfoDialogComponent', () => {
- beforeEach(async () => {
- await TestBed.configureTestingModule({
- imports: [
- BrowserAnimationsModule,
- ComponentInfoDialogComponent,
- ComponentStudentModule,
- ComponentTypeServiceModule
- ],
- providers: [
- ComponentInfoService,
- { provide: MAT_DIALOG_DATA, useValue: 'OpenResponse' },
- provideHttpClient(withInterceptorsFromDi()),
- provideHttpClientTesting()
- ]
- }).compileComponents();
- fixture = TestBed.createComponent(ComponentInfoDialogComponent);
- const projectService = TestBed.inject(ProjectService);
- projectService.project = {};
- component = fixture.componentInstance;
- window.MathJax = {
- startup: {
- promise: new Promise((resolve, reject) => {
- resolve({});
- })
- },
- typesetPromise: () => {}
- };
- fixture.detectChanges();
- harness = await TestbedHarnessEnvironment.harnessForFixture(
- fixture,
- ComponentInfoDialogHarness
- );
- });
- displayComponentWhenLoaded();
- goToPreviousComponent();
- goToNextComponent();
- selectComponent();
- selectComponentWithMultipleExamples();
-});
-
-function displayComponentWhenLoaded(): void {
- describe('initially loads with a component type', () => {
- it('displays the component', async () => {
- await expectComponentType(openResponseInfo);
- });
- });
-}
-
-function goToPreviousComponent(): void {
- describe('go to previous component', () => {
- it('displays the previous component', async () => {
- const componentTypeSelector = await harness.getComponentTypeSelector();
- (await componentTypeSelector.getPreviousComponentTypeButton()).click();
- await expectComponentType(multipleChoiceInfo);
- });
- });
-}
-
-function goToNextComponent(): void {
- describe('go to next component', () => {
- it('displays the next component', async () => {
- const componentTypeSelector = await harness.getComponentTypeSelector();
- (await componentTypeSelector.getNextComponentTypeButton()).click();
- await expectComponentType(outsideUrlInfo);
- });
- });
-}
-
-function selectComponent(): void {
- describe('select component', () => {
- it('displays the selected component', async () => {
- await selectComponentType('Multiple Choice');
- await expectComponentType(multipleChoiceInfo);
- });
- });
-}
-
-function selectComponentWithMultipleExamples(): void {
- describe('change to component type with multiple examples', () => {
- it('displays multiple examples', async () => {
- await selectComponentType('Multiple Choice');
- const tabGroup = await harness.getTabGroup();
- const expectedLabels = multipleChoiceInfo
- .getPreviewExamples()
- .map((example: any) => example.label);
- await expectTabLabels(await tabGroup.getTabs(), expectedLabels);
- });
- });
-}
-
-async function selectComponentType(componentType: string): Promise {
- const componentTypeSelector = await harness.getComponentTypeSelector();
- const select = await componentTypeSelector.getComponentTypeSelect();
- await select.clickOptions({ text: componentType });
-}
-
-async function expectComponentType(componentInfo: ComponentInfo): Promise {
- const componentTypeSelector = await harness.getComponentTypeSelector();
- const select = await componentTypeSelector.getComponentTypeSelect();
- expect(await select.getValueText()).toEqual(componentInfo.getLabel());
- const description = await harness.getDescription();
- expect(await description.text()).toEqual(componentInfo.getDescription());
-}
-
-async function expectTabLabels(tabs: any[], expectedLabels: string[]): Promise {
- for (let i = 0; i < tabs.length; i++) {
- const tabLabel = await tabs[i].getLabel();
- expect(tabLabel).toEqual(expectedLabels[i]);
- }
-}
diff --git a/src/assets/wise5/authoringTool/components/component-type-selector/component-type-selector.component.spec.ts b/src/assets/wise5/authoringTool/components/component-type-selector/component-type-selector.component.spec.ts
index 61931450ceb..c430964161d 100644
--- a/src/assets/wise5/authoringTool/components/component-type-selector/component-type-selector.component.spec.ts
+++ b/src/assets/wise5/authoringTool/components/component-type-selector/component-type-selector.component.spec.ts
@@ -3,10 +3,11 @@ import { provideHttpClient } from '@angular/common/http';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { UserService } from '../../../../../app/services/user.service';
import { StudentTeacherCommonServicesModule } from '../../../../../app/student-teacher-common-services.module';
-import { ComponentTypeServiceModule } from '../../../services/componentTypeService.module';
import { ConfigService } from '../../../services/configService';
import { ComponentTypeSelectorComponent } from './component-type-selector.component';
import { ComponentTypeSelectorHarness } from './component-type-selector.harness';
+import { MockProviders } from 'ng-mocks';
+import { ComponentTypeService } from '../../../services/componentTypeService';
let component: ComponentTypeSelectorComponent;
let componentTypeSelectorHarness: ComponentTypeSelectorHarness;
@@ -16,14 +17,37 @@ let userService: UserService;
describe('ComponentTypeSelectorComponent', () => {
beforeEach(async () => {
TestBed.configureTestingModule({
- imports: [
- ComponentTypeSelectorComponent,
- ComponentTypeServiceModule,
- StudentTeacherCommonServicesModule
- ],
- providers: [provideHttpClient()]
+ imports: [ComponentTypeSelectorComponent, StudentTeacherCommonServicesModule],
+ providers: [
+ MockProviders(ComponentTypeService, ConfigService, UserService),
+ provideHttpClient()
+ ]
});
fixture = TestBed.createComponent(ComponentTypeSelectorComponent);
+ const componentTypeService = TestBed.inject(ComponentTypeService);
+ spyOn(componentTypeService, 'getComponentTypes').and.returnValue([
+ { type: 'AiChat', name: 'AI Chat' },
+ { type: 'Animation', name: 'Animation' },
+ { type: 'AudioOscillator', name: 'Audio Oscillator' },
+ { type: 'ConceptMap', name: 'Concept Map' },
+ { type: 'DialogGuidance', name: 'Dialog Guidance' },
+ { type: 'Discussion', name: 'Discussion' },
+ { type: 'Draw', name: 'Draw' },
+ { type: 'Embedded', name: 'Embedded' },
+ { type: 'Graph', name: 'Graph' },
+ { type: 'Label', name: 'Label' },
+ { type: 'Match', name: 'Match' },
+ { type: 'MultipleChoice', name: 'Multiple Choice' },
+ { type: 'OpenResponse', name: 'Open Response' },
+ { type: 'OutsideURL', name: 'Outside URL' },
+ { type: 'PeerChat', name: 'Peer Chat' },
+ { type: 'HTML', name: 'HTML' },
+ { type: 'ShowGroupWork', name: 'Show Group Work' },
+ { type: 'ShowMyWork', name: 'Show My Work' },
+ { type: 'Summary', name: 'Summary' },
+ { type: 'Table', name: 'Table' }
+ ]);
+
configService = TestBed.inject(ConfigService);
spyOn(configService, 'getConfigParam').and.returnValue(true);
userService = TestBed.inject(UserService);
diff --git a/src/assets/wise5/authoringTool/components/edit-component-advanced-button/edit-component-advanced-button.component.ts b/src/assets/wise5/authoringTool/components/edit-component-advanced-button/edit-component-advanced-button.component.ts
index 3f434eaea4b..ccb8afb1798 100644
--- a/src/assets/wise5/authoringTool/components/edit-component-advanced-button/edit-component-advanced-button.component.ts
+++ b/src/assets/wise5/authoringTool/components/edit-component-advanced-button/edit-component-advanced-button.component.ts
@@ -8,9 +8,9 @@ import { MatTooltipModule } from '@angular/material/tooltip';
import { MatIconModule } from '@angular/material/icon';
@Component({
- imports: [MatButtonModule, MatIconModule, MatTooltipModule],
- selector: 'edit-component-advanced-button',
- templateUrl: 'edit-component-advanced-button.component.html'
+ imports: [MatButtonModule, MatIconModule, MatTooltipModule],
+ selector: 'edit-component-advanced-button',
+ templateUrl: 'edit-component-advanced-button.component.html'
})
export class EditComponentAdvancedButtonComponent {
@Input() componentContent: ComponentContent;
diff --git a/src/assets/wise5/authoringTool/components/translatable-input/translatable-input.component.ts b/src/assets/wise5/authoringTool/components/translatable-input/translatable-input.component.ts
index b6e84f95473..005c4246981 100644
--- a/src/assets/wise5/authoringTool/components/translatable-input/translatable-input.component.ts
+++ b/src/assets/wise5/authoringTool/components/translatable-input/translatable-input.component.ts
@@ -5,10 +5,10 @@ import { AbstractTranslatableFieldComponent } from '../abstract-translatable-fie
import { MatIconModule } from '@angular/material/icon';
@Component({
- selector: 'translatable-input',
+ encapsulation: ViewEncapsulation.None,
imports: [FormsModule, MatIconModule, MatInputModule],
+ selector: 'translatable-input',
styleUrl: '../abstract-translatable-field/abstract-translatable-field.component.scss',
- templateUrl: './translatable-input.component.html',
- encapsulation: ViewEncapsulation.None
+ templateUrl: './translatable-input.component.html'
})
export class TranslatableInputComponent extends AbstractTranslatableFieldComponent {}
diff --git a/src/assets/wise5/authoringTool/components/translatable-textarea/translatable-textarea.component.ts b/src/assets/wise5/authoringTool/components/translatable-textarea/translatable-textarea.component.ts
index f8091a0de87..4591b7ddfce 100644
--- a/src/assets/wise5/authoringTool/components/translatable-textarea/translatable-textarea.component.ts
+++ b/src/assets/wise5/authoringTool/components/translatable-textarea/translatable-textarea.component.ts
@@ -5,10 +5,10 @@ import { AbstractTranslatableFieldComponent } from '../abstract-translatable-fie
import { MatIconModule } from '@angular/material/icon';
@Component({
- selector: 'translatable-textarea',
+ encapsulation: ViewEncapsulation.None,
imports: [FormsModule, MatIconModule, MatInputModule],
+ selector: 'translatable-textarea',
styleUrl: '../abstract-translatable-field/abstract-translatable-field.component.scss',
- templateUrl: './translatable-textarea.component.html',
- encapsulation: ViewEncapsulation.None
+ templateUrl: './translatable-textarea.component.html'
})
export class TranslatableTextareaComponent extends AbstractTranslatableFieldComponent {}
diff --git a/src/assets/wise5/authoringTool/importComponent/import-component-routing.module.ts b/src/assets/wise5/authoringTool/importComponent/import-component.routes.ts
similarity index 64%
rename from src/assets/wise5/authoringTool/importComponent/import-component-routing.module.ts
rename to src/assets/wise5/authoringTool/importComponent/import-component.routes.ts
index 52f5600acd2..40e88cab1e1 100644
--- a/src/assets/wise5/authoringTool/importComponent/import-component-routing.module.ts
+++ b/src/assets/wise5/authoringTool/importComponent/import-component.routes.ts
@@ -1,9 +1,8 @@
-import { RouterModule, Routes } from '@angular/router';
-import { NgModule } from '@angular/core';
+import { Routes } from '@angular/router';
import { ChooseImportComponentComponent } from './choose-import-component/choose-import-component.component';
import { ChooseImportUnitComponent } from '../../../../app/authoring-tool/import-step/choose-import-unit/choose-import-unit.component';
-const routes: Routes = [
+export const routes: Routes = [
{
path: 'choose-component',
component: ChooseImportComponentComponent
@@ -13,8 +12,3 @@ const routes: Routes = [
component: ChooseImportUnitComponent
}
];
-
-@NgModule({
- imports: [RouterModule.forChild(routes)]
-})
-export class ImportComponentRoutingModule {}
diff --git a/src/assets/wise5/authoringTool/node/add-component/add-component.component.ts b/src/assets/wise5/authoringTool/node/add-component/add-component.component.ts
index 416376b647e..17c02852366 100644
--- a/src/assets/wise5/authoringTool/node/add-component/add-component.component.ts
+++ b/src/assets/wise5/authoringTool/node/add-component/add-component.component.ts
@@ -5,10 +5,10 @@ import { Node } from '../../../common/Node';
import { CommonModule } from '@angular/common';
@Component({
- selector: 'add-component',
imports: [AddComponentButtonComponent, CommonModule, MatDividerModule],
- templateUrl: './add-component.component.html',
- styleUrl: './add-component.component.scss'
+ selector: 'add-component',
+ styleUrl: './add-component.component.scss',
+ templateUrl: './add-component.component.html'
})
export class AddComponentComponent {
@Input() afterComponentId: string;
diff --git a/src/assets/wise5/authoringTool/node/advanced/node-advanced-routing.module.ts b/src/assets/wise5/authoringTool/node/advanced/node-advanced.routes.ts
similarity index 82%
rename from src/assets/wise5/authoringTool/node/advanced/node-advanced-routing.module.ts
rename to src/assets/wise5/authoringTool/node/advanced/node-advanced.routes.ts
index f70609ed9d7..43ff0a3f8af 100644
--- a/src/assets/wise5/authoringTool/node/advanced/node-advanced-routing.module.ts
+++ b/src/assets/wise5/authoringTool/node/advanced/node-advanced.routes.ts
@@ -1,5 +1,4 @@
-import { RouterModule, Routes } from '@angular/router';
-import { NgModule } from '@angular/core';
+import { Routes } from '@angular/router';
import { NodeAdvancedAuthoringComponent } from './node-advanced-authoring/node-advanced-authoring.component';
import { NodeAdvancedConstraintAuthoringComponent } from './constraint/node-advanced-constraint-authoring.component';
import { NodeAdvancedGeneralAuthoringComponent } from './general/node-advanced-general-authoring.component';
@@ -7,7 +6,7 @@ import { NodeAdvancedJsonAuthoringComponent } from './json/node-advanced-json-au
import { NodeAdvancedPathAuthoringComponent } from './path/node-advanced-path-authoring.component';
import { EditNodeRubricComponent } from '../editRubric/edit-node-rubric.component';
-const routes: Routes = [
+export const routes: Routes = [
{
path: '',
component: NodeAdvancedAuthoringComponent,
@@ -20,8 +19,3 @@ const routes: Routes = [
]
}
];
-
-@NgModule({
- imports: [RouterModule.forChild(routes)]
-})
-export class NodeAdvancedRoutingModule {}
diff --git a/src/assets/wise5/authoringTool/node/copy-component-button/copy-component-button.component.ts b/src/assets/wise5/authoringTool/node/copy-component-button/copy-component-button.component.ts
index e6c34c6cbf8..46507426285 100644
--- a/src/assets/wise5/authoringTool/node/copy-component-button/copy-component-button.component.ts
+++ b/src/assets/wise5/authoringTool/node/copy-component-button/copy-component-button.component.ts
@@ -7,9 +7,9 @@ import { MatButtonModule } from '@angular/material/button';
import { MatTooltipModule } from '@angular/material/tooltip';
@Component({
- imports: [MatButtonModule, MatIconModule, MatTooltipModule],
- selector: 'copy-component-button',
- templateUrl: './copy-component-button.component.html'
+ imports: [MatButtonModule, MatIconModule, MatTooltipModule],
+ selector: 'copy-component-button',
+ templateUrl: './copy-component-button.component.html'
})
export class CopyComponentButtonComponent {
@Input() componentId: string;
diff --git a/src/assets/wise5/authoringTool/node/edit-node-title/edit-node-title.component.html b/src/assets/wise5/authoringTool/node/edit-node-title/edit-node-title.component.html
deleted file mode 100644
index 8614c17edd7..00000000000
--- a/src/assets/wise5/authoringTool/node/edit-node-title/edit-node-title.component.html
+++ /dev/null
@@ -1,6 +0,0 @@
-
diff --git a/src/assets/wise5/authoringTool/node/edit-node-title/edit-node-title.component.ts b/src/assets/wise5/authoringTool/node/edit-node-title/edit-node-title.component.ts
index 5e8e00f5c82..20b99138166 100644
--- a/src/assets/wise5/authoringTool/node/edit-node-title/edit-node-title.component.ts
+++ b/src/assets/wise5/authoringTool/node/edit-node-title/edit-node-title.component.ts
@@ -4,10 +4,17 @@ import { TeacherProjectService } from '../../../services/teacherProjectService';
import { TranslatableInputComponent } from '../../components/translatable-input/translatable-input.component';
@Component({
- imports: [TranslatableInputComponent],
- selector: 'edit-node-title',
- styleUrl: './edit-node-title.component.scss',
- templateUrl: './edit-node-title.component.html'
+ imports: [TranslatableInputComponent],
+ selector: 'edit-node-title',
+ styleUrl: './edit-node-title.component.scss',
+ template: `
+
+ `
})
export class EditNodeTitleComponent {
protected label: string;
diff --git a/src/assets/wise5/authoringTool/node/node-authoring-routing.module.ts b/src/assets/wise5/authoringTool/node/node-authoring-routing.module.ts
deleted file mode 100644
index 55e08584450..00000000000
--- a/src/assets/wise5/authoringTool/node/node-authoring-routing.module.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-import { RouterModule, Routes } from '@angular/router';
-import { NgModule } from '@angular/core';
-import { NodeAuthoringParentComponent } from './node-authoring-parent/node-authoring-parent.component';
-import { NodeAuthoringComponent } from './node-authoring/node-authoring.component';
-
-const routes: Routes = [
- {
- path: '',
- component: NodeAuthoringParentComponent,
- children: [
- {
- path: '',
- component: NodeAuthoringComponent
- },
- {
- path: 'advanced',
- loadChildren: () =>
- import('./advanced/node-advanced-routing.module').then((m) => m.NodeAdvancedRoutingModule)
- },
- {
- path: 'import-component',
- loadChildren: () =>
- import('../importComponent/import-component-routing.module').then(
- (m) => m.ImportComponentRoutingModule
- )
- }
- ]
- }
-];
-
-@NgModule({
- imports: [RouterModule.forChild(routes)]
-})
-export class NodeAuthoringRoutingModule {}
diff --git a/src/assets/wise5/authoringTool/node/node-authoring.routes.ts b/src/assets/wise5/authoringTool/node/node-authoring.routes.ts
new file mode 100644
index 00000000000..9be00dd5cba
--- /dev/null
+++ b/src/assets/wise5/authoringTool/node/node-authoring.routes.ts
@@ -0,0 +1,25 @@
+import { Routes } from '@angular/router';
+import { NodeAuthoringParentComponent } from './node-authoring-parent/node-authoring-parent.component';
+import { NodeAuthoringComponent } from './node-authoring/node-authoring.component';
+
+export const routes: Routes = [
+ {
+ path: '',
+ component: NodeAuthoringParentComponent,
+ children: [
+ {
+ path: '',
+ component: NodeAuthoringComponent
+ },
+ {
+ path: 'advanced',
+ loadChildren: () => import('./advanced/node-advanced.routes').then((m) => m.routes)
+ },
+ {
+ path: 'import-component',
+ loadChildren: () =>
+ import('../importComponent/import-component.routes').then((m) => m.routes)
+ }
+ ]
+ }
+];
diff --git a/src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html b/src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html
index 995e07303e7..bd5ffc05923 100644
--- a/src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html
+++ b/src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html
@@ -70,7 +70,7 @@
-
+
;
@@ -21,7 +23,11 @@ describe('ClassroomMonitorComponent', () => {
MainMenuComponent,
TopBarComponent
],
- providers: [provideRouter([]), WorkgroupService]
+ providers: [
+ provideRouter([]),
+ WorkgroupService,
+ { provide: NodeService, useClass: TeacherNodeService }
+ ]
}).compileComponents();
const notebookService = TestBed.inject(NotebookService);
spyOn(notebookService, 'isNotebookEnabled').and.returnValue(true);
diff --git a/src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestone-class-responses/milestone-class-responses.component.html b/src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestone-class-responses/milestone-class-responses.component.html
index fb2706fb1ac..b63649b53cd 100644
--- a/src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestone-class-responses/milestone-class-responses.component.html
+++ b/src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestone-class-responses/milestone-class-responses.component.html
@@ -39,126 +39,138 @@
i18n-aria-label
>
Team
-
- arrow_drop_up
-
+ @if (sortBy === 'workgroupId' || sortBy === '-workgroupId') {
+
+ arrow_drop_up
+
+ }
-
- Status
-
- arrow_drop_up
-
-
-
- Score
- Status
+ @if (sortBy === 'completionStatus' || sortBy === '-completionStatus') {
+
+ arrow_drop_up
+
+ }
+
+ }
+ @if (milestone.report.locations.length == 1) {
+
- arrow_drop_up
-
-
- 1"
- class="table--list__thead__link flex justify-center items-center basis-[10%]"
- (click)="sortWorkgroups('initialScore')"
- aria-label="Sort by score on Step {{ firstNodePosition }}"
- i18n-aria-label
- matTooltip="Sort by score on Step {{ firstNodePosition }}"
- i18n-matTooltip
- matTooltipPosition="above"
- >
- {{ firstNodePosition }}
- Score
+ @if (sortBy === 'score' || sortBy === '-score') {
+
+ arrow_drop_up
+
+ }
+
+ }
+ @if (milestone.report.locations.length > 1) {
+
- arrow_drop_up
-
-
- 1"
- class="table--list__thead__link flex justify-center items-center basis-[10%]"
- (click)="sortWorkgroups('score')"
- aria-label="Sort by score on Step {{ lastNodePosition }}"
- i18n-aria-label
- matTooltip="Sort by score on Step {{ lastNodePosition }}"
- i18n-matTooltip
- matTooltipPosition="above"
- >
- {{ lastNodePosition }}
- {{ firstNodePosition }}
+ @if (sortBy === 'initialScore' || sortBy === '-initialScore') {
+
+ arrow_drop_up
+
+ }
+
+ }
+ @if (milestone.report.locations.length > 1) {
+
- arrow_drop_up
-
-
- 1"
- class="table--list__thead__link flex justify-center items-center basis-[10%]"
- (click)="sortWorkgroups('changeInScore')"
- aria-label="Sort by change in score"
- i18n-aria-label
- matTooltip="Sort by change in score"
- i18n-matTooltip
- matTooltipPosition="above"
- >
- +/-
- {{ lastNodePosition }}
+ @if (sortBy === 'score' || sortBy === '-score') {
+
+ arrow_drop_up
+
+ }
+
+ }
+ @if (milestone.report.locations.length > 1) {
+
- arrow_drop_up
-
-
+ +/-
+ @if (sortBy === 'changeInScore' || sortBy === '-changeInScore') {
+
+ arrow_drop_up
+
+ }
+
+ }
-
-
-
-
+ @for (workgroup of sortedWorkgroups; track workgroup.workgroupId) {
+ @if (isWorkgroupShown(workgroup)) {
+
+
+ }
+ }
diff --git a/src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestone-class-responses/milestone-class-responses.component.ts b/src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestone-class-responses/milestone-class-responses.component.ts
index e897975032e..9dd5a7a4056 100644
--- a/src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestone-class-responses/milestone-class-responses.component.ts
+++ b/src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestone-class-responses/milestone-class-responses.component.ts
@@ -8,7 +8,7 @@ import { Notification } from '../../../../../../app/domain/notification';
import { MatList, MatListItem } from '@angular/material/list';
import { WorkgroupSelectAutocompleteComponent } from '../../../../../../app/classroom-monitor/workgroup-select/workgroup-select-autocomplete/workgroup-select-autocomplete.component';
import { MatButton } from '@angular/material/button';
-import { NgIf, NgClass, NgFor } from '@angular/common';
+import { NgClass } from '@angular/common';
import { MatIcon } from '@angular/material/icon';
import { MatTooltip } from '@angular/material/tooltip';
import { IntersectionObserverModule } from '@ng-web-apis/intersection-observer';
@@ -20,12 +20,10 @@ import { MilestoneWorkgroupItemComponent } from '../milestone-workgroup-item/mil
MatListItem,
WorkgroupSelectAutocompleteComponent,
MatButton,
- NgIf,
MatIcon,
NgClass,
MatTooltip,
IntersectionObserverModule,
- NgFor,
MilestoneWorkgroupItemComponent
],
encapsulation: ViewEncapsulation.None,
diff --git a/src/assets/wise5/common/constraint/strategies/ChoiceChosenConstraintStrategy.spec.ts b/src/assets/wise5/common/constraint/strategies/ChoiceChosenConstraintStrategy.spec.ts
index 81feb29b1be..ce28d985b57 100644
--- a/src/assets/wise5/common/constraint/strategies/ChoiceChosenConstraintStrategy.spec.ts
+++ b/src/assets/wise5/common/constraint/strategies/ChoiceChosenConstraintStrategy.spec.ts
@@ -1,11 +1,10 @@
import { TestBed } from '@angular/core/testing';
import { StudentDataService } from '../../../services/studentDataService';
import { ChoiceChosenConstraintStrategy } from './ChoiceChosenConstraintStrategy';
-import { provideHttpClientTesting } from '@angular/common/http/testing';
-import { StudentTeacherCommonServicesModule } from '../../../../../app/student-teacher-common-services.module';
-import { ComponentServiceLookupServiceModule } from '../../../services/componentServiceLookupServiceModule';
import { ComponentServiceLookupService } from '../../../services/componentServiceLookupService';
-import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
+import { MockProviders } from 'ng-mocks';
+import { provideHttpClient } from '@angular/common/http';
+import { MultipleChoiceService } from '../../../components/multipleChoice/multipleChoiceService';
const choiceId1 = 'choice1';
const choiceId2 = 'choice2';
@@ -25,16 +24,17 @@ const criteria = {
choiceIds: choiceId1
}
};
-
describe('ChoiceChosenConstraintStrategy', () => {
beforeEach(() => {
TestBed.configureTestingModule({
- imports: [ComponentServiceLookupServiceModule,
- StudentTeacherCommonServicesModule],
- providers: [provideHttpClient(withInterceptorsFromDi()), provideHttpClientTesting()]
-});
+ providers: [
+ MockProviders(ComponentServiceLookupService, MultipleChoiceService, StudentDataService),
+ provideHttpClient()
+ ]
+ });
strategy = new ChoiceChosenConstraintStrategy();
componentServiceLookupService = TestBed.inject(ComponentServiceLookupService);
+ spyOn(componentServiceLookupService, 'getService').and.returnValue(new MultipleChoiceService());
strategy.componentServiceLookupService = componentServiceLookupService;
dataService = TestBed.inject(StudentDataService);
strategy.dataService = dataService;
diff --git a/src/assets/wise5/components/aiChat/ai-chat-show-work/ai-chat-show-work.module.ts b/src/assets/wise5/components/aiChat/ai-chat-show-work/ai-chat-show-work.module.ts
deleted file mode 100644
index eeb7aa417f4..00000000000
--- a/src/assets/wise5/components/aiChat/ai-chat-show-work/ai-chat-show-work.module.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import { NgModule } from '@angular/core';
-import { AiChatShowWorkComponent } from './ai-chat-show-work.component';
-
-@NgModule({
- imports: [AiChatShowWorkComponent],
- exports: [AiChatShowWorkComponent]
-})
-export class AiChatShowWorkModule {}
diff --git a/src/assets/wise5/components/component/component-student.module.ts b/src/assets/wise5/components/component/component-student.module.ts
index d9cd2a6d2de..13c2c664dc9 100644
--- a/src/assets/wise5/components/component/component-student.module.ts
+++ b/src/assets/wise5/components/component/component-student.module.ts
@@ -1,62 +1,47 @@
-import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
-import { HighchartsChartModule } from 'highcharts-angular';
-import { StudentComponentModule } from '../../../../app/student/student.component.module';
-import { PreviewComponentComponent } from '../../authoringTool/components/preview-component/preview-component.component';
import { AnimationStudent } from '../animation/animation-student/animation-student.component';
import { ConceptMapStudent } from '../conceptMap/concept-map-student/concept-map-student.component';
import { DiscussionStudent } from '../discussion/discussion-student/discussion-student.component';
import { HtmlStudentComponent } from '../html/html-student/html-student.component';
import { LabelStudentComponent } from '../label/label-student/label-student.component';
-import { MatchStudentModule } from '../match/match-student/match-student.module';
-import { OpenResponseStudentModule } from '../openResponse/open-response-student/open-response-student.module';
import { ShowGroupWorkStudentModule } from '../showGroupWork/show-group-work-student/show-group-work-student.module';
import { ShowMyWorkStudentModule } from '../showMyWork/show-my-work-student/show-my-work-student.module';
-import { SummaryStudentModule } from '../summary/summary-student/summary-student.module';
import { TableStudentComponent } from '../table/table-student/table-student.component';
-import { ComponentComponent } from './component.component';
-import { HelpIconComponent } from '../../themes/default/themeComponents/helpIcon/help-icon.component';
import { MultipleChoiceStudentComponent } from '../multipleChoice/multiple-choice-student/multiple-choice-student.component';
import { DialogGuidanceStudentComponent } from '../dialogGuidance/dialog-guidance-student/dialog-guidance-student.component';
import { StudentAssetsDialogComponent } from '../../vle/studentAsset/student-assets-dialog/student-assets-dialog.component';
-import { AiChatStudentComponent } from '../aiChat/ai-chat-student/ai-chat-student.component';
import { AudioOscillatorStudent } from '../audioOscillator/audio-oscillator-student/audio-oscillator-student.component';
import { DrawStudent } from '../draw/draw-student/draw-student.component';
import { EmbeddedStudent } from '../embedded/embedded-student/embedded-student.component';
import { GraphStudent } from '../graph/graph-student/graph-student.component';
import { OutsideUrlStudent } from '../outsideURL/outside-url-student/outside-url-student.component';
import { PeerChatStudentComponent } from '../peerChat/peer-chat-student/peer-chat-student.component';
+import { SummaryStudent } from '../summary/summary-student/summary-student.component';
+import { MatchStudent } from '../match/match-student/match-student.component';
+import { OpenResponseStudent } from '../openResponse/open-response-student/open-response-student.component';
@NgModule({
imports: [
- AiChatStudentComponent,
AnimationStudent,
AudioOscillatorStudent,
- CommonModule,
- ComponentComponent,
ConceptMapStudent,
DialogGuidanceStudentComponent,
DiscussionStudent,
DrawStudent,
EmbeddedStudent,
GraphStudent,
- HelpIconComponent,
- HighchartsChartModule,
HtmlStudentComponent,
LabelStudentComponent,
- MatchStudentModule,
+ MatchStudent,
MultipleChoiceStudentComponent,
- OpenResponseStudentModule,
+ OpenResponseStudent,
OutsideUrlStudent,
PeerChatStudentComponent,
- PreviewComponentComponent,
- ShowGroupWorkStudentModule,
- ShowMyWorkStudentModule,
+ ShowGroupWorkStudentModule, // can't be converted to component - circular dependency with ComponentStudent?
+ ShowMyWorkStudentModule, // can't be converted to component - circular dependency with ComponentStudent?
StudentAssetsDialogComponent,
- StudentComponentModule,
- SummaryStudentModule,
+ SummaryStudent,
TableStudentComponent
- ],
- exports: [ComponentComponent, PreviewComponentComponent]
+ ]
})
export class ComponentStudentModule {}
diff --git a/src/assets/wise5/components/dialogGuidance/dialog-guidance-show-work/dialog-guidance-show-work.component.ts b/src/assets/wise5/components/dialogGuidance/dialog-guidance-show-work/dialog-guidance-show-work.component.ts
index 291973c8077..51b46569a8b 100644
--- a/src/assets/wise5/components/dialogGuidance/dialog-guidance-show-work/dialog-guidance-show-work.component.ts
+++ b/src/assets/wise5/components/dialogGuidance/dialog-guidance-show-work/dialog-guidance-show-work.component.ts
@@ -11,13 +11,13 @@ import { CRaterService } from '../../../services/cRaterService';
import { UserService } from '../../../../../app/services/user.service';
@Component({
- imports: [DialogResponsesComponent, MatCardModule],
- selector: 'dialog-guidance-show-work',
- styleUrls: [
- '../dialog-guidance-student/dialog-guidance-student.component.scss',
- './dialog-guidance-show-work.component.scss'
- ],
- template: `
+ imports: [DialogResponsesComponent, MatCardModule],
+ selector: 'dialog-guidance-show-work',
+ styleUrls: [
+ '../dialog-guidance-student/dialog-guidance-student.component.scss',
+ './dialog-guidance-show-work.component.scss'
+ ],
+ template: `
{
diff --git a/src/assets/wise5/services/componentServiceLookupServiceModule.ts b/src/assets/wise5/services/componentServiceLookupServiceModule.ts
deleted file mode 100644
index 0cd05813ad5..00000000000
--- a/src/assets/wise5/services/componentServiceLookupServiceModule.ts
+++ /dev/null
@@ -1,59 +0,0 @@
-import { NgModule } from '@angular/core';
-import { AnimationService } from '../components/animation/animationService';
-import { AudioOscillatorService } from '../components/audioOscillator/audioOscillatorService';
-import { ConceptMapService } from '../components/conceptMap/conceptMapService';
-import { DialogGuidanceService } from '../components/dialogGuidance/dialogGuidanceService';
-import { DiscussionService } from '../components/discussion/discussionService';
-import { DrawService } from '../components/draw/drawService';
-import { EmbeddedService } from '../components/embedded/embeddedService';
-import { GraphService } from '../components/graph/graphService';
-import { HTMLService } from '../components/html/htmlService';
-import { LabelService } from '../components/label/labelService';
-import { MatchService } from '../components/match/matchService';
-import { MultipleChoiceService } from '../components/multipleChoice/multipleChoiceService';
-import { OpenResponseCompletionCriteriaService } from '../components/openResponse/openResponseCompletionCriteriaService';
-import { OpenResponseService } from '../components/openResponse/openResponseService';
-import { OutsideURLService } from '../components/outsideURL/outsideURLService';
-import { PeerChatService } from '../components/peerChat/peerChatService';
-import { ShowGroupWorkService } from '../components/showGroupWork/showGroupWorkService';
-import { ShowMyWorkService } from '../components/showMyWork/showMyWorkService';
-import { SummaryService } from '../components/summary/summaryService';
-import { TableService } from '../components/table/tableService';
-import { ComponentServiceLookupService } from './componentServiceLookupService';
-import { ComputerAvatarService } from './computerAvatarService';
-import { ConfigService } from './configService';
-import { StudentAssetService } from './studentAssetService';
-import { AiChatService } from '../components/aiChat/aiChatService';
-
-@NgModule({
- declarations: [],
- imports: [],
- providers: [
- AiChatService,
- AnimationService,
- AudioOscillatorService,
- ComputerAvatarService,
- ComponentServiceLookupService,
- ConceptMapService,
- ConfigService,
- DialogGuidanceService,
- DiscussionService,
- DrawService,
- EmbeddedService,
- GraphService,
- LabelService,
- MatchService,
- MultipleChoiceService,
- OpenResponseCompletionCriteriaService,
- OpenResponseService,
- OutsideURLService,
- PeerChatService,
- HTMLService,
- ShowGroupWorkService,
- ShowMyWorkService,
- StudentAssetService,
- SummaryService,
- TableService
- ]
-})
-export class ComponentServiceLookupServiceModule {}
diff --git a/src/assets/wise5/services/componentTypeService.module.ts b/src/assets/wise5/services/componentTypeService.module.ts
deleted file mode 100644
index 2b1ec0038f1..00000000000
--- a/src/assets/wise5/services/componentTypeService.module.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import { NgModule } from '@angular/core';
-import { ComponentServiceLookupService } from './componentServiceLookupService';
-import { UserService } from '../../../app/services/user.service';
-import { ComponentTypeService } from './componentTypeService';
-import { ConfigService } from '../../../app/services/config.service';
-
-@NgModule({
- providers: [ComponentServiceLookupService, ComponentTypeService, ConfigService, UserService]
-})
-export class ComponentTypeServiceModule {}
diff --git a/src/assets/wise5/themes/default/themeComponents/helpIcon/help-icon.component.ts b/src/assets/wise5/themes/default/themeComponents/helpIcon/help-icon.component.ts
index 4b2e4100e50..6754eafdeb2 100644
--- a/src/assets/wise5/themes/default/themeComponents/helpIcon/help-icon.component.ts
+++ b/src/assets/wise5/themes/default/themeComponents/helpIcon/help-icon.component.ts
@@ -8,17 +8,17 @@ import { MatButtonModule } from '@angular/material/button';
import { MatIconModule } from '@angular/material/icon';
@Component({
- imports: [CommonModule, MatButtonModule, MatIconModule],
- selector: 'help-icon',
- styleUrl: 'help-icon.component.scss',
- templateUrl: 'help-icon.component.html'
+ imports: [CommonModule, MatButtonModule, MatIconModule],
+ selector: 'help-icon',
+ styleUrl: 'help-icon.component.scss',
+ templateUrl: 'help-icon.component.html'
})
export class HelpIconComponent {
@Input() content: string;
@Input() icon: string;
@Input() iconClass: string;
@Input() label: string;
- pulse: boolean = true;
+ protected pulse: boolean = true;
constructor(
public dialog: MatDialog,
diff --git a/src/assets/wise5/themes/default/themeComponents/nodeStatusIcon/node-status-icon.component.scss b/src/assets/wise5/themes/default/themeComponents/nodeStatusIcon/node-status-icon.component.scss
deleted file mode 100644
index 0552a1c0ee5..00000000000
--- a/src/assets/wise5/themes/default/themeComponents/nodeStatusIcon/node-status-icon.component.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-.mat-icon {
- vertical-align: middle;
-}
diff --git a/src/assets/wise5/themes/default/themeComponents/nodeStatusIcon/node-status-icon.component.ts b/src/assets/wise5/themes/default/themeComponents/nodeStatusIcon/node-status-icon.component.ts
index 31b4f3f17e0..10375047416 100644
--- a/src/assets/wise5/themes/default/themeComponents/nodeStatusIcon/node-status-icon.component.ts
+++ b/src/assets/wise5/themes/default/themeComponents/nodeStatusIcon/node-status-icon.component.ts
@@ -4,10 +4,10 @@ import { CommonModule } from '@angular/common';
import { MatIconModule } from '@angular/material/icon';
@Component({
- imports: [CommonModule, MatIconModule],
- selector: 'node-status-icon',
- styleUrl: 'node-status-icon.component.scss',
- templateUrl: 'node-status-icon.component.html'
+ imports: [CommonModule, MatIconModule],
+ selector: 'node-status-icon',
+ styles: ['.mat-icon { vertical-align: middle; }'],
+ templateUrl: 'node-status-icon.component.html'
})
export class NodeStatusIconComponent {
@Input() nodeId: string;
diff --git a/src/assets/wise5/vle/nav-item/nav-item.component.html b/src/assets/wise5/vle/nav-item/nav-item.component.html
index 63cd1f76169..b97654eabb1 100644
--- a/src/assets/wise5/vle/nav-item/nav-item.component.html
+++ b/src/assets/wise5/vle/nav-item/nav-item.component.html
@@ -18,7 +18,7 @@
[nodeId]="nodeId"
size="36"
[icon]="nodeStatus.icon"
- >
+ />
{{ nodeTitle }}
@@ -62,7 +62,7 @@
-
+
@if (!nodeStatus.isVisitable) {
-
+
{{ nodeTitle }}
-
+
@if (!nodeStatus.isVisitable) {
-}
-@if (!canEdit) {
+} @else {
}
diff --git a/src/assets/wise5/vle/node-icon/node-icon.component.ts b/src/assets/wise5/vle/node-icon/node-icon.component.ts
index a2c648198f7..c9cd462f575 100644
--- a/src/assets/wise5/vle/node-icon/node-icon.component.ts
+++ b/src/assets/wise5/vle/node-icon/node-icon.component.ts
@@ -1,5 +1,3 @@
-'use strict';
-
import { ProjectService } from '../../services/projectService';
import { Component, Input, SimpleChanges } from '@angular/core';
import { MatDialog } from '@angular/material/dialog';
@@ -8,10 +6,10 @@ import { CommonModule } from '@angular/common';
import { MatIconModule } from '@angular/material/icon';
@Component({
- imports: [CommonModule, MatIconModule],
- selector: 'node-icon',
- styleUrl: 'node-icon.component.scss',
- templateUrl: 'node-icon.component.html'
+ imports: [CommonModule, MatIconModule],
+ selector: 'node-icon',
+ styleUrl: 'node-icon.component.scss',
+ templateUrl: 'node-icon.component.html'
})
export class NodeIconComponent {
@Input() canEdit: boolean;
@@ -23,7 +21,10 @@ export class NodeIconComponent {
@Input() size: number;
protected sizeClass: string;
- constructor(protected dialog: MatDialog, protected projectService: ProjectService) {}
+ constructor(
+ protected dialog: MatDialog,
+ protected projectService: ProjectService
+ ) {}
ngOnChanges(changes: SimpleChanges): void {
this.node = this.projectService.getNode(this.nodeId);
diff --git a/src/messages.xlf b/src/messages.xlf
index b994a2e9001..8fa89812f11 100644
--- a/src/messages.xlf
+++ b/src/messages.xlf
@@ -2441,7 +2441,7 @@ Click "Cancel" to keep the invalid JSON open so you can fix it.
src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestone-class-responses/milestone-class-responses.component.html
- 75,77
+ 78,80
src/assets/wise5/classroomMonitor/classroomMonitorComponents/nodeGrading/node-class-responses/node-class-responses.component.html
@@ -10107,7 +10107,7 @@ Click "Cancel" to keep the invalid JSON open so you can fix it.
src/assets/wise5/authoringTool/node/edit-node-title/edit-node-title.component.ts
- 22
+ 29
@@ -10125,7 +10125,7 @@ Click "Cancel" to keep the invalid JSON open so you can fix it.
src/assets/wise5/authoringTool/node/edit-node-title/edit-node-title.component.ts
- 22
+ 29
@@ -14133,7 +14133,7 @@ The branches will be removed but the steps will remain in the unit.
Team
src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestone-class-responses/milestone-class-responses.component.html
- 41,43
+ 41,42
src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestone-details/milestone-details.component.html
@@ -14156,7 +14156,7 @@ The branches will be removed but the steps will remain in the unit.
Sort by completion
src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestone-class-responses/milestone-class-responses.component.html
- 55,58
+ 56,59
src/assets/wise5/classroomMonitor/student-grading/student-grading.component.html
@@ -14167,7 +14167,7 @@ The branches will be removed but the steps will remain in the unit.
Status
src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestone-class-responses/milestone-class-responses.component.html
- 58,60
+ 59,60
src/assets/wise5/classroomMonitor/classroomMonitorComponents/nodeGrading/node-class-responses/node-class-responses.component.html
@@ -14182,7 +14182,7 @@ The branches will be removed but the steps will remain in the unit.
Sort by score
src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestone-class-responses/milestone-class-responses.component.html
- 72,75
+ 75,78
src/assets/wise5/classroomMonitor/classroomMonitorComponents/nodeGrading/node-class-responses/node-class-responses.component.html
@@ -14197,37 +14197,37 @@ The branches will be removed but the steps will remain in the unit.
Sort by score on Step
src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestone-class-responses/milestone-class-responses.component.html
- 89,90
+ 94,95
src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestone-class-responses/milestone-class-responses.component.html
- 91,92
+ 96,97
src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestone-class-responses/milestone-class-responses.component.html
- 109,110
+ 116,117
src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestone-class-responses/milestone-class-responses.component.html
- 111,112
+ 118,119
Sort by change in score
src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestone-class-responses/milestone-class-responses.component.html
- 130,132
+ 139,141
src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestone-class-responses/milestone-class-responses.component.html
- 132,135
+ 141,144
+/-
src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestone-class-responses/milestone-class-responses.component.html
- 136,138
+ 145,146
@@ -16549,11 +16549,11 @@ Are you sure you want to proceed?
src/assets/wise5/components/openResponse/open-response-student/open-response-student.component.ts
- 203
+ 204
src/assets/wise5/components/openResponse/open-response-student/open-response-student.component.ts
- 219
+ 220
@@ -17490,7 +17490,7 @@ Are you ready to receive feedback on this answer?
src/assets/wise5/components/openResponse/open-response-student/open-response-student.component.ts
- 206
+ 207
@@ -17975,14 +17975,14 @@ Category Name:
Are you sure you want to delete this post?
src/assets/wise5/components/discussion/class-response/class-response.component.ts
- 129
+ 127
Are you sure you want to show this post?
src/assets/wise5/components/discussion/class-response/class-response.component.ts
- 135
+ 133
@@ -20438,7 +20438,7 @@ Current Score:
Are you ready to receive feedback on this answer?
src/assets/wise5/components/openResponse/open-response-student/open-response-student.component.ts
- 210
+ 211
@@ -20447,7 +20447,7 @@ Are you ready to receive feedback on this answer?
Are you ready to receive feedback on this answer?
src/assets/wise5/components/openResponse/open-response-student/open-response-student.component.ts
- 222
+ 223
@@ -20456,21 +20456,21 @@ Are you ready to receive feedback on this answer?
Are you ready to submit this answer?
src/assets/wise5/components/openResponse/open-response-student/open-response-student.component.ts
- 226
+ 227
We are scoring your work...
src/assets/wise5/components/openResponse/open-response-student/open-response-student.component.ts
- 345
+ 346
Please Wait
src/assets/wise5/components/openResponse/open-response-student/open-response-student.component.ts
- 346
+ 347
@@ -20478,7 +20478,7 @@ Are you ready to submit this answer?
If this problem continues, let your teacher know and move on to the next activity. Your work will still be saved.
src/assets/wise5/components/openResponse/open-response-student/open-response-student.component.ts
- 369
+ 370
@@ -20499,7 +20499,7 @@ If this problem continues, let your teacher know and move on to the next activit
An error occurred while recording:
src/assets/wise5/components/openResponse/speech-to-text/speech-to-text.component.ts
- 56
+ 57
@@ -20635,14 +20635,14 @@ If this problem continues, let your teacher know and move on to the next activit
You are not allowed to delete this Grouping Logic because you must have at least one.
src/assets/wise5/components/peerChat/peer-chat-authoring/peer-chat-authoring.component.ts
- 68
+ 66
Are you sure you want to delete this Grouping Logic?
src/assets/wise5/components/peerChat/peer-chat-authoring/peer-chat-authoring.component.ts
- 70
+ 68
@@ -20730,14 +20730,14 @@ If this problem continues, let your teacher know and move on to the next activit
You have new chat messages
src/assets/wise5/components/peerChat/peer-chat-student/peer-chat-student.component.ts
- 252
+ 251
Are you sure you want to replace the current text in your response input box with this text?
src/assets/wise5/components/peerChat/peer-chat-student/peer-chat-student.component.ts
- 302
+ 301