Skip to content

Add analytics to the models #48

@Levi-Lesches

Description

@Levi-Lesches

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.

Metadata

Metadata

Assignees

Labels

Code healthDoesn't change functionality, but keeps the code cleanNew featureThis issue may not have complete informationblockedThis issue is waiting for another issue to close

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions