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

Finishing The Calendar #102

Open
javalosr2004 opened this issue Apr 20, 2024 · 1 comment · Fixed by #134
Open

Finishing The Calendar #102

javalosr2004 opened this issue Apr 20, 2024 · 1 comment · Fixed by #134
Assignees
Milestone

Comments

@javalosr2004
Copy link
Collaborator

Description
By now we have a functional calendar that can load previous events and has a nice looking design, your task is to connect the components and polish things up a little bit.

Acceptance Criteria
Filtering works. Don't worry about the conditional button for admins / users to signup/create events.

Steps:

  • Really the big piece for this issue will be to have filtering working, this means fetching all available eventTypes, through Event.find().distinct(“eventType”) <- server action.
  • Once you have fetched all available eventTypes, you will want to load this onto the checkboxes through .map().
  • Another option we want regardless of eventTypes is ADA Accessibility and Spanish Speaking <- these could be in a row below the filters mentioned above under Accessibility Filters.
  • As far as actually filtering the events goes, I would recommend using useEffect in the parent component and having two arrays, one with all events, and another for filtered events. The useEffect statement can have the checkboxes state as a dependency and every checkbox will be associated to a given eventType, meaning when filtering events, events.filter(event => ...), you will want to use all of the associated eventTypes
  • Another thing is we might have to remove the MiniCalendar, after some meetings, we have realized that the MiniCalendar really only serves as a way to take up the free space / enhance aesthetics.

Additional Information
Reach out if anything is unclear.

@tkim516
Copy link
Contributor

tkim516 commented Apr 20, 2024

Issue Updates:

  • Add Spanish Speaking and Wheelchair Accessible filters
  • Update individual event slots so that they display event name and time
Screenshot 2024-04-20 at 1 36 07 PM

@Sohini-pillay Sohini-pillay linked a pull request May 6, 2024 that will close this issue
6 tasks
@javalosr2004 javalosr2004 reopened this May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants