Skip to content
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

feat: Calendar Sync Feature Analytics Implementation #386

Merged
merged 3 commits into from
Apr 15, 2024

Conversation

shafqat-muneer
Copy link
Contributor

@shafqat-muneer shafqat-muneer commented Apr 4, 2024

LEARNER-9888: Calendar Sync Feature Analytics Implementation

Note:
These analytics additionally necessitate the EnrollmentMode which is currently absent in course_info/blocks API. Once this information becomes available, we will address it separately. Currently, I have included this parameter in the Analytics events, but it is being passed as none.

rnr
rnr previously approved these changes Apr 5, 2024
Comment on lines 258 to 293
public enum EnrollmentMode: String {
case audit
case verified
case none
}

public enum Pacing: String {
case `self` = "self"
case instructor = "instructor"
}

public enum Action: String {
case on = "on"
case off = "off"
case allow = "Allow"
case doNotAllow = "donot_allow"
case ok = "OK"
case cancel = "Cancel"
case update = "Update"
case remove = "Remove"
case done = "Done"
case viewEvent = "view_event"
}

public enum Dialog: String {
case permission = "Permission"
case add = "Add"
case remove = "Remove"
case update = "Update"
case confirmed = "Confirmed"
}

public enum Snackbar: String {
case add = "Add"
case remove = "Remove"
case update = "Update"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice if you could move this to Course Analytics and also keep all the actions, and stuff in snake case instead of camel case.

@shafqat-muneer
Copy link
Contributor Author

@saeedbashir Feedback has been addressed. Prepared another review. 🎉

@shafqat-muneer shafqat-muneer merged commit a9c562d into openedx:develop Apr 15, 2024
3 checks passed
@shafqat-muneer shafqat-muneer deleted the Shafqat/LEARNER-9888 branch April 15, 2024 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants