Skip to content

Commit

Permalink
Merge pull request #2553 from gordon-cs/improve-events
Browse files Browse the repository at this point in the history
Remove defunct attended events and improve events page
  • Loading branch information
EjPlatzer authored Feb 11, 2025
2 parents 87d43c1 + ce26a4a commit 54e9fc2
Show file tree
Hide file tree
Showing 19 changed files with 505 additions and 864 deletions.
12 changes: 12 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"@types/react-big-calendar": "^1.8.8",
"@types/react-dom": "^18.3.0",
"@types/react-router-dom": "^5.3.3",
"@types/react-router-hash-link": "^2.4.9",
"@vitejs/plugin-react": "^4.2.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.29.1",
Expand Down

This file was deleted.

106 changes: 0 additions & 106 deletions src/components/EventList/components/EventItem/index.tsx

This file was deleted.

80 changes: 0 additions & 80 deletions src/components/EventList/index.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions src/components/Loader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ type Props = CircularProgressProps & {
inline?: boolean;
};

const GordonLoader = ({ size = 100, color = 'primary', inline = false }: Props) => {
const GordonLoader = ({ size = 100, color = 'primary', inline = false, ...otherProps }: Props) => {
if (inline) return <CircularProgress size={size} color={color} />;
return (
<Grid className={styles.gordon_loader} container justifyContent="center" alignItems="center">
<Grid item>
<CircularProgress size={size} color={color} />
<CircularProgress size={size} color={color} {...otherProps} />
</Grid>
</Grid>
);
Expand Down
8 changes: 0 additions & 8 deletions src/routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import BannerSubmission from './views/BannerSubmission';
import CoCurricularTranscript from './views/CoCurricularTranscript';
import EnrollmentCheckIn from './views/EnrollmentCheckIn';
import Events from './views/Events';
import EventsAttended from './views/EventsAttended';
import Feedback from './views/Feedback';
import Help from './views/Help';
import Home from './views/Home';
Expand All @@ -23,8 +22,6 @@ import PublicProfile from './views/PublicProfile';
import Timesheets from './views/Timesheets';
import RecIM from './views/RecIM';
import RoomRanges from 'views/ResLife/components/RDView/components/RoomRanges';
import { element } from 'prop-types';
import { Room } from '@mui/icons-material';
import CampusSafety from './views/CampusSafety';

// Route order must be from most specific to least specific (i.e. `/user/:username` before `/user`)
Expand Down Expand Up @@ -69,11 +66,6 @@ const routes = [
path: '/events',
element: <Events />,
},
{
name: 'Attended',
path: '/attended',
element: <EventsAttended />,
},
{
name: 'Feedback',
path: '/feedback',
Expand Down
Loading

0 comments on commit 54e9fc2

Please sign in to comment.