-
Notifications
You must be signed in to change notification settings - Fork 304
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
Learning paths
: Allow instructors to include prerequisites at the start
#8947
Learning paths
: Allow instructors to include prerequisites at the start
#8947
Conversation
WalkthroughThe recent changes primarily focus on refactoring competency-related entities across various files to use Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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.
Actionable comments posted: 13
Outside diff range comments (1)
src/main/java/de/tum/in/www1/artemis/web/rest/competency/PrerequisiteResource.java (1)
Line range hint
135-138
: LGTM! Method correctly imports course competencies as prerequisites for a course.The
importPrerequisites
method correctly imports a list of course competencies as prerequisites for a given course.Reminder: Implement the TODO.
The TODO comment indicates that the import of relations between prerequisites is not yet implemented.
Do you want me to generate the code for importing relations between prerequisites or open a GitHub issue to track this task?
src/main/java/de/tum/in/www1/artemis/web/rest/competency/CourseCompetencyResource.java
Show resolved
Hide resolved
src/test/java/de/tum/in/www1/artemis/competency/CourseCompetencyIntegrationTest.java
Show resolved
Hide resolved
src/main/java/de/tum/in/www1/artemis/repository/CourseCompetencyRepository.java
Show resolved
Hide resolved
src/main/java/de/tum/in/www1/artemis/service/competency/PrerequisiteService.java
Show resolved
Hide resolved
src/main/java/de/tum/in/www1/artemis/service/competency/PrerequisiteService.java
Show resolved
Hide resolved
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.
Actionable comments posted: 5
src/main/java/de/tum/in/www1/artemis/service/competency/PrerequisiteService.java
Show resolved
Hide resolved
src/main/java/de/tum/in/www1/artemis/service/competency/PrerequisiteService.java
Show resolved
Hide resolved
src/main/java/de/tum/in/www1/artemis/service/competency/PrerequisiteService.java
Show resolved
Hide resolved
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. One optional comment
src/main/java/de/tum/in/www1/artemis/web/rest/competency/CompetencyResource.java
Outdated
Show resolved
Hide resolved
f6117c0
Learning path
: Include prerequisites at the startLearning paths
: Allow instructors to include prerequisites at the start
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.
Actionable comments posted: 2
src/main/java/de/tum/in/www1/artemis/service/learningpath/LearningPathService.java
Show resolved
Hide resolved
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.
reapprove after merge conflict
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.
reapprove after merge conflict
…-prerequisites # Conflicts: # src/main/java/de/tum/in/www1/artemis/service/LearningObjectService.java # src/test/java/de/tum/in/www1/artemis/service/LearningObjectServiceTest.java
88f3314
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.
Reapprove after merge conflicts
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.
Re-approve after resolved merge conflicts
🚨 🚨 Delete the prerequisites created with this PR after testing 🚨 🚨
Checklist
General
Server
Client
Motivation and Context
#8765 added the creation and edit options for prerequisites. They should now get more integrated into the rest of Artemis like linking to learning objects and scheduling those in the learning path.
Description
This PR adds the following things:
What this PR does NOT cover:
Steps for Testing
Prerequisites:
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
Performance Review
Code Review
Manual Tests
Test Coverage
Client
Server
Summary by CodeRabbit
New Features
Refactor
Competency
toCourseCompetency
across multiple classes and services for improved clarity and consistency.Bug Fixes
CourseCompetency
entity.Tests
CourseCompetency
entity and added prerequisite handling in course retrieval tests.