-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add user profile field functionality. #4
base: master
Are you sure you want to change the base?
Add user profile field functionality. #4
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.
Code looks good. A couple of questions added as comments.
UI works as expected, no errors displayed.
In field configuration, these options are disabled. Is that deliberate?
- Display in the summary report
- Display in the learner instance report
- Display to learner
classes/local/item_type_list.php
Outdated
//new measures\assignment_resubmit_count(), | ||
new measures\assignment_status(), | ||
new measures\attendance_sessions_summary(), | ||
new measures\checklist_complete(), | ||
//new measures\checklist_complete(), | ||
new measures\course_grade(), | ||
new measures\course_section_activity_completion(), | ||
new measures\grade_category_activity_completion(), | ||
//new measures\grade_category_activity_completion(), |
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.
Why have these measures been commented out?
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.
Forgot about those. I will restore/uncomment. This is possibly something for the future. Create a plugin setting/config var to store enabled measures. LW doesn't use those measures, sometimes I click on Assignment resubmit count rather than Assignment status. Needs a UI Improvement.
/** | ||
* @inheritDoc | ||
*/ | ||
public function get_data_for_users(user_list $userlist): array |
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.
Where is get_data_for_users() used? Does it need to be added before release?
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 don't think so, but I wil sort.
@noisyjerm Should be all gravy now. |
Adds the ability to add a user profile field to the LPR.
Config
Report