-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rebase to next * Resolved issue that caused an automatic refresh on external game load. * Fix stray refresh bug for external games * Remove log * Remove automatic iframe refresh * Use behaviorsubject in the api status interceptor rather than startWith * Copy challenge IDs on external game admin. Mild restyling. * Fixed an issue that caused game card images to fail to be removed when requested. * Updates to signalR architecture. Improve spinner readability. * Only respond to sync start events for the current game in the session start controls. * Finalize SignalR GameHub implementation * Audit fix * Update reset team endpoint paylod * All hidden challenge specs. * Bump katex from 0.16.4 to 0.16.10 Bumps [katex](https://github.com/KaTeX/KaTeX) from 0.16.4 to 0.16.10. - [Release notes](https://github.com/KaTeX/KaTeX/releases) - [Changelog](https://github.com/KaTeX/KaTeX/blob/main/CHANGELOG.md) - [Commits](KaTeX/KaTeX@v0.16.4...v0.16.10) --- updated-dependencies: - dependency-name: katex dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * Add player readiness counts to external game deploy admin. Resolves GBAPI #405. * Added simple filtering/search to active team/challenge modals * Fix various unenroll/reset session bugs. Readying/unreading a player from Players now applies the condition to their entire team. * Clean up button text --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
c38064d
commit 6af1b29
Showing
69 changed files
with
1,014 additions
and
784 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,46 @@ | ||
diff --git a/projects/gameboard-ui/src/app/components/gameboard-signalr-hubs/gameboard-signalr-hubs.component.ts b/projects/gameboard-ui/src/app/components/gameboard-signalr-hubs/gameboard-signalr-hubs.component.ts | ||
index 4a62c8e6..90239460 100644 | ||
--- a/projects/gameboard-ui/src/app/components/gameboard-signalr-hubs/gameboard-signalr-hubs.component.ts | ||
+++ b/projects/gameboard-ui/src/app/components/gameboard-signalr-hubs/gameboard-signalr-hubs.component.ts | ||
@@ -73,6 +73,7 @@ export class GameboardSignalRHubsComponent implements OnDestroy { | ||
|
||
// connect to the hubs | ||
await this.gameHub.connect(); | ||
+ await this.supportHub.connect(); | ||
await this.userHub.connect(); | ||
|
||
// listen for interesting events to log | ||
@@ -93,15 +94,10 @@ export class GameboardSignalRHubsComponent implements OnDestroy { | ||
this.log("[GB UserHub]: Hub state is", userHubState); | ||
this.userHubStatusLightState = this.hubStateToStatusLightState(userHubState); | ||
this.userHubTooltip = `UserHub: ${userHubState}`; | ||
- }) | ||
- ); | ||
+ }), | ||
|
||
- // join the support hub (which everyone uses to get ticket updates) | ||
- if (u.isAdmin || u.isSupport) { | ||
- await this.supportHub.connect(); | ||
- await this.supportHub.joinStaffGroup(); | ||
- this.unsub.add(this.supportHub.hubState$.subscribe(supportHubState => this.supportHubStatusLightState = this.hubStateToStatusLightState(supportHubState))); | ||
- } | ||
+ this.supportHub.hubState$.subscribe(supportHubState => this.supportHubStatusLightState = this.hubStateToStatusLightState(supportHubState)) | ||
+ ); | ||
} | ||
} | ||
|
||
diff --git a/projects/gameboard-ui/src/app/services/signalR/support-hub.service.ts b/projects/gameboard-ui/src/app/services/signalR/support-hub.service.ts | ||
index 67ba3dcb..c05474ae 100644 | ||
--- a/projects/gameboard-ui/src/app/services/signalR/support-hub.service.ts | ||
+++ b/projects/gameboard-ui/src/app/services/signalR/support-hub.service.ts | ||
@@ -41,10 +41,6 @@ export class SupportHubService { | ||
); | ||
} | ||
|
||
- public async joinStaffGroup() { | ||
- await this._signalRService.sendMessage("joinStaffGroup"); | ||
- } | ||
- | ||
private handleTicketClosed(ev: SupportHubEvent<TicketClosedEvent>) { | ||
this.logService.logInfo("[GB Support Hub Staff Group]: Ticket Closed", ev); | ||
|
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
Oops, something went wrong.