-
Notifications
You must be signed in to change notification settings - Fork 303
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
Tutorial groups
: Fix a usability issue when creating new tutorial for campus and language suggestions
#7389
Tutorial groups
: Fix a usability issue when creating new tutorial for campus and language suggestions
#7389
Conversation
@@ -161,7 +162,7 @@ public ResponseEntity<Set<String>> getUniqueLanguageValues(@PathVariable Long co | |||
public ResponseEntity<List<TutorialGroup>> getAllForCourse(@PathVariable Long courseId) { | |||
log.debug("REST request to get all tutorial groups of course with id: {}", courseId); | |||
var course = courseRepository.findByIdElseThrow(courseId); | |||
var user = userRepository.getUserWithGroupsAndAuthorities(); | |||
var user = userRepository.getUser(); |
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 groups are needed in the next call (checkHasAtLeastRoleInCourseElseThrow), which currently leads to an additional database request.
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.
…-creation-of-tutorial
...-groups-management/tutorial-groups/crud/tutorial-group-form/tutorial-group-form.component.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.
Maunal tested on legacy ts2. Worked mostly as expected.
But for the languages: If I added a new language (e.g. Russisch) it did not show up as a default value for the other tutorial (like it did with the locations). I don't know if this is something you want to happen or not. Please let me know.
Thanks for your review. Originally, the change was only meant for several campuses in different courses, but I have now included the change for the languages as well. |
…-creation-of-tutorial
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 reviewed the PR previously with Jana when the selection between German and English was still working.
I tested on TS3 and the requirements (the language selection) were not fulfilled.
Firstly, I can't choose between English and German. There is no drop-down menu. Screenshot of me entering German down below.
Secondly, previous inputs are not "transferred" to different courses. If I select Straubing as the campus in Course1 and then go to Course2, I will not get Straubing recommended. However, if I create another tutorial group in Course1 I will see my previous input. I don't know if this is as it should be.
However, the selection of German and English is not shown to me.
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 again on ts2. Worked as expected
Co-authored-by: Lucas Welscher <[email protected]>
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 ts4, works as expected
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.
Please implement my change request above, this currently leads to unneccesary database requests.
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.
Retested on TS3 during testing session. Works as expected
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 legacy ts3 in testing session.
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 during testing session
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 in testing session
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.
No issues found in testing session on ts3
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 in testing session worked well
Tutorial groups
: Usability issue for creating new tutorial for campus and language suggestionsTutorial groups
: Fix a usability issue for creating new tutorial for campus and language suggestions
Tutorial groups
: Fix a usability issue for creating new tutorial for campus and language suggestionsTutorial groups
: Fix a usability issue when creating new tutorial for campus and language suggestions
…campus and language suggestions (#7389)
Checklist
General
Server
Client
Motivation and Context
This PR is designed to improve usability when creating tutor groups. The PR offers the default selection of English and German. For the campus search, the default values have been extended. I.e. all possible values of the campus the instructor is involved in are now offered - not only the possibilities of the respective course
Description
fixes #7292
Steps for Testing
Prerequisites:
Review Progress
Performance Review
Code Review
Manual Tests
Test Coverage
Screenshots