-
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
Learning analytics
: Add empty student course dashboard behind feature flag
#8513
Conversation
Learning Analytics
: Add new dashboard view
Learning Analytics
: Add new dashboard viewLearning analytics
: Add new dashboard view
acff5e8
to
a662753
Compare
Learning analytics
: Add new dashboard viewLearning analytics
: Add empty student course dashboard behind feature flag
WalkthroughThe updates across various files in the Artemis project introduce new dashboard features for courses, including analytics and display options. New boolean fields and corresponding methods have been added to manage these features, alongside updates to the UI components and services to support toggling and displaying these new functionalities. Additionally, security measures prevent unauthorized changes, and new routes enhance navigation. Changes
Recent Review DetailsConfiguration used: CodeRabbit UI Files selected for processing (3)
Files skipped from review due to trivial changes (1)
Files skipped from review as they are similar to previous changes (1)
Additional Context UsedPath-based Instructions (1)
Additional comments not posted (2)
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.
Here are some issues that I found. You probably also need server tests so we make sure that only admins change this setting (?)
src/main/java/de/tum/in/www1/artemis/service/feature/Feature.java
Outdated
Show resolved
Hide resolved
src/main/webapp/app/iris/iris-base-chatbot-component/iris-base-chatbot-component.component.scss
Outdated
Show resolved
Hide resolved
src/main/webapp/app/overview/course-dashboard/course-dashboard.component.ts
Outdated
Show resolved
Hide resolved
src/main/webapp/app/overview/course-dashboard/course-dashboard.component.ts
Show resolved
Hide resolved
src/main/webapp/app/overview/course-dashboard/course-dashboard.module.ts
Outdated
Show resolved
Hide resolved
...ebapp/app/overview/visualizations/exercise-scores-chart/exercise-scores-chart.component.html
Outdated
Show resolved
Hide resolved
src/main/webapp/app/overview/visualizations/course-statistics-summary.module.ts
Outdated
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
Out of diff range and nitpick comments (1)
src/main/webapp/app/overview/visualizations/exercise-scores-chart/exercise-scores-chart.component.ts (1)
95-95
: Clarify or remove the commented-out code related tolegendPosition
.This commented-out line seems to be left unintentionally or for future use. If it's not needed, consider removing it to clean up the codebase. If it's for future use, please add a TODO comment explaining its purpose.
src/main/java/de/tum/in/www1/artemis/web/rest/CourseResource.java
Outdated
Show resolved
Hide resolved
src/test/javascript/spec/component/course/course-update.component.spec.ts
Outdated
Show resolved
Hide resolved
src/main/webapp/app/overview/course-dashboard/course-dashboard.component.html
Show resolved
Hide resolved
src/main/webapp/app/overview/course-dashboard/course-dashboard.component.html
Show resolved
Hide resolved
...ebapp/app/overview/visualizations/exercise-scores-chart/exercise-scores-chart.component.scss
Outdated
Show resolved
Hide resolved
There hasn't been any activity on this pull request recently. Therefore, this pull request has been automatically marked as stale and will be closed if no further activity occurs within seven days. Thank you for your contributions. |
e42eac9
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: 1
…nalytics/student-dashboard
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 changes look good to me and dashboard works as expected on TS4. Tested with my course and Kaan's course.
Merged as part of #8582 into |
Warning
Needs the future toggle to be activated by an admin on the server deployed in order to be tested.
Checklist
General
Server
Client
authorities
to all new routes and checked the course groups for displaying navigation elements (links, buttons).Motivation and Context
In the future we want students to gain better insights about their performance in a course. Therefore, we proposed to add a new dashboard-view to the course overview page that will include learning analytics and an Iris chatbot. This PR lays the groundwork of the newly proposed feature
Description
FutureToggle
for the newly proposed dashboard view.dashboard_enabled
column to theCourse
entitySteps for Testing
Prerequisites:
Work in Progress
placeholder text.Enable Dashboard
checkbox.Testserver States
Note
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Review Progress
Performance Review
Code Review
Manual Tests
Test Coverage
Screenshots
Changes:
Sidebar:
Enable Dashboard toggle in settings:
Feature toggle:
Dashboard page (WIP)