-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Classroom Monitor): Add save indicator for comments and scores (#…
…1560) Co-authored-by: Jonathan Lim-Breitbart <[email protected]>
- Loading branch information
1 parent
c8ca1dc
commit 5986dd4
Showing
13 changed files
with
222 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,8 @@ | |
.toolbar__tools { | ||
padding: 0 4px; | ||
width: 100%; | ||
} | ||
|
||
save-indicator { | ||
margin: 0 16px; | ||
} |
11 changes: 11 additions & 0 deletions
11
src/assets/wise5/common/save-indicator/save-indicator.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<div fxLayout="row wrap" fxLayoutAlign="start center"> | ||
<mat-spinner | ||
*ngIf="globalMessage.isProgressIndicatorVisible" | ||
[mode]="'indeterminate'" | ||
[diameter]="24" | ||
> | ||
</mat-spinner> | ||
<span *ngIf="globalMessage.text" class="component__actions__info mat-small global-message"> | ||
{{ globalMessage.text }} {{ globalMessage.time | date: 'medium' }} | ||
</span> | ||
</div> |
Empty file.
24 changes: 24 additions & 0 deletions
24
src/assets/wise5/common/save-indicator/save-indicator.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
import { SaveIndicatorComponent } from './save-indicator.component'; | ||
import { StudentTeacherCommonServicesModule } from '../../../../app/student-teacher-common-services.module'; | ||
import { HttpClientTestingModule } from '@angular/common/http/testing'; | ||
import { MatDialogModule } from '@angular/material/dialog'; | ||
|
||
describe('SaveIndicatorComponent', () => { | ||
let component: SaveIndicatorComponent; | ||
let fixture: ComponentFixture<SaveIndicatorComponent>; | ||
|
||
beforeEach(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [SaveIndicatorComponent], | ||
imports: [HttpClientTestingModule, MatDialogModule, StudentTeacherCommonServicesModule] | ||
}); | ||
fixture = TestBed.createComponent(SaveIndicatorComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
Oops, something went wrong.