Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
69493fa
Remove unused AiChatShowWorkModule
hirokiterashima Oct 15, 2025
c187f1a
Remove unnecessary imports
hirokiterashima Oct 15, 2025
40cca13
Remove unused PeerChatShowWorkModule
hirokiterashima Oct 15, 2025
99b22eb
Remove ComponentServiceLookupServiceModule. Was only being used in test
hirokiterashima Oct 15, 2025
20071d0
Remove SummaryStudentModule
hirokiterashima Oct 15, 2025
3dc598b
Remove MatchStudentModule and MatchCommonModule. Import standalone co…
hirokiterashima Oct 15, 2025
45477d0
Remove HelpIconComponent dep. Import directly in places needed.
hirokiterashima Oct 15, 2025
9dbf205
Remove PreviewComponentComponent dep. Import directly in places needed.
hirokiterashima Oct 15, 2025
56eac16
Remove ComponentComponent and HighchartsChartModule. These are import…
hirokiterashima Oct 16, 2025
3ea1d50
Remove OpenResponseStudent module. Directly import component and prov…
hirokiterashima Oct 16, 2025
eaeb70b
Ignore ComponentInfoDialogComponent tests for now. Will fix later.
hirokiterashima Oct 16, 2025
27ab052
Remove PauseScreenMenuComponent from ClassroomMonitorModule
hirokiterashima Oct 16, 2025
0ffa5f8
Remove HighchartsChartModule from modules
hirokiterashima Oct 16, 2025
3d9cbc7
Remove NodeStatusIconComponent from StudentTeacherCommonModule. It's …
hirokiterashima Oct 16, 2025
7654d34
Remove DialogResponsesComponent. It's imported by component that uses…
hirokiterashima Oct 16, 2025
b67d177
Remove NodeIconComponent. It's imported by component that uses it.
hirokiterashima Oct 16, 2025
b7391a9
Remove NotebookModule. It's imported by component that uses it.
hirokiterashima Oct 16, 2025
409f71b
Remove StudentTeacherCommonModule
hirokiterashima Oct 16, 2025
28b7ee6
Remove StatusIconComponent from GradingCommonModule. It's imported by…
hirokiterashima Oct 16, 2025
9f1e87b
Remove ComponentGradingComponent from modules. It's imported by compo…
hirokiterashima Oct 16, 2025
58cf3c6
Remove ComponentStateInfoComponent from modules. It's imported by com…
hirokiterashima Oct 16, 2025
8c3b222
Remove StudentComponentModule. It's imported by component that uses it.
hirokiterashima Oct 16, 2025
30e1822
Remove GradingCommonModule. It's imported by component that uses it.
hirokiterashima Oct 16, 2025
861a418
Remove ComponentAuthoringModule
hirokiterashima Oct 16, 2025
3beed01
Clean up imports
hirokiterashima Oct 16, 2025
e16e4dd
EditNodeTitleComponent: move template inline
hirokiterashima Oct 16, 2025
beb0287
Remove StudentVLEModule and use StudentRoutingModule instead
hirokiterashima Oct 16, 2025
f899369
Replace jquery with angular equivalent
hirokiterashima Nov 17, 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
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ import { Component as WISEComponent } from '../../../assets/wise5/common/Compone
import { components } from '../../../assets/wise5/components/Components';

@Component({
templateUrl: './edit-component-advanced.component.html',
imports: [MatDivider, MatDialogModule, MatButtonModule],
styles: [
'.mat-divider { margin: 0 -16px; } .mat-mdc-dialog-content { padding-top: 10px !important; padding-bottom: 10px !important; }'
],
imports: [MatDivider, MatDialogModule, MatButtonModule]
templateUrl: './edit-component-advanced.component.html'
})
export class EditComponentAdvancedComponent {
@ViewChild('component') private componentElementRef: ElementRef;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import { Component, Input } from '@angular/core';
import { MatTooltipModule } from '@angular/material/tooltip';

@Component({
imports: [CommonModule, MatTooltipModule],
selector: 'alert-status-corner',
styleUrl: 'alert-status-corner.scss',
templateUrl: 'alert-status-corner.component.html'
imports: [CommonModule, MatTooltipModule],
selector: 'alert-status-corner',
styleUrl: 'alert-status-corner.scss',
templateUrl: 'alert-status-corner.component.html'
})
export class AlertStatusCornerComponent {
@Input() hasNewAlert: boolean;
Expand Down

This file was deleted.

15 changes: 12 additions & 3 deletions src/app/classroom-monitor/status-icon/status-icon.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,18 @@ import { MatIconModule } from '@angular/material/icon';
import { MatTooltipModule } from '@angular/material/tooltip';

@Component({
imports: [MatIconModule, MatTooltipModule],
selector: 'status-icon',
templateUrl: 'status-icon.component.html'
imports: [MatIconModule, MatTooltipModule],
selector: 'status-icon',
template: `
<mat-icon
class="{{ class }}"
tabindex="0"
matTooltip="{{ tooltip }}"
matTooltipPosition="above"
>
{{ name }}
</mat-icon>
`
})
export class StatusIconComponent {
@Input() class: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { MatButton } from '@angular/material/button';
import { MatCard, MatCardContent } from '@angular/material/card';

@Component({
templateUrl: './forgot-user-password-complete.component.html',
imports: [MatCard, MatCardContent, MatButton]
imports: [MatCard, MatCardContent, MatButton],
templateUrl: './forgot-user-password-complete.component.html'
})
export class ForgotUserPasswordCompleteComponent {
@Input() username: string;
Expand Down
8 changes: 4 additions & 4 deletions src/app/help/help.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { Component } from '@angular/core';
import { RouterModule } from '@angular/router';

@Component({
imports: [RouterModule],
selector: 'app-help',
styleUrl: './help.component.scss',
templateUrl: './help.component.html'
imports: [RouterModule],
selector: 'app-help',
styleUrl: './help.component.scss',
templateUrl: './help.component.html'
})
export class HelpComponent {}
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { Component } from '@angular/core';
import { RouterModule } from '@angular/router';

@Component({
selector: 'app-header-signin',
imports: [RouterModule],
templateUrl: './header-signin.component.html',
styleUrls: ['./header-signin.component.scss']
imports: [RouterModule],
selector: 'app-header-signin',
styleUrl: './header-signin.component.scss',
templateUrl: './header-signin.component.html'
})
export class HeaderSigninComponent {}
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import { MatTooltipModule } from '@angular/material/tooltip';
type SelectAllItemsStatus = 'none' | 'some' | 'all';

@Component({
imports: [MatCheckboxModule, MatTooltipModule],
providers: [{ provide: MAT_CHECKBOX_DEFAULT_OPTIONS, useValue: { clickAction: 'noop' } }],
selector: 'select-all-items-checkbox',
styleUrl: 'select-all-items-checkbox.component.scss',
templateUrl: './select-all-items-checkbox.component.html'
imports: [MatCheckboxModule, MatTooltipModule],
providers: [{ provide: MAT_CHECKBOX_DEFAULT_OPTIONS, useValue: { clickAction: 'noop' } }],
selector: 'select-all-items-checkbox',
styleUrl: 'select-all-items-checkbox.component.scss',
templateUrl: './select-all-items-checkbox.component.html'
})
export class SelectAllItemsCheckboxComponent {
@Output() allSelectedEvent: EventEmitter<void> = new EventEmitter<void>();
Expand Down
8 changes: 4 additions & 4 deletions src/app/modules/shared/blurb/blurb.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { CommonModule } from '@angular/common';
import { Component, ContentChild, Input, TemplateRef } from '@angular/core';

@Component({
imports: [CommonModule],
selector: 'app-blurb',
styleUrl: './blurb.component.scss',
templateUrl: './blurb.component.html'
imports: [CommonModule],
selector: 'app-blurb',
styleUrl: './blurb.component.scss',
templateUrl: './blurb.component.html'
})
export class BlurbComponent {
@Input() content: string;
Expand Down
24 changes: 12 additions & 12 deletions src/app/modules/shared/search-bar/search-bar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ import { MatInputModule } from '@angular/material/input';
import { debounceTime, distinctUntilChanged } from 'rxjs/operators';

@Component({
encapsulation: ViewEncapsulation.None,
imports: [
CommonModule,
MatButtonModule,
MatFormFieldModule,
MatIconModule,
MatInputModule,
ReactiveFormsModule
],
selector: 'app-search-bar',
styleUrl: './search-bar.component.scss',
templateUrl: './search-bar.component.html'
encapsulation: ViewEncapsulation.None,
imports: [
CommonModule,
MatButtonModule,
MatFormFieldModule,
MatIconModule,
MatInputModule,
ReactiveFormsModule
],
selector: 'app-search-bar',
styleUrl: './search-bar.component.scss',
templateUrl: './search-bar.component.html'
})
export class SearchBarComponent implements OnInit {
@Output('update') change: EventEmitter<string> = new EventEmitter<string>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,19 @@ import { MatIconModule } from '@angular/material/icon';
import { MatTooltipModule } from '@angular/material/tooltip';

@Component({
imports: [MatButtonModule, MatIconModule, MatTooltipModule],
selector: 'notebook-launcher',
templateUrl: 'notebook-launcher.component.html'
imports: [MatButtonModule, MatIconModule, MatTooltipModule],
selector: 'notebook-launcher',
templateUrl: 'notebook-launcher.component.html'
})
export class NotebookLauncherComponent {
protected label: string = '';
@Input() notebookConfig: any;
private subscription: Subscription = new Subscription();

constructor(private notebookService: NotebookService, private projectService: ProjectService) {}
constructor(
private notebookService: NotebookService,
private projectService: ProjectService
) {}

ngOnInit(): void {
this.setLabel();
Expand Down
51 changes: 0 additions & 51 deletions src/app/notebook/notebook.module.ts

This file was deleted.

2 changes: 0 additions & 2 deletions src/app/student-teacher-common-services.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ import { OutsideURLService } from '../assets/wise5/components/outsideURL/outside
import { PathService } from '../assets/wise5/services/pathService';
import { PeerChatService } from '../assets/wise5/components/peerChat/peerChatService';
import { PeerGroupService } from '../assets/wise5/services/peerGroupService';
import { CRaterPingService } from '../assets/wise5/services/cRaterPingService';
import { ProjectLibraryService } from '../assets/wise5/services/projectLibraryService';
import { ProjectService } from '../assets/wise5/services/projectService';
import { SessionService } from '../assets/wise5/services/sessionService';
Expand Down Expand Up @@ -101,7 +100,6 @@ import { WiseLinkService } from './services/wiseLinkService';
PathService,
PeerChatService,
PeerGroupService,
CRaterPingService,
ProjectLibraryService,
{ provide: ProjectService, useExisting: VLEProjectService },
SessionService,
Expand Down
112 changes: 0 additions & 112 deletions src/app/student-teacher-common.module.ts

This file was deleted.

4 changes: 2 additions & 2 deletions src/app/student/student-routing.module.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

import { StudentComponent } from './student.component';
import { StudentHomeComponent } from './student-home/student-home.component';
import { AuthGuard } from './auth.guard';
Expand All @@ -18,7 +17,8 @@ const studentRoutes: Routes = [
{ path: 'profile/edit', component: EditComponent },
{
path: 'unit/:unitId',
loadChildren: () => import('./vle/student-vle.module').then((m) => m.StudentVLEModule)
loadChildren: () =>
import('./vle/student-vle-routing.module').then((m) => m.StudentVLERoutingModule)
}
]
}
Expand Down
Loading