feat(ui): Accommodate early morning, late night, and Saturday classes (Resolves #399) #438
+97
−13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR resolves #399
Issue:
The calendar grid does not accommodate for early morning, late night, and Saturday courses, instead dumping them in the Async/Other category in the bottom bar.
Resolving the Issue:
I have redirected early morning, late night, and Saturday courses to the main calendar grid instead of the bottom bar.
I have made the calendar grid flexible: it grows larger to allow for early morning, late night, and Saturday courses, but shrinks back to standard size when the course is removed.
Early Morning Accommodation:
![image](https://private-user-images.githubusercontent.com/73001560/387033795-f12198fc-fc42-4a14-80f9-1deb09784f86.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MDExMjQsIm5iZiI6MTczOTYwMDgyNCwicGF0aCI6Ii83MzAwMTU2MC8zODcwMzM3OTUtZjEyMTk4ZmMtZmM0Mi00YTE0LTgwZjktMWRlYjA5Nzg0Zjg2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDA2MjcwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIwYzlmNzZlOGVmYjU5ZDdiYjM2OWVkZDM1MGVjMDJjYTE4YTkxMmY3Y2U0ZTNkMWEzNzA5NDQ5ZTczMDM5MjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.iGBOudyFwM6azmnVuqkh9dkd7hwmZ5PJVGkFTYdPiWM)
Late Night Accommodation:
![image](https://private-user-images.githubusercontent.com/73001560/387033966-131bcd20-f7f1-449a-8688-0851ba54131e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MDExMjQsIm5iZiI6MTczOTYwMDgyNCwicGF0aCI6Ii83MzAwMTU2MC8zODcwMzM5NjYtMTMxYmNkMjAtZjdmMS00NDlhLTg2ODgtMDg1MWJhNTQxMzFlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDA2MjcwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFlNTYxNmUyNzNmYjNhNTRjYzE3NjU2ZTcxMjUyYmJiYmYyM2Y0NDEyZjI1MmExYzRkZmE2NmJhODU5YTU4MjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Ce8gJC5PYUmrAI68ets2alVBXU8W601h4njr9roveK0)
Saturday Course Accommodation:
![image](https://private-user-images.githubusercontent.com/73001560/387034413-4378233f-4590-44a9-9c54-d87e2af8e3a5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MDExMjQsIm5iZiI6MTczOTYwMDgyNCwicGF0aCI6Ii83MzAwMTU2MC8zODcwMzQ0MTMtNDM3ODIzM2YtNDU5MC00NGE5LTljNTQtZDg3ZTJhZjhlM2E1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDA2MjcwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJmMGU3Njk1OGM2ZmRmZjVmNTYyNjA5ODRiMzMzZDdkMzNiM2U1MzZlNzlmYjYwNDg1Y2U1NGNlYmIwOGZhY2MmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.JU94AEIb_lQIs9seWP2f5bz1u0AlVI8HnMlEzlbPv8w)
This change is![Reviewable](https://camo.githubusercontent.com/1541c4039185914e83657d3683ec25920c672c6c5c7ab4240ee7bff601adec0b/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)