-
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.
Merge branch 'develop' into issue-1418-isLowestWorkgroupIdInPeerGroup…
…-token
- Loading branch information
Showing
70 changed files
with
2,254 additions
and
704 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
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,8 @@ | ||
import { MatMenuHarness } from '@angular/material/menu/testing'; | ||
|
||
export async function clickMenuButton(thisContext: any, menuButtonText: string): Promise<void> { | ||
const getMenu = thisContext.locatorFor(MatMenuHarness); | ||
const menu = await getMenu(); | ||
await menu.open(); | ||
return menu.clickItem({ text: menuButtonText }); | ||
} |
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,4 @@ | ||
export class ArchiveProjectResponse { | ||
archived: boolean; | ||
id: number; | ||
} |
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
28 changes: 3 additions & 25 deletions
28
src/app/register/register-student-complete/register-student-complete.component.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 |
---|---|---|
@@ -1,31 +1,9 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
import { ActivatedRoute, Router } from '@angular/router'; | ||
import { ConfigService } from '../../services/config.service'; | ||
import { Component } from '@angular/core'; | ||
import { RegisterUserCompleteComponent } from '../register-user-complete.component'; | ||
|
||
@Component({ | ||
selector: 'app-register-student-complete', | ||
templateUrl: './register-student-complete.component.html', | ||
styleUrls: ['./register-student-complete.component.scss'] | ||
}) | ||
export class RegisterStudentCompleteComponent implements OnInit { | ||
username: string; | ||
isUsingGoogleId: boolean; | ||
googleLogInURL = `${this.configService.getContextPath()}/api/google-login`; | ||
|
||
constructor( | ||
private router: Router, | ||
private route: ActivatedRoute, | ||
private configService: ConfigService | ||
) {} | ||
|
||
ngOnInit() { | ||
this.route.params.subscribe((params) => { | ||
this.username = params['username']; | ||
this.isUsingGoogleId = params['isUsingGoogleId'] == 'true'; | ||
}); | ||
} | ||
|
||
login() { | ||
this.router.navigate(['/login', { username: this.username }]); | ||
} | ||
} | ||
export class RegisterStudentCompleteComponent extends RegisterUserCompleteComponent {} |
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
Oops, something went wrong.