Repository navigation
Refactor calendar.js.jsx into TypeScript components - #1831
Conversation
Coverage Report for CI Build 44371888033Coverage increased (+0.03%) to 61.647%Details
Uncovered Changes
Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
david-yz-liu
left a comment
There was a problem hiding this comment.
Nice work, @Purplegaze. I just left a few inline comments
|
There turned out to be a type mismatch since I altered the |
david-yz-liu
left a comment
There was a problem hiding this comment.
Nice work, @Purplegaze!
Proposed Changes
Refactors
js/components/grid/calendar.js.jsxinto separate TypeScript components. Analogue to #1830.Minor changes:
widthattribute of a LectureTimeframe mandatory, as I believe it's always defined. This is to avoid type checking issues where null values are not expected.@PeanutPiglet Since we did these analogous tasks individually, I anticipate we will now need to work together to amalgamate our types and make sure they don't conflict with each other.
...
Screenshots of your changes (if applicable)
Type of Change
(Write an
Xor a brief description next to the type or types that best describe your changes.)Checklist
(Complete each of the following items for your pull request. Indicate that you have completed an item by changing the
[ ]into a[x]in the raw text, or by clicking on the checkbox in the rendered description on GitHub.)Before opening your pull request:
After opening your pull request:
Questions and Comments
Now that Y-courses are in the database, I've noticed they get populated into the timetable grid twice, conflicting with themselves. I'd be happy to fix that in a separate PR after this is done.