-
Notifications
You must be signed in to change notification settings - Fork 2
Mt/scrum 137 check timetable duplicated name #70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
minhhaitran08
merged 26 commits into
develop
from
mt/scrum-137-check-timetable-duplicated-name
Mar 16, 2025
Merged
Changes from 21 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
27e31fa
Update team.md
thomasyzy7 daad2a4
Merge pull request #3 from UTSC-CSCC01-Software-Engineering-I/develop
Austin-X 761a7eb
This commit tests if the main branch actually blocks force-pushes
Austin-X 70578b8
Revert "This commit tests if the main branch actually blocks force-pu…
Austin-X a21f3e3
Release/0.1 - Main (#14)
thomasyzy7 ff98df3
[Hotfix]: Add missing section in README.md for "Tech Stack and Softwa…
Austin-X 5024884
Release/1.0 - Main (#30)
thomasyzy7 813595b
Added Sprint0 Rubric + Grades + Deductions (#39)
prokopchukdim 6def085
Added Sprint 1 Rubric / Grades (#49)
prokopchukdim fccb706
Merge branch 'main' into release/1.2
Austin-X 9f8cde4
Auto-formatted the code using Prettier
Austin-X 3adc27c
Fix typo
Austin-X 2699f2a
Release/1.2 - Main (#60)
thomasyzy7 4cb5b39
Improved querying of year level and breadth requirement from vector db
kevin-lann f06912f
Auto-formatted the code using Prettier
kevin-lann 7821a3a
Merge branch 'kl/scrum-132-refine-ai-outputs' of https://github.com/U…
minhhaitran08 aabd2f4
Merge branch 'main' of https://github.com/UTSC-CSCC01-Software-Engine…
minhhaitran08 eca6fc9
Update Create and get timetable end points to include favorite field
minhhaitran08 ef9771b
Auto-formatted the code using Prettier
minhhaitran08 74b36fc
Update endpoints to check for duplicated names
minhhaitran08 dcb5591
Fix typo
minhhaitran08 b816af2
Fix incorrect commit so that this branch only contain check timetable…
minhhaitran08 5c28f25
Auto-formatted the code using Prettier
minhhaitran08 08b9b48
Fix incorrect commit
minhhaitran08 94d69ed
Merge branch 'mt/scrum-137-check-timetable-duplicated-name' of https:…
minhhaitran08 4d28b1c
Merge branch 'develop' into mt/scrum-137-check-timetable-duplicated-name
minhhaitran08 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
9 changes: 9 additions & 0 deletions
9
course-matrix/backend/src/utils/convert-breadth-requirement.ts
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| export const convertBreadthRequirement = (code: string) => { | ||
| if (code === "ART_LIT_LANG") return "Arts, Literature and Language"; | ||
| else if (code === "HIS_PHIL_CUL") | ||
| return "History, Philosophy and Cultural Studies"; | ||
| else if (code === "SOCIAL_SCI") return "Social and Behavioral Sciences"; | ||
| else if (code === "NAT_SCI") return "Natural Sciences"; | ||
| else if (code === "QUANT") return "Quantitative Reasoning"; | ||
| else return ""; | ||
| }; |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| export const convertYearLevel = (code: string) => { | ||
| if (code === "first_year") return "1st year"; | ||
| else if (code === "second_year") return "2nd year"; | ||
| else if (code === "third_year") return "3rd year"; | ||
| else if (code === "fourth_year") return "4th year"; | ||
| else return ""; | ||
| }; |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| export default "SvgrURL"; | ||
| export const ReactComponent = "div"; |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| import "@testing-library/jest-dom"; |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| { | ||
| "compilerOptions": { | ||
| "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", | ||
| "target": "ES2020", | ||
| "useDefineForClassFields": true, | ||
| "lib": ["ES2020", "DOM", "DOM.Iterable"], | ||
| "module": "ESNext", | ||
| "skipLibCheck": true, | ||
|
|
||
| /* Bundler mode */ | ||
| "moduleResolution": "bundler", | ||
| "allowImportingTsExtensions": true, | ||
| "isolatedModules": true, | ||
| "moduleDetection": "force", | ||
| "noEmit": true, | ||
| "jsx": "react-jsx", | ||
|
|
||
| /* Linting */ | ||
| "strict": true, | ||
| "noUnusedLocals": true, | ||
| "noUnusedParameters": true, | ||
| "noFallthroughCasesInSwitch": true, | ||
| "noUncheckedSideEffectImports": true, | ||
|
|
||
| "baseUrl": ".", | ||
| "paths": { | ||
| "@/*": ["./src/*"] | ||
| } | ||
| }, | ||
| "include": ["src", "tests/setupTests.ts"] | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| export default "SvgrURL"; | ||
| export const ReactComponent = "div"; |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| import "@testing-library/jest-dom"; |
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -27,5 +27,5 @@ | |
| "@/*": ["./src/*"] | ||
| } | ||
| }, | ||
| "include": ["src"] | ||
| "include": ["src", "tests/setupTests.ts"] | ||
| } | ||
This file contains hidden or 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 |
|---|---|---|
| @@ -1,13 +1,12 @@ | ||
| { | ||
| "files": [], | ||
| "references": [ | ||
| { "path": "./tsconfig.app.json" }, | ||
| { "path": "./tsconfig.node.json" } | ||
| ], | ||
| "compilerOptions": { | ||
| "baseUrl": ".", | ||
| "paths": { | ||
| "@/*": ["./src/*"] | ||
| } | ||
| } | ||
| "target": "es6", | ||
| "module": "commonjs", | ||
| "outDir": "./build", | ||
| "strict": true, | ||
| "esModuleInterop": true, | ||
| "skipLibCheck": true | ||
| }, | ||
| "include": ["src/**/*"], | ||
| "exclude": ["node_modules", "tests"] | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.