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

Add analytics to the models #48

Open
Levi-Lesches opened this issue Apr 21, 2021 · 0 comments
Open

Add analytics to the models #48

Levi-Lesches opened this issue Apr 21, 2021 · 0 comments
Assignees
Labels
blocked This issue is waiting for another issue to close Code health Doesn't change functionality, but keeps the code clean New feature This issue may not have complete information

Comments

@Levi-Lesches
Copy link
Member

Insert calls to Services.instance.analytics in the following places:

  • setUserGrade in UserModel.init
  • onCreateReminder in Reminders.addReminder and Reminders.replaceReminder
  • onDeleteReminder in Reminders.deleteReminder, to understand how repeat/one-off reminders are used
  • onUseScheduleDropdown in ScheduleViewModel.update
  • onUseScheduleCalendar in ScheduleViewModel.date= (it's set date(DateTime date))
  • adminOnCreateSchedule in AdminScheduleModel.createSchedule and .replaceSchedule
  • adminOnEditCalendar in CalendarEditor.updateDay

This is a nice issue to tackle because it shows intuitively where things happen in the code.

@Levi-Lesches Levi-Lesches added New feature This issue may not have complete information Code health Doesn't change functionality, but keeps the code clean labels Apr 21, 2021
@Levi-Lesches Levi-Lesches added the blocked This issue is waiting for another issue to close label Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked This issue is waiting for another issue to close Code health Doesn't change functionality, but keeps the code clean New feature This issue may not have complete information
Projects
None yet
Development

No branches or pull requests

2 participants