Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
98bb506
Remove FlexLayout from PeerReviewAndRevisionComponent
hirokiterashima Aug 14, 2025
26332ef
Remove FlexLayout from AddProjectComponent
hirokiterashima Aug 14, 2025
e3dccf8
Remove FlexLayout from NodeNavigationComponent
hirokiterashima Aug 14, 2025
3676285
Remove FlexLayout from NotebookItemComponent
hirokiterashima Aug 14, 2025
0fd4e56
Remove FlexLayout from MoveUserConfirmDialogComponent and clean up code
hirokiterashima Aug 14, 2025
52c0f64
Remove FlexLayout from ComponentAnnotationsComponent
hirokiterashima Aug 14, 2025
794e6ad
Remove FlexLayout from ManageTagsDialogComponent
hirokiterashima Aug 15, 2025
cb0597b
Remove FlexLayout from ManageUserComponent
hirokiterashima Aug 15, 2025
f924650
Remove FlexLayout from ManagePeriodComponent
hirokiterashima Aug 15, 2025
8d03c6b
Remove FlexLayout from NotebookReportComponent
hirokiterashima Aug 15, 2025
a4e166c
Remove FlexLayout from ClassroomMonitorComponent
hirokiterashima Aug 15, 2025
970f45c
Remove FlexLayout from ToolBarComponent
hirokiterashima Aug 15, 2025
dfa86ea
Remove FlexLayout from DialogWithSpinnerComponent
hirokiterashima Aug 15, 2025
f4207a9
Remove FlexLayout from NewsComponent
hirokiterashima Aug 15, 2025
580568b
Remove FlexLayout from GenerateImageDialogComponent
hirokiterashima Aug 15, 2025
67843ab
Remove FlexLayout from MainMenuComponent
hirokiterashima Aug 15, 2025
58951f2
Remove FlexLayout from ExportStepVisitsComponent
hirokiterashima Aug 15, 2025
2ae53cb
Remove FlexLayout from ExportEventsComponent
hirokiterashima Aug 15, 2025
10ef21d
Remove FlexLayout from ExportItemComponent
hirokiterashima Aug 15, 2025
13bbe03
Remove FlexLayout from ExportRawDataComponent
hirokiterashima Aug 15, 2025
96b47d8
Remove FlexLayout from DataExportComponent
hirokiterashima Aug 15, 2025
b9f366c
Remove FlexLayout from SelectStepAndComponentCheckboxesComponent
hirokiterashima Aug 15, 2025
fe78449
Upgrade to Angular 20
hirokiterashima Aug 16, 2025
c554166
Upgrade buildspec nodejs version to work with Angular 20
hirokiterashima Aug 16, 2025
85e069f
Merge branch 'remove-flex-layout-aug-2025' into remove-remaining-flex…
hirokiterashima Aug 16, 2025
04a0fa5
Merge branch 'develop' into remove-remaining-flex-layout
hirokiterashima Aug 19, 2025
6ca4e26
Merge branch 'develop' into remove-remaining-flex-layout
hirokiterashima Aug 21, 2025
e5b548b
Remove FlexLayout from WorkgroupInfoComponent
hirokiterashima Aug 21, 2025
5221853
Remove FlexLayout from PauseScreensMenuComponent
hirokiterashima Aug 21, 2025
d12cf77
Remove FlexLayout from WorkgroupNodeScoreComponent
hirokiterashima Aug 21, 2025
1754066
Remove FlexLayout from SelectStepAndComponentCheckboxesComponent
hirokiterashima Aug 21, 2025
b26eede
Remove FlexLayout from NotificationsMenuComponent
hirokiterashima Aug 21, 2025
fe61e4f
Remove FlexLayout from StepToolsComponent
hirokiterashima Aug 21, 2025
db06563
Remove FlexLayout from ChangeStudentPasswordDialogComponent
hirokiterashima Aug 21, 2025
bd0c8a6
Remove FlexLayout from EditComponentScoreComponent
hirokiterashima Aug 21, 2025
c1954f9
Remove FlexLayout from EditComponentAnnotationsComponent
hirokiterashima Aug 21, 2025
ea2d964
Remove FlexLayout from NavItemProgressComponent
hirokiterashima Aug 21, 2025
a0da946
Remove FlexLayout from StepInfoComponent
hirokiterashima Aug 21, 2025
3e96212
Remove FlexLayout from NavItemScoreComponent
hirokiterashima Aug 21, 2025
b62ccda
Remove FlexLayout from NodeInfoComponent
hirokiterashima Aug 21, 2025
0a87d4b
Remove FlexLayout from NavItemComponent
hirokiterashima Aug 21, 2025
f3a5a0e
Remove FlexLayout from ProjectProgressComponent
hirokiterashima Aug 22, 2025
1d5dd17
Remove FlexLayout from MilestoneDetailsComponent
hirokiterashima Aug 22, 2025
299ce61
Remove FlexLayout from PeerGroupDialogComponent
hirokiterashima Aug 22, 2025
be55b27
Remove FlexLayout from PeerGroupWorkgroupComponent
hirokiterashima Aug 22, 2025
a1078b2
Remove FlexLayout from PeerGroupGroupingComponent
hirokiterashima Aug 22, 2025
b4ef291
Remove FlexLayout from PeerGroupPeriodComponent
hirokiterashima Aug 22, 2025
8043994
Remove FlexLayout from PeerGroupMoveWorkgroupConfirmDialogComponent
hirokiterashima Aug 22, 2025
289bae8
Remove FlexLayout from StudentGradingToolsComponent
hirokiterashima Aug 22, 2025
900a2ce
Remove FlexLayout from PeerGroupAssignedWorkgroupsComponent (partial)
hirokiterashima Aug 22, 2025
f65f4f2
Fix unit test
hirokiterashima Aug 22, 2025
a5ac598
Merge branch 'develop' into remove-remaining-flex-layout
hirokiterashima Sep 12, 2025
b25a43a
Remove FlexLayout from ComputerAvatarSelectorComponent
hirokiterashima Sep 12, 2025
046965b
Remove FlexLayout from EditTagComponent
hirokiterashima Sep 12, 2025
b9bf812
Remove FlexLayoutModule dep from HeaderLinksComponent, FooterComponen…
hirokiterashima Sep 15, 2025
70dcb7a
Remove FlexLayout from LoginModule and clean up related files
hirokiterashima Sep 15, 2025
1de8e4a
Remove FlexLayout from ContactModule and clean up related files
hirokiterashima Sep 15, 2025
f70dacb
Remove FlexLayout from LibraryProjectDetailsComponent
hirokiterashima Sep 15, 2025
2d16a56
Merge branch 'develop' into remove-remaining-flex-layout
hirokiterashima Sep 15, 2025
c9ad464
Remove FlexLayout from AiChatModule and clean up related files
hirokiterashima Sep 15, 2025
58ebd25
Remove FlexLayout from PasswordModule and clean up related files
hirokiterashima Sep 15, 2025
fba9244
Remove FlexLayout from DiscussionCommonModule and clean up related files
hirokiterashima Sep 15, 2025
ebd342a
Remove FlexLayout from MilestonesComponent
breity Sep 15, 2025
a1d2d68
Clean up ContactFormComponent
breity Sep 15, 2025
34438c1
Updated messages
github-actions[bot] Sep 15, 2025
ca6316e
Remove FlexLayout from spec files
hirokiterashima Sep 15, 2025
5563d20
Remove FlexLayout from StudentAssetsDialogModule and clean up related…
hirokiterashima Sep 16, 2025
03befef
Remove FlexLayout from AppComponent template and clean up related files
hirokiterashima Sep 16, 2025
e2a0530
Remove FlexLayout from PeerChatGradingModule and clean up related fil…
hirokiterashima Sep 16, 2025
f2c1256
Remove FlexLayout from PeerChatShowWorkModule and clean up related files
hirokiterashima Sep 16, 2025
1fbf8e7
Clean up and remove FlexLayout from DiscourseLatestNewsComponent
breity Sep 16, 2025
9afc105
Remove FlexLayout from NodeWorkgroupItem
breity Sep 16, 2025
7b9ea83
Merge remote-tracking branch 'origin/remove-remaining-flex-layout' in…
hirokiterashima Sep 16, 2025
5cff31f
Remove FlexLayout from NotebookNotesComponent
breity Sep 16, 2025
7acd0f2
Remove FlexLayout from ShowGroupWorkDisplayComponent and clean up rel…
hirokiterashima Sep 16, 2025
e810eb9
Merge remote-tracking branch 'origin/remove-remaining-flex-layout' in…
hirokiterashima Sep 16, 2025
824c8e0
Fix app layout (AT was not showing up)
hirokiterashima Sep 16, 2025
644a19a
Remove FlexLayout from StudentAccountMenuComponent and clean up relat…
hirokiterashima Sep 16, 2025
337ee16
Remove FlexLayout from MobileMenuComponent and clean up related files
hirokiterashima Sep 16, 2025
d74bac7
Remove FlexLayout from CallToActionComponent and clean up related files
hirokiterashima Sep 16, 2025
36872b0
Remove FlexLayout from EditComponentCommentComponent and clean up rel…
hirokiterashima Sep 16, 2025
4322d34
Remove FlexLayout from EditNotebookItemDialogModule and clean up rela…
hirokiterashima Sep 16, 2025
a169613
Remove FlexLayout from DismissAmbientNotificationDialogModule and cle…
hirokiterashima Sep 16, 2025
d3b9503
Remove FlexLayout from PeerChatStudentModule and clean up related files
hirokiterashima Sep 16, 2025
c8653a4
Remove FlexLayout from PeerChatModule and clean up related files
hirokiterashima Sep 16, 2025
8dd68a5
Remove FlexLayout from MatchCommonModule and clean up related files
hirokiterashima Sep 16, 2025
d08a80c
Remove FlexLayout from LibraryModule and clean up related files
hirokiterashima Sep 16, 2025
96c2b62
Merge branch 'develop' into remove-remaining-flex-layout
hirokiterashima Sep 16, 2025
d2c540c
Remove FlexLayout from TeacherModule and clean up related files
hirokiterashima Sep 16, 2025
42a9493
Remove FlexLayout from StudentModule and clean up related files
hirokiterashima Sep 16, 2025
3e8d170
Remove FlexLayout from NotebookModule and clean up related files. Con…
hirokiterashima Sep 17, 2025
fc6c78a
Remove FlexLayout from DiscourseCategoryActivityComponent
hirokiterashima Sep 17, 2025
d2dea31
Remove FlexLayout from GradingStepToolsComponent and clean up related…
hirokiterashima Sep 17, 2025
e4b8c5a
Remove FlexLayout from EditComponentCommentComponent
hirokiterashima Sep 17, 2025
c9c6462
Update DiscoursLatestNewsComponent to match Tailwind breakpoints
breity Sep 17, 2025
f5eaaa7
Remove FlexLayout from HeroSectionComponent
breity Sep 17, 2025
0bcc72c
Removed WorkgroupItemComponent. No longer used.
hirokiterashima Sep 17, 2025
eaeb6de
Remove FlexLayout from ManageTeamComponent
breity Sep 17, 2025
1f05c31
Remove FlexLayout from ManageTeamComponents
breity Sep 17, 2025
a04632e
Updated messages
github-actions[bot] Sep 17, 2025
f7d7057
Remove FlexLayout from AddTeamDialogComponent
breity Sep 17, 2025
34a1bcf
Updated messages
github-actions[bot] Sep 17, 2025
e826f39
Remove FlexLayout from TopBarComponent
breity Sep 17, 2025
f3f4b28
Updated messages
github-actions[bot] Sep 17, 2025
ecee7c5
Remove FlexLayout from StepItemComponent
breity Sep 17, 2025
21bac48
Updated messages
github-actions[bot] Sep 17, 2025
f9635f9
Remove FlexLayout from StudentProgressComponent
breity Sep 17, 2025
9e26657
Updated messages
github-actions[bot] Sep 17, 2025
9a0c830
Remove FlexLayout from NodeIconChooserComponent
breity Sep 17, 2025
d8a01bb
Updated messages
github-actions[bot] Sep 17, 2025
fc45b07
Remove FlexLayout from ViewComponentRevisionsComponent
breity Sep 17, 2025
aab0802
Updated messages
github-actions[bot] Sep 17, 2025
f52fd31
Remove FlexLayout from PeerGroupAssignedWorkgroupsComponent
breity Sep 17, 2025
8654509
Remove FlexLayout from PeerGroupUnssignedWorkgroupsComponent
breity Sep 17, 2025
c374a8f
Fix layout for PeerGroupDialogComponent
breity Sep 17, 2025
ce92387
Fix layout for PeerGroupMoveWorkgroupsComponent
breity Sep 17, 2025
76fc9ad
Fix StepItemComponent and StudentGradingComponent layout
breity Sep 17, 2025
9f9c6d4
Updated messages
github-actions[bot] Sep 17, 2025
a0fc10a
Remove FlexLayout from WorkgroupComponentGradingsComponent
breity Sep 18, 2025
c32ac10
Remove FlexLayout from and restore MilestoneClassResponsesComponent
breity Sep 18, 2025
cdd58ea
Remove FlexLayout from MilestoneWorkgroupItemComponent
breity Sep 18, 2025
955f0b3
Updated messages
github-actions[bot] Sep 18, 2025
a1889b5
Remove FlexLayout from and clean up DiscussionStudentComponent
breity Sep 18, 2025
3f26e39
Updated messages
github-actions[bot] Sep 18, 2025
5b17736
Remove FlexLayout from HomeComponent
breity Sep 18, 2025
b9451ae
Updated messages
github-actions[bot] Sep 18, 2025
ad7718b
Remove FlexLayout from PeerGroupUnassignedWorkgroupsComponent spec an…
hirokiterashima Sep 18, 2025
990ef59
Remove FlexLayout from NodeProgressViewComponent
breity Sep 18, 2025
e51731e
Remove FlexLayout from NotebookWorkgroupGradingComponent
breity Sep 18, 2025
b2a5bca
Remove FlexLayout from NotebookGradingCompnent
breity Sep 18, 2025
1742d92
Updated messages
github-actions[bot] Sep 18, 2025
0c4d02d
Remove FlexLayout from StudentTeacherCommonModule and SharedModule
breity Sep 18, 2025
4b92bb7
Remove FlexLayout from forgot component
breity Sep 18, 2025
7072b36
Remove FlexLayout from OutsideUrlAuthoringComponent
breity Sep 18, 2025
603588d
Updated messages
github-actions[bot] Sep 18, 2025
cf42a03
Remove FlexLayout from NotebookReportComponent
breity Sep 18, 2025
49840b5
Remove FlexLayout from AppComponent
breity Sep 18, 2025
df0e7cc
Remove FlexLayout from AppComponent tests
breity Sep 18, 2025
c6c7a2a
Updated messages
github-actions[bot] Sep 18, 2025
d580eb3
Remove flex-layout dependency
breity Sep 18, 2025
26a12df
Merge branch 'develop' into remove-remaining-flex-layout
breity Sep 22, 2025
9a86cbf
Fix teacher home and class schedule header layout
breity Sep 22, 2025
f045afb
Updated messages
github-actions[bot] Sep 22, 2025
e09910e
Fix alignment of Team column header in MilestoneClassResponsesComponent
breity Sep 23, 2025
0fa16cc
Fix node NodeIconComponent button background size
breity Sep 23, 2025
aac5e17
Fix MilestonesComponent layout alignment
breity Sep 23, 2025
e501fff
Center align milestone completion text
breity Sep 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"@angular/compiler": "^20.1.7",
"@angular/core": "^20.1.7",
"@angular/elements": "^20.1.7",
"@angular/flex-layout": "^15.0.0-beta.42",
"@angular/forms": "^20.1.7",
"@angular/material": "^20.1.6",
"@angular/platform-browser": "^20.1.7",
Expand Down
3 changes: 1 addition & 2 deletions src/app/announcement/announcement.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ import {
} from '@angular/material/dialog';
import { MatIconModule } from '@angular/material/icon';
import { MatButtonModule } from '@angular/material/button';
import { FlexLayoutModule } from '@angular/flex-layout';

@Component({
encapsulation: ViewEncapsulation.None,
imports: [FlexLayoutModule, MatButtonModule, MatDialogModule, MatIconModule],
imports: [MatButtonModule, MatDialogModule, MatIconModule],
selector: 'app-announcement',
styleUrl: './announcement.component.scss',
templateUrl: './announcement.component.html'
Expand Down
10 changes: 5 additions & 5 deletions src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<mat-sidenav-container fullscreen [class.has-announcement]="hasAnnouncement" class="app-background">
<mat-sidenav #mobileMenu class="primary-bg" [(opened)]="showMobileMenu" position="end">
<app-mobile-menu></app-mobile-menu>
<app-mobile-menu />
</mat-sidenav>
<mat-sidenav-content fxLayout="column" (scroll)="onYPositionChange($event)">
<mat-sidenav-content class="!flex flex-col" (scroll)="onYPositionChange($event)">
@if (hasAnnouncement && showHeaderAndFooter) {
<app-announcement
class="top-content"
Expand All @@ -13,11 +13,11 @@
@if (showHeaderAndFooter) {
<app-header class="dark-theme top-content" />
}
<div fxFlex>
<router-outlet></router-outlet>
<div class="flex-1">
<router-outlet />
</div>
@if (showHeaderAndFooter) {
<app-footer></app-footer>
<app-footer />
}
@if (showHeaderAndFooter) {
<div class="to-top dark-theme" [ngClass]="{ active: scroll, inactive: !scroll }">
Expand Down
15 changes: 0 additions & 15 deletions src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { TestBed, ComponentFixture } from '@angular/core/testing';
import { AppComponent } from './app.component';
import { NO_ERRORS_SCHEMA } from '@angular/core';
import { MediaChange, MediaObserver } from '@angular/flex-layout';
import { Observable, BehaviorSubject } from 'rxjs';
import { UtilService } from './services/util.service';
import { Announcement } from './domain/announcement';
Expand Down Expand Up @@ -48,19 +47,6 @@ export class MockUtilService {
}
}

export class MockObservableMedia {
isActive(query: string): boolean {
return false;
}

asObservable(): Observable<MediaChange> {
return new Observable((observer) => {
observer.next(new MediaChange());
observer.complete();
});
}
}

describe('AppComponent', () => {
let component: AppComponent;
let fixture: ComponentFixture<AppComponent>;
Expand All @@ -72,7 +58,6 @@ describe('AppComponent', () => {
providers: [
{ provide: ConfigService, useClass: MockConfigService },
{ provide: UtilService, useClass: MockUtilService },
{ provide: MediaObserver, useClass: MockObservableMedia },
provideRouter([])
],
schemas: [NO_ERRORS_SCHEMA]
Expand Down
19 changes: 8 additions & 11 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import { Router, NavigationEnd, NavigationStart } from '@angular/router';
import { DomSanitizer } from '@angular/platform-browser';
import { MatIconRegistry } from '@angular/material/icon';
import { Subscription } from 'rxjs';
import { MediaChange, MediaObserver } from '@angular/flex-layout';
import { UtilService } from './services/util.service';
import { ConfigService } from './services/config.service';
import { Announcement } from './domain/announcement';
import { environment } from '../environments/environment';
import { BreakpointObserver } from '@angular/cdk/layout';
declare let gtag: Function;

@Component({
Expand All @@ -21,7 +21,6 @@ export class AppComponent {
title = 'app';
showMobileMenu: boolean = false;
theme: string = '';
mediaWatcher: Subscription;
googleAnalyticsId: string = null;
hasAnnouncement: boolean = false;
showDefaultMode: boolean = true;
Expand All @@ -37,13 +36,13 @@ export class AppComponent {
};

constructor(
private router: Router,
private breakpointObserver: BreakpointObserver,
private configService: ConfigService,
@Inject(DOCUMENT) private document: Document,
iconRegistry: MatIconRegistry,
private router: Router,
sanitizer: DomSanitizer,
utilService: UtilService,
media: MediaObserver,
private configService: ConfigService,
@Inject(DOCUMENT) private document: Document
utilService: UtilService
Comment on lines 38 to +45
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function with many parameters (count = 7): constructor [qlty:function-parameters]

) {
iconRegistry.addSvgIcon(
'ki-elicit',
Expand Down Expand Up @@ -96,10 +95,8 @@ export class AppComponent {
utilService.getMobileMenuState().subscribe((state) => {
this.showMobileMenu = state;
});
this.mediaWatcher = media.asObservable().subscribe((change: MediaChange[]) => {
if (media.isActive('gt-sm')) {
utilService.showMobileMenu(false);
}
this.breakpointObserver.observe(['(max-width: 40rem)']).subscribe((result) => {
utilService.showMobileMenu(false);
});
router.events.subscribe((event) => {
utilService.showMobileMenu(false);
Expand Down
12 changes: 5 additions & 7 deletions src/app/classroom-monitor/milestones/milestones.component.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="view-content view-content--with-sidemenu">
<div class="l-constrained">
<div fxLayout="row wrap" fxLayoutAlign="center center" fxLayoutAlign.gt-xs="start center">
<div class="flex flex-wrap justify-center sm:justify-center">
@for (milestone of milestones; track milestone) {
<mat-card
appearance="outlined"
Expand All @@ -12,8 +12,8 @@
(click)="showMilestoneDetails(milestone, $event)"
(keyup.enter)="showMilestoneDetails(milestone, $event)"
>
<mat-card-content fxLayout="column" fxLayoutAlign="center center">
<div class="milestone__title" md-truncate>{{ milestone.name }}</div>
<mat-card-content class="!flex flex-col items-center justify-items-center">
<div class="milestone__title center" md-truncate>{{ milestone.name }}</div>
<div class="milestone__progress mat-app-background">
<mat-progress-spinner
diameter="96"
Expand All @@ -22,9 +22,7 @@
[ngClass]="{ success: milestone.percentageCompleted === 100 }"
></mat-progress-spinner>
<div
class="milestone__progress__percent mat-subtitle-2"
fxLayout="row"
fxLayoutAlign="center center"
class="milestone__progress__percent mat-subtitle-2 flex justify-center items-center"
>
@if (milestone.percentageCompleted < 100) {
<span>{{ milestone.percentageCompleted }}%</span>
Expand All @@ -34,7 +32,7 @@
}
</div>
</div>
<p class="text-secondary" i18n>
<p class="text-secondary center" i18n>
{{ milestone.numberOfStudentsCompleted }}/{{ milestone.numberOfStudentsInRun }} teams
completed
</p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<span fxLayout="row" fxLayoutAlign="start center">
<span class="flex justify-start items-center">
<span class="progress-wrapper" tabindex="0">
@if (period.periodId === -1) {
<mat-progress-bar
Expand All @@ -20,7 +20,7 @@
/>
}
</span>
<span class="nav-item__progress-value md-body-2 text-secondary" hide-xs
<span class="nav-item__progress-value md-body-2 text-secondary hidden md:block"
>{{ nodeCompletion }}%</span
>
</span>
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import { Component, Input, ViewEncapsulation } from '@angular/core';
import { FlexLayoutModule } from '@angular/flex-layout';
import { MatProgressBarModule } from '@angular/material/progress-bar';
import { MatTooltipModule } from '@angular/material/tooltip';

@Component({
encapsulation: ViewEncapsulation.None,
imports: [FlexLayoutModule, MatProgressBarModule, MatTooltipModule],
imports: [MatProgressBarModule, MatTooltipModule],
selector: 'nav-item-progress',
styleUrl: 'nav-item-progress.component.scss',
templateUrl: 'nav-item-progress.component.html'
})
export class NavItemProgressComponent {
Expand Down
18 changes: 5 additions & 13 deletions src/app/classroom-monitor/step-info/step-info.component.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
<div fxLayout="row" fxLayoutAlign="start center">
<node-icon [nodeId]="nodeId" size="18" fxHide.xs />
<span fxHide.xs>&nbsp;&nbsp;</span>
<div class="flex justify-start items-center">
<node-icon [nodeId]="nodeId" size="18" class="hidden sm:block" />
<span class="hidden sm:block">&nbsp;&nbsp;</span>
<span>{{ stepTitle }}</span>
@if (hasAlert) {
<status-icon
[class]="alertIconClass"
[name]="alertIconName"
[tooltip]="alertIconLabel"
/>
<status-icon [class]="alertIconClass" [name]="alertIconName" [tooltip]="alertIconLabel" />
}
@if (hasRubrics) {
<status-icon
class="info"
name="info"
[tooltip]="rubricIconLabel"
/>
<status-icon class="info" name="info" [tooltip]="rubricIconLabel" />
}
@if (hasNewWork) {
<span class="badge badge--info animate-fade" i18n>New</span>
Expand Down
3 changes: 1 addition & 2 deletions src/app/classroom-monitor/step-info/step-info.component.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import { Component, Input } from '@angular/core';
import { TeacherProjectService } from '../../../assets/wise5/services/teacherProjectService';
import { FlexLayoutModule } from '@angular/flex-layout';
import { StatusIconComponent } from '../status-icon/status-icon.component';
import { NodeIconComponent } from '../../../assets/wise5/vle/node-icon/node-icon.component';

@Component({
imports: [FlexLayoutModule, NodeIconComponent, StatusIconComponent],
imports: [NodeIconComponent, StatusIconComponent],
selector: 'step-info',
templateUrl: 'step-info.component.html'
})
Expand Down
Loading
Loading