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

Firebase Analytics -- Services #45

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

Firebase Analytics -- Services #45

Levi-Lesches opened this issue Apr 21, 2021 · 0 comments
Assignees
Labels
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

We need an Analytics service that can log each type of event. I think it's useful to have each event separately instead of relying on a broad log(String event) function, but that's certainly up for debate. We should have the following functions:

  • onAppOpen -- use built-in logAppOpen
  • onLogin -- use built-in logLogin
  • setUserGrade
  • setBrightness (should record the brightness and log a custom event)
  • onCreateReminder (includes edits)
  • onDeleteReminder
  • onUseScheduleDropdown
  • onUseScheduleCalendar
  • adminOnCreateSchedule (includes edits)
  • adminOnEditCalendar

All these will be Future<void>, and because they are very specific, will take minimal parameters. All events should start with on and all admin-specific functionality should start with admin.

@Levi-Lesches Levi-Lesches added High priority This issue should be worked on soon 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 removed the High priority This issue should be worked on soon label May 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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