-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Iris
: Allow to configure exercises based on their categories
#9461
Conversation
…y of the exercise
This comment was marked as spam.
This comment was marked as spam.
src/main/java/de/tum/cit/aet/artemis/iris/dto/IrisCombinedChatSubSettingsDTO.java
Outdated
Show resolved
Hide resolved
src/main/java/de/tum/cit/aet/artemis/iris/service/settings/IrisSettingsService.java
Outdated
Show resolved
Hide resolved
src/main/java/de/tum/cit/aet/artemis/iris/service/settings/IrisSettingsService.java
Show resolved
Hide resolved
src/main/java/de/tum/cit/aet/artemis/iris/service/settings/IrisSettingsService.java
Outdated
Show resolved
Hide resolved
src/main/java/de/tum/cit/aet/artemis/iris/service/settings/IrisSettingsService.java
Outdated
Show resolved
Hide resolved
src/main/java/de/tum/cit/aet/artemis/programming/repository/ProgrammingExerciseRepository.java
Outdated
Show resolved
Hide resolved
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on TS5 and all features worked as intended, no issues with Iris appearing when not wanted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good to me 👍
Iris
: Enable Iris for exercises based on their categoriesIris
: Allow to configure exercises based on their categories
Checklist
General
Server
Client
Motivation and Context
Currently, instructors have to enable Iris for every individual exercise, which is annoying and easy to miss for one exercise.
A better option would be to enable Iris automatically for exercises based on some criteria or to switch between opt-in and opt-out for exercises.
After talking with @bassner and @krusche, we decided that the way to go is to enable Iris automatically based on the categories of exercises.
Description
Steps for Testing
Prerequisites:
a. If the exercise has a category that is included in the course Iris settings, Iris is enabled
b. If the exercise has no category that is in the course Iris settings, Iris is disabled (unless manually enabled)
Testserver States
Note
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Click on the badges to get to the test servers.
Review Progress
Code Review
Manual Tests
Test Coverage
Will be added, once the server tests on GitHub run through 🙃
Screenshots
Summary by CodeRabbit
Release Notes
New Features
Bug Fixes
Documentation
Tests
@coderabbitai ignore (Because of spam)