Skip to content
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

feat: Judging portal with tools for submitting judging result, importing projects and assigning projects to tables #232

Merged
merged 39 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
f41ef63
feat: finished MVP judging schema
arian81 Nov 28, 2024
1c61d0c
fix: issue with logo path on /admin
arian81 Dec 25, 2024
a8c4587
refactor: decouple CustomInput logic
arian81 Dec 25, 2024
2ed31c7
refactor: make admin index page organized
arian81 Dec 25, 2024
2b777ed
feat: add judging backend
arian81 Dec 25, 2024
cf1d793
feat: frontend to import project and assign them
arian81 Dec 25, 2024
b8337ea
feat: schema for judging
arian81 Dec 25, 2024
a84481d
feat: install csv parser
arian81 Dec 25, 2024
1c1b66f
feat: timeslot for hackers and admins
arian81 Dec 25, 2024
97aba25
feat: judging page for judges
arian81 Dec 25, 2024
38a7260
Merge branch 'main' into judging-portal
arian81 Dec 25, 2024
08ca6ab
feat: add general track
arian81 Dec 26, 2024
c2531e8
fix: assign all mlh projects to one table and track
arian81 Dec 27, 2024
b761ca4
feat: proper handling of MLH projects in the timeslot algorithm
arian81 Dec 27, 2024
3ea6ab5
fix: improve UI
arian81 Dec 27, 2024
638ba67
fix: make the tables work with mlh exception
arian81 Dec 27, 2024
7225710
fix: change default duration to 10
arian81 Dec 27, 2024
7d254fc
feat: add judging rubric to db
arian81 Jan 2, 2025
9ec1e47
refactor: better organize judging admin pages
arian81 Jan 2, 2025
1036f3f
feat: add proper component for grading + support markdown
arian81 Jan 2, 2025
fc7f1ad
feat: add support for dhYear config
arian81 Jan 2, 2025
acbea0b
refactor: add support for dhYear to judging endpoints
arian81 Jan 2, 2025
1e6dd8a
feat: add markdown support for rubric questions
arian81 Jan 2, 2025
845293c
feat: created judging rubric creation page for admins
arian81 Jan 2, 2025
82fb5ba
feat: leaderboard to show top projects
arian81 Jan 2, 2025
86b7044
fix: add typing for markdown component
arian81 Jan 2, 2025
54fd6c7
Merge branch 'main' into judging-portal
arian81 Jan 2, 2025
12acaa7
feat: add general questions to tracks
arian81 Jan 2, 2025
6f6a486
feat: make leaderboard update every 30 sec
arian81 Jan 2, 2025
73d92ae
fix: use upsert instead of create
arian81 Jan 3, 2025
fe563fd
fix: get rid of extra states
arian81 Jan 3, 2025
fe1f3b7
fix: simplify year setting logic
arian81 Jan 3, 2025
4ec039e
fix: move invalidate to onSuccess
arian81 Jan 3, 2025
b0b6644
fix: simplify fetching logic
arian81 Jan 3, 2025
a35f654
fix: make text smaller to avoid overflow
arian81 Jan 3, 2025
fcc4275
fix: make project follow timeslot order in judging page
arian81 Jan 6, 2025
6ff0526
refactor: get rid of dynamic project duration and project per table
arian81 Jan 6, 2025
1ab67d9
refactor: adapt strategy pattern for different csv files
arian81 Jan 6, 2025
60c7bfe
Merge branch 'main' into judging-portal
arian81 Jan 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 18 additions & 14 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,21 @@ function defineNextConfig(config) {
return config;
}

export default defineNextConfig({
reactStrictMode: true,
swcMinify: true,
images: {
remotePatterns: [
{
protocol: "https",
hostname: "lh3.googleusercontent.com",
port: "",
pathname: "/**",
},
],
},
});
import removeImports from "next-remove-imports";

export default defineNextConfig(
removeImports({
reactStrictMode: true,
swcMinify: true,
images: {
remotePatterns: [
{
protocol: "https",
hostname: "lh3.googleusercontent.com",
port: "",
pathname: "/**",
},
],
},
})
);
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"@trpc/next": "^10.38.5",
"@trpc/react-query": "^10.38.5",
"@trpc/server": "^10.38.5",
"@uiw/react-md-editor": "^4.0.5",
"@uppy/core": "^4.2.2",
"@uppy/dashboard": "^4.1.1",
"@uppy/drag-drop": "^4.0.3",
Expand All @@ -57,8 +58,9 @@
"lucide-react": "^0.294.0",
"next": "^13.4.8",
"next-auth": "^4.15.1",
"next-remove-imports": "^1.0.12",
"next-themes": "^0.2.1",
"papaparse": "^5.3.2",
"papaparse": "^5.4.1",
"planby": "^1.1.2",
"posthog-js": "^1.174.3",
"posthog-node": "^4.2.1",
Expand All @@ -68,6 +70,7 @@
"react-hook-form": "^7.47.0",
"react-hook-form-persist": "^3.0.0",
"react-icons": "^4.11.0",
"react-markdown": "^9.0.1",
"react-qr-code": "^2.0.11",
"react-qr-reader": "^3.0.0-beta-1",
"react-select": "^5.8.0",
Expand All @@ -79,8 +82,10 @@
"zod": "^3.18.0"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.15",
"@types/logrocket-react": "^3.0.3",
"@types/node": "18.0.0",
"@types/papaparse": "^5.3.15",
"@types/react": "18.0.14",
"@types/react-dom": "18.0.5",
"@types/validator": "^13.11.6",
Expand Down
Loading
Loading