-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(client): dialog for when user logs out * added auth cleanup and user addition to db * lint * changed ci * Update auth.service.ts * Feature: Changed dark mode settings toggle to icon button in sidebar (Sidebar Dark Mode Icon #850) (#850) * adding redirect link to devsoc * made dark mode button component * removed dark mode toggle * removed darkmode toggle from settings * made sidebar footer icons padding consistent * added prop type for dark mode button * sync dark mode button updates * fully implemented dark mode button --------- Co-authored-by: ray <[email protected]> Co-authored-by: Dylan Zhang <[email protected]> * docs: added our latest 2024 subcom member * renamed migrations * testing out db migration changes * changing script * Created Landing Page * setup tailwind * updated packages for tailwind * added white devsoc svg * started hero section * added hero section * changed to black svg * added lib utils * added hovering animation * new component * moved out of herosection * added sponsor section * changed packes * slight changes to colours and imports * added macquarie * sync slight changes * made bigger added animations * changing host name redirect handler * fixed redirect details * docker file fixed * docker file fixed * cleaned conditional * cleaned conditional * testing migrations changes * changing migrations stuff * removing migrations folder * sync * sync from macbook * sync for cooperative work * feat: year, term and classNo added to class data * feat: add sync functions for add/remove/edit timetables. Create/duplicate/delete one timetable synced, and history sync started * finished scrolling features section except for gifs * slightly changed sponsors * Merge divergent branches nikki -> main landing page branch (#888) * tried some stuff for key features * added features blocks * completed key features component * added footer * deleted unecessary file --------- Co-authored-by: nikkichins <[email protected]> * added blob image * added how it works text * hacky solution for changing page * make further above * chore: revert addition of syncing fuctions to individual components * feat: sync timetables function refactored to use setInterval * fix: logic for sync timetables * fix: bugs with typing w/ course codes and class no * temp fix: change events back to old schema: * added gifs * removed unnecessary bg * removed unnecessary bg colour * added gifs * removed 0 margin * feat: add database dto to frontend object parsing. Also, add event to eventDTO parsing. * feat: add subtype to event in schema * fix: class info is correctly extracted from map * feat: course code returned in scraped-class object from backend * feat: add default assigned colors for courses when reconstructing timetable from db * feat: syncing timetable updates user context * fix: updated type in runsync arg * fix: reverted unwanted regression in timetable creation logic * feat: store timetable logic moved to usercontext * fix: bug fixes * feat: add mapkey/termkey to schema * feat: add term key logic to frontend * fixed header bug * sent request to BE when creating a default timetable * removing logout problems * Changed createDefaultTimetable to accept userID and make a call to BE when setting default timetable. In convertClassToDTO, fixed reduce to have initial empty [] otherwise it breaks. Sent missing mapKey from FE to BE in createNewTimetable * reduced four useEffects in App.tsx into one * added fix for logout bugs * checked for valid term, before gettingUserInfo and creating default timetableg * removed timeout and fixed delete timetable by including header * separated useEffect in App.tsx so that displayTimetables is its own to avoid circular calls * fix: user display timetables are deep copies, and other course/app context variables set during init fetch of timetables * fix: remove hard-coding of term in add timetable, and added back interval/altered logic to handle duplication of new timetables bug * fix: first user timetable not being saved to backend fix * added types for tt dto * fix: DTO structure fixed, and cleaned up code * Added Feedback section to landing page and cleaned up code in the Features section * changed to accommodate snap scrolling * change so default is landing page then after visiting becomes normal app * renamed hero section * changed duplicateClasses in timetableHelpers to generate a new uuid for duplicated classes * Made hero section responsive * made features and sponsors responsive * made footer and feedback responsive * made scrolling features section responsive * made landing page responsive * Merge conflicts resoplved * fixing merge conflicts * http change * user context put in index * added activity to be saved in the backend for classes * unscheduled items are saved to BE * fixed interface typing * fix: revert compaction of useUpdateEffects to fix local storage on load bug * init fix for gql * added fix for uris * fix: add term and classid fields in gql query * fix: use unique classID in backend class cache; and fix bug with term parameter for getCourseInfo * working fe hero lp * fixed type error bugs * fixed more type errors bugs * gql added and working * fix: remove mutation of classID * fix: attempted fix of scraped class DTO construction from gql * fix: fix type issues * fix: time in right form * fix: map key is properly convered to term * final checks :) * running lint --------- Co-authored-by: hhuolu <[email protected]> Co-authored-by: ray <[email protected]> Co-authored-by: Raiyan Ahmed <[email protected]> Co-authored-by: dlyn <[email protected]> Co-authored-by: Dylan Zhang <[email protected]> Co-authored-by: Jasmine Tran <[email protected]> Co-authored-by: dylan <[email protected]> Co-authored-by: Dylan Zhang <[email protected]> Co-authored-by: Michael Siu <[email protected]> Co-authored-by: nikkichins <[email protected]>
- Loading branch information
1 parent
c4c1fd2
commit 2009d61
Showing
33 changed files
with
729 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,6 @@ | |
"style": "prettier --write 'src/**/*.{ts,tsx}' && eslint --fix 'src/**/*.{ts,tsx}'" | ||
}, | ||
"dependencies": { | ||
"@apollo/client": "3.11.8", | ||
"@date-io/date-fns": "2.17.0", | ||
"@emotion/react": "11.11.1", | ||
"@emotion/styled": "11.11.0", | ||
|
@@ -33,6 +32,7 @@ | |
"@sentry/tracing": "7.84.0", | ||
"@uiw/react-color": "2.1.1", | ||
"clsx": "2.1.1", | ||
"@apollo/client": "3.11.8", | ||
"date-fns": "2.30.0", | ||
"dayjs": "1.11.12", | ||
"file-saver": "2.0.5", | ||
|
@@ -88,10 +88,10 @@ | |
"@types/react-transition-group": "4.4.10", | ||
"@types/react-window": "1.8.8", | ||
"@types/uuid": "9.0.8", | ||
"autoprefixer": "10.4.19", | ||
"@typescript-eslint/eslint-plugin": "7.16.1", | ||
"@typescript-eslint/parser": "7.16.1", | ||
"@vitejs/plugin-react-swc": "3.7.0", | ||
"autoprefixer": "10.4.19", | ||
"eslint": "8.57.0", | ||
"eslint-config-prettier": "9.1.0", | ||
"eslint-plugin-react": "7.35.0", | ||
|
@@ -107,5 +107,6 @@ | |
"vite-plugin-svgr": "4.2.0", | ||
"vite-tsconfig-paths": "5.0.1", | ||
"vitest": "2.1.2" | ||
} | ||
}, | ||
"packageManager": "[email protected]+sha512.f549b8a52c9d2b8536762f99c0722205efc5af913e77835dbccc3b0b0b2ca9e7dc8022b78062c17291c48e88749c70ce88eb5a74f1fa8c4bf5e18bb46c8bd83a" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.