Skip to content

Commit cd6d34f

Browse files
Responsive filtering (#151)
* 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 * fix of animated gif * fixed upload * merge main * visual for filters reset button * fixed upload issue * reworked sliders * fixed indexing issue with the sliders (taking old values as their new indexes broke it, but now it finds it instead) * big problem * not responsive but stable? * working but not persistent --------- Co-authored-by: benedekboldizsar <bb.boldizsarbenedek@gmail.com>
1 parent d429bea commit cd6d34f

File tree

12 files changed

+1089
-486
lines changed

12 files changed

+1089
-486
lines changed

my-app/package-lock.json

Lines changed: 598 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

my-app/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,11 @@
1111
},
1212
"dependencies": {
1313
"@dagrejs/dagre": "^1.1.4",
14+
"@emotion/react": "^11.14.0",
15+
"@emotion/styled": "^11.14.0",
1416
"@headlessui/react": "^2.2.1",
1517
"@heroicons/react": "^2.2.0",
18+
"@mui/material": "^7.1.0",
1619
"@tailwindcss/vite": "^4.0.17",
1720
"@xyflow/react": "^12.5.5",
1821
"autoprefixer": "^10.4.21",

my-app/src/index.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,8 @@ import { JsonToDatabase } from "./presenters/Tests/JsonToDatabase";
1111
import { AllCoursesPresenter } from "./presenters/Tests/AllCoursesPresenter.jsx";
1212

1313

14-
/**
15-
* This file contains the bootstrapping, as well as the router used in our webapp.
16-
*/
14+
configure({ enforceActions: "never", reactionScheduler: (f) => setTimeout(f, 0),});
1715

18-
configure({ enforceActions: "observed", reactionScheduler: (f) => setTimeout(f, 0),});
1916
const reactiveModel = makeAutoObservable(model);
2017
connectToFirebase(reactiveModel);
2118

0 commit comments

Comments
 (0)