Commit b33109f
Update getCourseInfo and getCoursesList queries to use graphql (#907)
* added apollo client + some helper funcs
* added some helper funcs
* attempt at converting timetable.ts to use graphql to handle term details
* updated getCoursesList with gql for initial review
* improvement: integrated gql for getCoursesList
* updated getCourseInfo to use graphql query (#906)
* feat: make graphql query to get course info
* format graphql output to match rest api output
* use graphql data instead of rest api data
* removed unnecessary fields from qraphql query
* clean up code
* clean up code
* clean up code
* clean up code
* clean up code
* removed references to old timetable scraper
* removed unused logic from timetable.ts + removed 'lastUpdated' status from footer
---------
Co-authored-by: ray <raiyan.ahmed@gmail.com>
Co-authored-by: Shaam <shaamjevan.sj@gmail.com>
Co-authored-by: jordansbenjamin <14327@coderacademy.edu.au>1 parent 19eb91a commit b33109f
File tree
19 files changed
+428
-123
lines changed- client
- src
- api
- components
- controls
- sidebar/groupsSidebar
- friends
- constants
- context
- interfaces
- utils
19 files changed
+428
-123
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | 118 | | |
120 | 119 | | |
121 | 120 | | |
| |||
204 | 203 | | |
205 | 204 | | |
206 | 205 | | |
207 | | - | |
| 206 | + | |
208 | 207 | | |
209 | | - | |
210 | 208 | | |
211 | 209 | | |
212 | 210 | | |
| |||
294 | 292 | | |
295 | 293 | | |
296 | 294 | | |
297 | | - | |
| 295 | + | |
298 | 296 | | |
299 | 297 | | |
300 | 298 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | | - | |
| 15 | + | |
14 | 16 | | |
15 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
16 | 22 | | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
20 | | - | |
21 | | - | |
22 | 26 | | |
23 | 27 | | |
0 commit comments