You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:
Additional Information
Reach out if anything is unclear.
The text was updated successfully, but these errors were encountered: