Commit 5ac4eb6
Responsive filtering doing its things (#138)
* applied filters into the search function using flags in the model, will have to refine more in the filters, but this is great for the demo
* wrote departments filter option
* added check to make sure to not recommend courses the client has taken before
* initial state good
* departments go to model
* trying to add filtering out courses with NULL fields as an implementable filter option, merging with main start as per teams request
* merging into brain?
* some ?. properties check, because skill issue
* more course?. things
* finished the noNull feature, essentially fixed typos
* null course checkbox
* null check linked
* Null field toggle works
* nice and beutiful
* removed the explicit null string checks, hopefully doesnt break, also wrote logic for Period filtering
* period filter
* a bit polishing, touching on the period presenter since i thought its broken, but it was the database dropping all course.period data >:(
* fixed some filters logic (level filter, period filter), added descriptions to most filters tooltips, fixed About us button, touched Tab title to current working title, fixed some other things
* visually persistent filters
* now fixed
* once again
* unlocking departments and locations
* wip
* filters enabled by clicking on them
* My side merge with Dean's side
* departments half functional
* rebase to main
* rebase to main
* Refactoring transcript scraper (#126)
* Reworked UploadTranscriptPresenter into a source file, now SidebarPresenter calls it, allows us to upgrade it so that the transcript scraper function has access to a flattened out model (course list with only id, and name fields needed)
* reworked LocalStorage so that it stores object array instead of strings, object structure is {id (str),name(str),is_in_DB(bool)}
* fixed couple errors relating to the new LocaleStorage finished courses, also touched on the departments so that its trucated by tailwind instead of just 25 characters
* fixed a lot of typos (deparmen != department)
* trying to add hover over tooltips such that it displayes name of course
* inbetween
* removing the console.logs because theyre dumb and we should remove them before committing to main especially, added some comments, will add more
* department percistency done only SU and Education Office broken
* even more documentation, added descriptions and cleared up toolTips on the sidebar
* departments should be working
* nothing really
* work on upload bahaviour
---------
Co-authored-by: kexana <deotsts@gmail.com>1 parent 0adf391 commit 5ac4eb6
File tree
14 files changed
+455
-337
lines changed- my-app
- src
- presenters
- scripts
- views
- Components/SideBarComponents
14 files changed
+455
-337
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
| |||
203 | 202 | | |
204 | 203 | | |
205 | 204 | | |
206 | | - | |
207 | 205 | | |
208 | 206 | | |
209 | 207 | | |
| |||
213 | 211 | | |
214 | 212 | | |
215 | 213 | | |
216 | | - | |
217 | 214 | | |
218 | 215 | | |
219 | 216 | | |
| |||
275 | 272 | | |
276 | 273 | | |
277 | 274 | | |
278 | | - | |
279 | 275 | | |
280 | 276 | | |
281 | 277 | | |
| |||
291 | 287 | | |
292 | 288 | | |
293 | 289 | | |
294 | | - | |
295 | 290 | | |
296 | 291 | | |
297 | 292 | | |
| |||
304 | 299 | | |
305 | 300 | | |
306 | 301 | | |
307 | | - | |
308 | 302 | | |
309 | 303 | | |
310 | 304 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
226 | 225 | | |
227 | 226 | | |
228 | 227 | | |
| |||
274 | 273 | | |
275 | 274 | | |
276 | 275 | | |
277 | | - | |
| 276 | + | |
278 | 277 | | |
279 | 278 | | |
280 | 279 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
11 | 15 | | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
16 | | - | |
| 21 | + | |
17 | 22 | | |
18 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
19 | 27 | | |
20 | 28 | | |
21 | 29 | | |
| |||
24 | 32 | | |
25 | 33 | | |
26 | 34 | | |
27 | | - | |
| 35 | + | |
28 | 36 | | |
29 | 37 | | |
30 | 38 | | |
| |||
55 | 63 | | |
56 | 64 | | |
57 | 65 | | |
| 66 | + | |
58 | 67 | | |
59 | 68 | | |
60 | 69 | | |
| |||
73 | 82 | | |
74 | 83 | | |
75 | 84 | | |
76 | | - | |
| 85 | + | |
77 | 86 | | |
78 | 87 | | |
79 | 88 | | |
| |||
182 | 191 | | |
183 | 192 | | |
184 | 193 | | |
185 | | - | |
186 | | - | |
187 | 194 | | |
188 | 195 | | |
189 | 196 | | |
| |||
196 | 203 | | |
197 | 204 | | |
198 | 205 | | |
199 | | - | |
200 | | - | |
| 206 | + | |
201 | 207 | | |
202 | 208 | | |
203 | 209 | | |
| |||
207 | 213 | | |
208 | 214 | | |
209 | 215 | | |
210 | | - | |
211 | | - | |
| 216 | + | |
212 | 217 | | |
213 | 218 | | |
214 | 219 | | |
| |||
221 | 226 | | |
222 | 227 | | |
223 | 228 | | |
224 | | - | |
225 | | - | |
| 229 | + | |
226 | 230 | | |
227 | 231 | | |
228 | 232 | | |
| |||
232 | 236 | | |
233 | 237 | | |
234 | 238 | | |
235 | | - | |
236 | | - | |
| 239 | + | |
237 | 240 | | |
238 | 241 | | |
239 | 242 | | |
| |||
246 | 249 | | |
247 | 250 | | |
248 | 251 | | |
249 | | - | |
250 | | - | |
| 252 | + | |
251 | 253 | | |
252 | 254 | | |
253 | 255 | | |
| |||
258 | 260 | | |
259 | 261 | | |
260 | 262 | | |
261 | | - | |
262 | | - | |
| 263 | + | |
263 | 264 | | |
264 | 265 | | |
265 | 266 | | |
| |||
269 | 270 | | |
270 | 271 | | |
271 | 272 | | |
272 | | - | |
273 | | - | |
| 273 | + | |
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | 296 | | |
312 | 297 | | |
313 | 298 | | |
314 | | - | |
| 299 | + | |
315 | 300 | | |
316 | 301 | | |
317 | 302 | | |
318 | 303 | | |
319 | 304 | | |
320 | | - | |
| 305 | + | |
321 | 306 | | |
322 | 307 | | |
323 | 308 | | |
| |||
328 | 313 | | |
329 | 314 | | |
330 | 315 | | |
331 | | - | |
| 316 | + | |
332 | 317 | | |
333 | 318 | | |
334 | 319 | | |
| |||
337 | 322 | | |
338 | 323 | | |
339 | 324 | | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
340 | 329 | | |
341 | 330 | | |
342 | 331 | | |
| |||
380 | 369 | | |
381 | 370 | | |
382 | 371 | | |
| 372 | + | |
383 | 373 | | |
384 | 374 | | |
385 | 375 | | |
| |||
408 | 398 | | |
409 | 399 | | |
410 | 400 | | |
411 | | - | |
| 401 | + | |
412 | 402 | | |
413 | 403 | | |
414 | 404 | | |
415 | 405 | | |
416 | 406 | | |
417 | 407 | | |
418 | | - | |
419 | 408 | | |
420 | 409 | | |
421 | 410 | | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
422 | 415 | | |
423 | 416 | | |
424 | 417 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | 55 | | |
57 | 56 | | |
58 | 57 | | |
| |||
237 | 236 | | |
238 | 237 | | |
239 | 238 | | |
240 | | - | |
241 | | - | |
242 | 239 | | |
243 | 240 | | |
244 | 241 | | |
| |||
281 | 278 | | |
282 | 279 | | |
283 | 280 | | |
284 | | - | |
285 | | - | |
286 | 281 | | |
287 | 282 | | |
288 | 283 | | |
289 | 284 | | |
290 | | - | |
291 | 285 | | |
292 | 286 | | |
293 | 287 | | |
| |||
312 | 306 | | |
313 | 307 | | |
314 | 308 | | |
315 | | - | |
316 | 309 | | |
317 | 310 | | |
318 | 311 | | |
| |||
331 | 324 | | |
332 | 325 | | |
333 | 326 | | |
334 | | - | |
335 | | - | |
336 | 327 | | |
337 | 328 | | |
338 | 329 | | |
| |||
359 | 350 | | |
360 | 351 | | |
361 | 352 | | |
362 | | - | |
363 | | - | |
364 | 353 | | |
365 | 354 | | |
366 | 355 | | |
| |||
394 | 383 | | |
395 | 384 | | |
396 | 385 | | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | 386 | | |
401 | 387 | | |
402 | 388 | | |
| |||
430 | 416 | | |
431 | 417 | | |
432 | 418 | | |
433 | | - | |
434 | 419 | | |
435 | 420 | | |
436 | 421 | | |
437 | 422 | | |
438 | 423 | | |
439 | 424 | | |
440 | | - | |
441 | | - | |
442 | 425 | | |
443 | 426 | | |
444 | 427 | | |
| |||
453 | 436 | | |
454 | 437 | | |
455 | 438 | | |
456 | | - | |
457 | 439 | | |
458 | 440 | | |
459 | 441 | | |
| |||
467 | 449 | | |
468 | 450 | | |
469 | 451 | | |
470 | | - | |
471 | 452 | | |
472 | 453 | | |
473 | 454 | | |
| |||
0 commit comments