-
Notifications
You must be signed in to change notification settings - Fork 60
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
Smart menus show hidden courses to all users that have the according capability #407
Comments
Hello @ksteitz would CR 3 in the above description cover your use case of "Verborgene Kurse: user deren Vorhandensein anzeigen
Regards :-) |
thanks a lot! Indeed CR 3 would be of great help!
kind regards |
Hi @ksteitz Klaus, to 1 yes, and no to 2 a hint before even having to click would be helpful I guess to 3 Regards |
Note on Wiebkes point: "As a student, courses that are hidden are not accessible for me, so I do not want to see the courses in my smart menu nor on the mycourses/dashboard." As commented above on CR 3, it is important for us that students can see which hidden courses they are enrolled in. Through our campus management interface, all courses are initially hidden and, especially at the start of the semester, the enquiries ‘my course is not there / I am not enrolled’ accumulate. thanks! kind regards |
Hi @wiebkemueller-hsh and @ksteitz, I would like to propose the following specification to address this issue: Background
This issue will be addressed in two stages:
See below for the implementation of the first phase which effectively addresses the issue itself and CR2, a follow up issue will be created for the second phase (covering CR1, CR3). New global settingA new settings section shall be added to the “Feel” settings category called “Smart menus” below the “Primary navigation” section (i.e. above the “User menu” section) with the following settings:
Why do we need a setting for it?The current proposal means that the smart menu system will behave differently after the update. The new setting makes administrators aware of the change during the update. This enables them to take action immediately, before any user will be affected. Out of scope for Phase 1Users which do not have the capability to access the course won’t be able to see the course. This will be dealt with in the second phase, after careful consideration of which appearance and behavior options are required, such as
Test scenariosBasic setup
Scenario 1Set Display only visible courses to true.
Scenario 2Set Display only visible courses to false.
Please share your thoughts on the suggested approach. Looking forward to your feedback! Thanks, |
Hi @stefanscholz and all, thank you for working on this issue. I agree with your position that the initial issue (that teachers and other users with the course:viewhiddencourses capability never see hidden courses in the smart menu) should be fixed. I also agree with CR 2 in a way that the admin should be able to configure this behaviour and be able to disable the presentation of hidden courses if he really wants to. So far, so good. However, regarding the implementation of CR 2 (and the necessary implementation of the admin setting), I do not agree that we should have a global BU setting for that. I mainly do not agree because the placement of the setting on the "Feel" settings page would be outside of the "smart menu" settings scope. And it would force admins to decide globally and would not allow them to decide this per dynamic course menu. Instead, I would propose to implement this setting within the settings of each smart menu item, just below the existing "Dynamic courses: Course list sorting" setting. I agree that the default of this setting should be false (to avoid changing existing smart menus after the plugin update). And we will simply announce the new possibility in the BU changelog which should be enough from my point of view. As a sidenote: If we ever come to the point that we will need global smart menu settings, we should adopt the approach of adding tabs to external settings page which we are just preparing in #710 within the CSS snippets feature. Regarding the styling of the newly presented hidden courses in the smart menu, I am torn if they should really not be styled at all in the first implementation. Moodle 3 core used to present hidden courses with a dimmed text style in the course list in the navigation drawer. This has been replaced in Moodle 4 core with the "Hidden from students" badge which is added to the course name on the "My courses" page. Both approaches are not really feasible in the smart menu. And I do not have a better idea for a really good first styling. Maybe someone else has a nice idea before the implementation starts. Otherwise, this should be covered later with CR 3. Furthermore, I miss CR 1 in your specification. Regarding CR 3, I agree that this is out of scope for the first implementation and should be postponed into a follow-up issue. The questions and necessary decisions which you have already noted will be helpful for the future specification. Cheers, |
Hi @stefanscholz and @abias, thank you for your proposals and the work on this! In order to keep it simple (Phase 1): The "redaktionsgruppe" has the following opinion on this. Please prioritise the display of the hidden course to be identifyable as hidden. See screenshot, we recommend to follow the behaviour of the starred courses popover menu for now: The hidden course is greyed out, the sort order is then according to what has been defined in the setting "course list sorting". Regards |
This is a follow-up issue to #300
possible following CR could be:
CR 1 would be to make an admin setting so the admin can decide how users that have the according capability should see the hidden courses in the smart menu (at the end of the list or sorted according to the specified sort order).
CR 2 would be to make an admin setting so the admin can decide whether or not users that have the according capability should see the hidden courses in the smart menu.
CR 3 would be to make an admin setting so the admin can decide whether or not users without the according capability should see the hidden courses in the smart menu with an extra "coming soon hint" (you are subscribed but course is still in preparation).
Note: There is a capability for this that can be used.
The text was updated successfully, but these errors were encountered: