-
Notifications
You must be signed in to change notification settings - Fork 13
feat(LAD): Added new functions for the plugin to publish data to LAD #211
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
base: v0.0.x
Are you sure you want to change the base?
Conversation
|
This pull request has conflicts ☹ |
|
It might be useful having a |
|
On second thought, it seems that each row is strictly associated with a specific user.
And a new one: |
|
@gustavotrott, I understand that you meant That said, we could rename to just:
I am thinking that this rename could be useful if we plan to add other types of data into the learning analytics dashboard, not related to the user, necessarily... Like presentation related, or something like that. What do you say? |
What does this PR do?
It does 4 things:
sendGenericDataForLearningAnalyticsDashboardfor being too verbose and not really following the SDK general pattern;pluginApi.learningAnalyticsDashboard:upsertUserData: it will basically replace the deprecated function mentioned with one extra feature - one can write data on behalf of another user if moderator;deleteUserData: Deletes entry from LADjsondata;clearAllUsersData: Deletes the entry for all user's data in LAD;Motivation
Deleting plugin data from the LAD was the first motivator for this PR, but then also include the possibility of a user publish or remove data on behalf of another user is also useful.
More
Closely related to the PR on CORE: bigbluebutton/bigbluebutton#23619
To use the new features just do: