-
Notifications
You must be signed in to change notification settings - Fork 276
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
Development
: Add competency information to metrics DTO
#8601
Development
: Add competency information to metrics DTO
#8601
Conversation
…ncy-information-to-metrics-dto
For reference, this is how it currently looks like:
Looks good as far as I can see, I think this contains everything except |
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.
I have left some comments, but in general, we need to address the following points that are currently missing:
- Include details of the exercises that belong to a competency (required for the exercise row component in the client).
- Include details of the lecture units that belong to a competency.
- Mark each exercise as completed or not (this is crucial for suggesting the next objective).
- Mark each lecture unit as completed or not (this is also crucial for suggesting the next objective).
- Include user progress information for a competency (important for displaying mastery and progress information).
Additionally, returning only the IDs of lecture units and exercises may result in unnecessary REST calls.
Aside from these points, the changes look good.
src/main/java/de/tum/in/www1/artemis/web/rest/dto/metrics/LectureUnitInformationDTO.java
Show resolved
Hide resolved
src/main/java/de/tum/in/www1/artemis/web/rest/dto/metrics/CompetencyInformationDTO.java
Show resolved
Hide resolved
…ncy-information-to-metrics-dto
…-metrics-dto' of https://github.com/ls1intum/Artemis into feature/adaptive-learning/add-competency-information-to-metrics-dto
@kaancayli Thank you for your review. Some remarks / questions:
The DTO contains those already or are there any specific details you're missing?
We do not only return the IDs. (see |
…ncy-information-to-metrics-dto
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.
Changes look good.
@MaximilianAnzinger Approved, since @FelixTJDietrich will work later on "Next objective" part of the competencies |
Development
Add competency information to metrics dtoDevelopment
: Add competency information to metrics DTO
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.
I also don't see any issues. I think we are potentially getting more exercise information now since there might be some linked to competencies. But I anyways have to do a fix later for the exercise statistics to filter out exercises where the due date has not passed.
Code looks good :) Thanks 🙏
Checklist
General
Server
Motivation and Context
Adds necessary information to the metrics dto to fetch all required data for the new dashboard with only one REST-call.
Review Progress
Performance Review
Code Review