Skip to content

Commit b0e8da0

Browse files
Merge branch 'develop' into #276-selected_filter_color
2 parents fc27f59 + 3bed05e commit b0e8da0

File tree

45 files changed

+899
-569
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+899
-569
lines changed

Diff for: README.md

+17-32
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,26 @@
1-
# UTD-Trends
1+
# UTD Trends
22

3-
_UTD-Trends a data visualization tool built to help students view historical course and section data using the Nebula API_
3+
_Easy access to all the information you need to plan your schedule_
44

55
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
66

77
## About
88

99
### Overview
1010

11-
UTD-Trends offers students and faculty an accessible and easily digestible means
12-
of viewing the data stored in the Nebula API. This front-end for the API offers
13-
data visualization tools so that students can view agregated data and make more informed
14-
decisions on their coursework.
15-
16-
### Inspiration
17-
18-
For years the students of UTD have made use of the UTD Grades tool to access
19-
information about their coursework in conjunction with other web applications like
20-
Rate My Professor.
21-
22-
Now Project Nebula hopes to offer students a comprehensive view of course information
23-
all in a single application through Project UTD-Trends. The hope is to offer students an all
24-
in one experience and streamline the data gathering experience of students while providing
25-
better data gathered through UTD specific sources rather than the crowd sourcing of other sites.
26-
27-
UTD-Trends hopes to offer more tooling to students than previously available and build upon the
28-
successes of UTD Grades to enhance the student experience.
11+
UTD Trends offers students and faculty an accessible and easily digestible means
12+
of viewing the data stored in the Nebula API and on Rate My Professors. Providing
13+
data visualization tools so that students can view agregated data and make more
14+
informed decisions on their coursework.
2915

3016
### Features
3117

32-
- Data Visualizations for the Nebula API
33-
- Easy searchability and result filtering
34-
- Section comparison
35-
- Multi-metric evaluations on course performance
18+
- Multiple Sources
19+
- Find grade distributions and Rate My Professors scores for any given class.
20+
- Aggregate
21+
- Powerful query abilities that aggregate grade and Rate My Professors data across several years to give you a more wholistic view.
22+
- Compare
23+
- See data for multiple courses, professors, and categories on a single graph without switching tabs.
3624

3725
## Contributing
3826

@@ -45,14 +33,11 @@ This project uses the MIT License.
4533
To get started, see the [contribution guide](./CONTRIBUTING.md). It'll tell you
4634
everything you need to know.
4735

48-
Additionally, see the Project Nebula-wide contributors [guide](https://about.utdnebula.com/)
49-
for more info.
50-
5136
Once you're ready to make some changes, see the
52-
[issues](https://github.com/UTDNebula/UTD-Trends/issues) for the repository.
37+
[issues](https://github.com/UTDNebula/utd-trends/issues) for the repository.
5338

5439
If you want to brainstorm, share ideas or ask questions, start a discussion in
55-
the [Discussions](https://github.com/UTDNebula/UTD-Trends/discussions) section.
40+
our [Discord](https://discord.utdnebula.com/) section.
5641

5742
### Set-up
5843

@@ -61,13 +46,13 @@ installation. To start, clone the repository, and then run `npm run dev` to laun
6146
a local development server at [`localhost:3000`](https://localhost:3000) by default.
6247

6348
```bash
64-
git clone https://github.com/UTDNebula/UTD-Trends.git
65-
cd UTD-Trends
49+
git clone https://github.com/UTDNebula/utd-trends.git
50+
cd utd-Trends
6651
npm install
6752
npm run dev
6853
```
6954

7055
### Contact
7156

7257
This project is maintained by Nebula Labs. If you have
73-
any questions about this project or Nebula Labs, see the [discord server](https://discord.gg/3p4H44zjTt)
58+
any questions about this project or Nebula Labs, see the [discord server](https://discord.utdnebula.com/)

Diff for: package-lock.json

+14-32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"@mui/icons-material": "^6.1.2",
2323
"@mui/material": "^6.1.2",
2424
"@next/third-parties": "^14.2.15",
25-
"@vercel/analytics": "^1.0.0",
2625
"@vercel/speed-insights": "^1.0.12",
2726
"apexcharts": "^3.33.2",
2827
"autoprefixer": "^10.4.2",
@@ -42,6 +41,7 @@
4241
"react-apexcharts": "^1.3.9",
4342
"react-docgen-typescript": "^2.2.2",
4443
"react-dom": "^18.2.0",
44+
"react-resizable-panels": "^2.1.4",
4545
"sharp": "^0.33.5",
4646
"style-loader": "^4.0.0",
4747
"tailwindcss": "^3.0.23",

Diff for: src/components/common/GitHubButton/gitHubButton.tsx

+16-23
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
import GitHub from '@mui/icons-material/GitHub';
2-
import { Card, IconButton, Tooltip, useMediaQuery } from '@mui/material';
2+
import { IconButton, Tooltip } from '@mui/material';
33
import React from 'react';
44

55
export default function GitHubButton() {
6-
const prefersDarkMode = useMediaQuery('(prefers-color-scheme: dark)');
7-
const cardElevation = prefersDarkMode ? 3 : 1;
8-
96
const showGitInfo =
107
typeof process.env.NEXT_PUBLIC_VERCEL_ENV !== 'undefined' &&
118
process.env.NEXT_PUBLIC_VERCEL_ENV === 'preview' &&
@@ -17,24 +14,20 @@ export default function GitHubButton() {
1714
}
1815

1916
return (
20-
<Card
21-
className="w-fit h-fit bg-light fixed bottom-2 right-2 rounded-full"
22-
elevation={cardElevation}
23-
>
24-
<Tooltip title="Open GitHub commit for this instance">
25-
<a
26-
href={
27-
'https://github.com/UTDNebula/utd-trends/commit/' +
28-
process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA
29-
}
30-
rel="noopener noreferrer"
31-
target="_blank"
32-
>
33-
<IconButton size="large">
34-
<GitHub className="fill-dark text-3xl" />
35-
</IconButton>
36-
</a>
37-
</Tooltip>
38-
</Card>
17+
<Tooltip title="Open GitHub commit for this instance">
18+
<a
19+
href={
20+
'https://github.com/UTDNebula/utd-trends/commit/' +
21+
process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA
22+
}
23+
rel="noreferrer"
24+
target="_blank"
25+
className="w-fit h-fit bg-white fixed bottom-2 right-2 rounded-full"
26+
>
27+
<IconButton size="large">
28+
<GitHub className="fill-black text-3xl" />
29+
</IconButton>
30+
</a>
31+
</Tooltip>
3932
);
4033
}

Diff for: src/components/common/SingleGradesInfo/singleGradesInfo.tsx

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
import { Skeleton } from '@mui/material';
22
import React from 'react';
33

4-
import SearchQuery from '../../../modules/SearchQuery/SearchQuery';
5-
import searchQueryLabel from '../../../modules/searchQueryLabel/searchQueryLabel';
6-
import type {
7-
GenericFetchedData,
8-
GradesType,
9-
} from '../../../pages/dashboard/index';
10-
import BarGraph from '../../graph/BarGraph/barGraph';
4+
import BarGraph from '@/components/graph/BarGraph/barGraph';
5+
import {
6+
type SearchQuery,
7+
searchQueryLabel,
8+
} from '@/modules/SearchQuery/SearchQuery';
9+
import type { GenericFetchedData, GradesType } from '@/pages/dashboard/index';
1110

1211
function convertNumbersToPercents(distribution: GradesType): number[] {
1312
const total = distribution.total;

0 commit comments

Comments
 (0)