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

Show counts next to each day in the "Days" filter #17

Open
JasonFreeberg opened this issue Dec 27, 2020 · 0 comments
Open

Show counts next to each day in the "Days" filter #17

JasonFreeberg opened this issue Dec 27, 2020 · 0 comments
Labels

Comments

@JasonFreeberg
Copy link
Contributor

For each day of week in the Days selector, show the number of schedules with events on that day. Example:

  [_] Monday (23) 
  [_] Tuesday (4) 
  [_] Wednesday (23) 
  [_] Thursday (6)
  [_] Friday (3)

The schedule objects have a property with a list of days, so we just need to run a mapreduce over filteredAndSortedSchedules.

Optional: Can we disable the checkbox for a given day if every schedule has an event on that day? For example, if every schedule has a lecture on Mondays, then we should prevent a user from de-selecting that day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant