Skip to content

Commit

Permalink
Merge branch 'develop' into chore/vcs-access-log/make-async
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonEntholzer authored Oct 17, 2024
2 parents 82d1f30 + 98d6d06 commit 632dd47
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tone_instructions: ''
early_access: true
enable_free_tier: true
reviews:
profile: assertive
profile: chill
request_changes_workflow: true
high_level_summary: true
high_level_summary_placeholder: '@coderabbitai summary'
Expand Down Expand Up @@ -192,7 +192,7 @@ reviews:
- TYPOGRAPHY
- CASING
enabled_only: false
level: picky
level: default
enabled_rules: []
enabled_categories: []
biome:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ public void setJudgementOfLearning(long competencyId, long userId, short jolValu
irisCourseChatSessionService.ifPresent(service -> {
// Inform Iris so it can send a message to the user
try {
if (userId % 3 > 0) { // HD3-GROUPS: Iris groups are 1 & 2
service.onJudgementOfLearningSet(jol);
}
service.onJudgementOfLearningSet(jol);
}
catch (Exception e) {
log.warn("Something went wrong while sending the judgement of learning to Iris", e);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,13 @@ export class CourseDashboardComponent implements OnInit, OnDestroy {
this.paramSubscription = this.route.parent?.parent?.params.subscribe((params) => {
this.courseId = parseInt(params['courseId'], 10);

// HD3-GROUPS: Experiment groups for IRIS are 1 & 2. Disable for group 0
if (this.accountService.userIdentity && this.accountService.userIdentity!.id! % 3 > 0) {
this.profileService.getProfileInfo().subscribe((profileInfo) => {
if (profileInfo?.activeProfiles.includes(PROFILE_IRIS)) {
this.irisSettingsService.getCombinedCourseSettings(this.courseId).subscribe((settings) => {
this.irisEnabled = !!settings?.irisChatSettings?.enabled;
});
}
});
}
this.profileService.getProfileInfo().subscribe((profileInfo) => {
if (profileInfo?.activeProfiles.includes(PROFILE_IRIS)) {
this.irisSettingsService.getCombinedCourseSettings(this.courseId).subscribe((settings) => {
this.irisEnabled = !!settings?.irisChatSettings?.enabled;
});
}
});
});
this.setCourse(this.courseStorageService.getCourse(this.courseId));

Expand Down

0 comments on commit 632dd47

Please sign in to comment.