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

Auto-update attendance frequency #35

Open
dehnert opened this issue Mar 6, 2024 · 0 comments
Open

Auto-update attendance frequency #35

dehnert opened this issue Mar 6, 2024 · 0 comments

Comments

@dehnert
Copy link

dehnert commented Mar 6, 2024

Gate is split up by attendance frequency -- "every", "monthly", "rarely", "never" -- which limits scrolling in the common case of frequent attendees showing up. We should automatically update this.

I think my theory was to do something like "count how many times somebody has showed up in the last month and the last year", and then:

  • If they've come in the last month, put them in every or monthly
  • If it's at least like 20 times in the last year, every
  • If it's at least four times, monthly
  • If it's ever, rarely

(Maybe we look at the entire SquaresDB attendance history for rarely vs never, not just the year.)

I think this should be a batch process. I'm not sure whether it should be weekly or like monthly. I guess weekly seems fine?

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

No branches or pull requests

1 participant