-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from UTDNebula/develop
Updating Master Branch w/ Working Develop
- Loading branch information
Showing
88 changed files
with
36,690 additions
and
4,172 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
__NEXT_CONCURRENT_FEATURES=true |
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 |
---|---|---|
|
@@ -35,3 +35,7 @@ yarn-error.log* | |
|
||
# typescript | ||
*.tsbuildinfo | ||
|
||
# lint cache | ||
.eslintcache | ||
*.cache |
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# Request Project Lead | ||
* @eboysen | ||
* @iamwood | ||
|
||
# Here for later as implementation becomes larger | ||
# Request Project maintainers for any of the major src directories | ||
# components/**/* @UTDNebula/athena | ||
# modules/**/* @UTDNebula/athena | ||
# pages/**/* @UTDNebula/athena | ||
# styles/**/* @UTDNebula/athena | ||
# components/**/* @UTDNebula/UTD-Trends | ||
# modules/**/* @UTDNebula/UTD-Trends | ||
# pages/**/* @UTDNebula/UTD-Trends | ||
# styles/**/* @UTDNebula/UTD-Trends |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
GET https://api.utdnebula.com/course/search?subject_prefix=CS&course_number=4337 HTTP/1.1 | ||
|
||
### | ||
|
||
GET https://api.utdnebula.com/course/search HTTP/1.1 |
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 |
---|---|---|
@@ -0,0 +1,118 @@ | ||
// import autocompleteGraph from '../data/autocomplete_graph.json'; | ||
// import { DirectedGraph } from 'graphology'; | ||
// | ||
// type SearchQuery = { | ||
// prefix?: string; | ||
// number?: string; | ||
// professorName?: string; | ||
// sectionNumber?: string; | ||
// }; | ||
// | ||
// type NodeAttributes = { | ||
// character: string; | ||
// data?: SearchQuery; | ||
// visited: boolean; | ||
// }; | ||
// | ||
// const graph: DirectedGraph<NodeAttributes> = new DirectedGraph({ | ||
// allowSelfLoops: false, | ||
// }); | ||
// graph.import(autocompleteGraph as Object); | ||
// const root = '0'; | ||
// type QueueItem = { | ||
// node: string; | ||
// characters?: string; | ||
// toNext: boolean; | ||
// }; | ||
// | ||
// function bfsRecursionToNextData(queue: QueueItem[]) { | ||
// const queueItem = queue.shift(); | ||
// //console.log(graph.getNodeAttribute(queueItem?.node, 'character')); | ||
// if (graph.getNodeAttribute(queueItem?.node, 'visited')) { | ||
// return; | ||
// } | ||
// graph.setNodeAttribute(queueItem?.node, 'visited', true); | ||
// const data = graph.getNodeAttribute(queueItem?.node, 'data'); | ||
// if (typeof data !== 'undefined') { | ||
// return data; | ||
// } else { | ||
// graph.forEachOutNeighbor(queueItem?.node, (neighbor) => { | ||
// queue.push({ | ||
// node: neighbor, | ||
// toNext: true, | ||
// }); | ||
// }); | ||
// } | ||
// return; | ||
// } | ||
// | ||
// function bfsRecursion(queue: QueueItem[]) { | ||
// const queueItem = queue.shift(); | ||
// if ( | ||
// queueItem?.characters?.[0] === | ||
// graph.getNodeAttribute(queueItem?.node, 'character') | ||
// ) { | ||
// //match | ||
// //console.log('match: ', queueItem?.characters, queueItem?.characters?.length === 1); | ||
// if (queueItem?.characters?.length === 1) { | ||
// //last character | ||
// graph.forEachOutNeighbor(queueItem?.node, (neighbor) => { | ||
// //console.log('toNext: ', graph.getNodeAttribute(neighbor, 'character')); | ||
// queue.push({ | ||
// node: neighbor, | ||
// toNext: true, | ||
// }); | ||
// }); | ||
// const data = graph.getNodeAttribute(queueItem?.node, 'data'); | ||
// if (typeof data !== 'undefined') { | ||
// //has data | ||
// return data; | ||
// } | ||
// } else { | ||
// graph.forEachOutNeighbor(queueItem?.node, (neighbor) => { | ||
// //console.log('queue: ', graph.getNodeAttribute(neighbor, 'character')); | ||
// queue.push({ | ||
// node: neighbor, | ||
// characters: queueItem?.characters?.slice(1), | ||
// toNext: false, | ||
// }); | ||
// }); | ||
// } | ||
// } | ||
// } | ||
// | ||
// type bfsReturn = SearchQuery | undefined; | ||
// | ||
// export function searchAutocomplete(query: string) { | ||
// query = query.trim().toUpperCase(); | ||
// graph.updateEachNodeAttributes((node, attr) => { | ||
// return { | ||
// ...attr, | ||
// visited: false, | ||
// }; | ||
// }); | ||
// let queue: QueueItem[] = []; | ||
// graph.forEachOutNeighbor(root, (neighbor) => { | ||
// queue.push({ | ||
// node: neighbor, | ||
// characters: query, | ||
// toNext: query.length === 0, //bfsToNext if blank search string | ||
// }); | ||
// }); | ||
// let results: SearchQuery[] = []; | ||
// while (queue.length) { | ||
// let response: bfsReturn; | ||
// if (queue[0].toNext) { | ||
// response = bfsRecursionToNextData(queue); | ||
// } else { | ||
// response = bfsRecursion(queue); | ||
// } | ||
// if (typeof response !== 'undefined') { | ||
// results.push(response); | ||
// } | ||
// } | ||
// return results; | ||
// } | ||
export function dummmy(input: string) { | ||
return input; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
### Carousel Example | ||
```ts | ||
<Carousel> | ||
<h1>This is the grades tab!</h1> | ||
<h1>This is the detailed tab!</h1> | ||
</Carousel> | ||
``` |
Oops, something went wrong.
6c9f22e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
utd-trends – ./
trends.utdnebula.com
utd-trends-utdnebula.vercel.app
utd-trends-git-master-utdnebula.vercel.app
athena.utdnebula.com
dev.athena.utdnebula.com