-
Notifications
You must be signed in to change notification settings - Fork 301
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 path
: Add learning path explanation for students
#8815
Learning path
: Add learning path explanation for students
#8815
Conversation
|
|
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 ts4 works as expected. Code also lgtm
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 lgtm
...se/learning-paths/pages/learning-path-student-page/learning-path-student-page.component.html
Outdated
Show resolved
Hide resolved
...se/learning-paths/pages/learning-path-student-page/learning-path-student-page.component.html
Show resolved
Hide resolved
expect(loadingSpy).toHaveBeenCalledWith(true); | ||
expect(loadingSpy).toHaveBeenCalledWith(false); |
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.
Just a thought: I wonder if we could be more specific here. Would toHaveBeenNthCalledWith(1, true)
and toHaveBeenNthCalledWith(2, false)
work? Same for the test should set isLoading correctly during learning path load
This way, we'd be making sure that the order of values is also correct
...se/learning-paths/pages/learning-path-student-page/learning-path-student-page.component.html
Outdated
Show resolved
Hide resolved
"generation": { | ||
"title": "Welcome to learning paths!", | ||
"description": "Welcome to your learning path! This feature lets you learn at your own pace with a personalized journey tailored to your performance. It adapts dynamically, ensuring you always have the most relevant content and challenges. Start now and experience a customized path to success!", | ||
"generateButton": "Start my learning path" |
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.
The translations don't seem 100% consistent between German and English here.
For example:
German: Willkommen bei deinem Lernpfad
English: Welcome to learning paths!
in English, the "Welcome to your learning path" that I would expect in the title (based on the German translation) is in the description instead.
Is there a reason for this?
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.
True I first did the English ones, then thought that the 1to1 translations don't really fit in German. But now I adapted the English ones again. 👍
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 ts4 with user 5, works as expected
code also looks good
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
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.
Maintainer approved
9460b12
into
feature/learning-paths/refactor-student-ui
Checklist
General
Client
authorities
to all new routes and checked the course groups for displaying navigation elements (links, buttons).Motivation and Context
This PRs introduces students to the concept of learning paths if they did not use it before.
Description
If a learning path has not been generated yet a new welcome text is displayed. The text shortly introduces the student to the concept of learning paths. Additionally the student generates his/her learning path him/herself by clicking on a new generation button.
Steps for Testing
Prerequisites:
The following test servers can be used for testing -> Course Johannes Wiest (if you don't want to test locally).
Please mark the user if you tested with it that other testers don't use the same user.
Test Server 1:
Test Server 4:
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