JumboCode / casa-myrna

JumboCode 2023-2024 project for Casa Myrna, led by Elizabeth Foster
https://casa-myrna-pumv.vercel.app
4 stars 0 forks source link

Fullstack 106 calendar filters functionality #116

Closed jiyoonchoi closed 8 months ago

jiyoonchoi commented 8 months ago

Developers: Jiyoon Choi, Sean Reilly Dates: 2/13/24 - 2/19/24 Time spent: 4-5 hours

Desktop Testing:

Screenshot 2024-03-01 at 12 44 41 AM Screenshot 2024-03-01 at 12 45 19 AM Screenshot 2024-03-01 at 12 45 03 AM

Reflection: Had to go to hack night to fix prisma schema issues. Took a while to figure out the frontend bug (we just ended up doing onClick={(e) => e.stopPropagation()} on the grid around Employee Name dropdown instead of the Autocomplete MUI component itself which didn't work initially).

Note: Currently, all filters are selected by default. Depending on the design / what is expected, this maybe should change? As of now, it seems really tedious to go in and edit all these filters which all share an "or" relationship. The filters modal will only close when you click outside of it (which seemed like the most intuitive way to close it since there's no X button).