diff --git a/app/applications/page.tsx b/app/applications/page.tsx
index 17e1c5f..6c15c8e 100644
--- a/app/applications/page.tsx
+++ b/app/applications/page.tsx
@@ -898,17 +898,17 @@ export default function Applications() {
setEvaluationScore(e.target.value)}
className="input w-full"
- placeholder="Enter score (0-10)"
+ placeholder="Enter score (0-20)"
/>
diff --git a/components/ApplicationAcceptModal.tsx b/components/ApplicationAcceptModal.tsx
index 0891008..62c3dce 100644
--- a/components/ApplicationAcceptModal.tsx
+++ b/components/ApplicationAcceptModal.tsx
@@ -69,8 +69,8 @@ export default function ApplicationAcceptModal({ setShowAcceptModal }: Applicati
const onChangeMinScore = (e: React.ChangeEvent) => {
const value = Number(e.target.value)
- if (value < 0 || value > 10) {
- setMinScoreError("Score must be between 0 and 10")
+ if (value < 0 || value > 20) {
+ setMinScoreError("Score must be between 0 and 20")
} else {
setMinScore(value)
setMinScoreError("")
@@ -254,7 +254,7 @@ export default function ApplicationAcceptModal({ setShowAcceptModal }: Applicati
className="bg-transparent border border-white/20 rounded-md px-4 py-2 text-white w-full"
placeholder="Minimum score"
min={0}
- max={10}
+ max={20}
onChange={onChangeMinScore}
/>
{minScoreError}
diff --git a/lib/firebaseUtils.ts b/lib/firebaseUtils.ts
index e2cef40..7dd28de 100644
--- a/lib/firebaseUtils.ts
+++ b/lib/firebaseUtils.ts
@@ -287,7 +287,7 @@ export async function updateUserStatus(userId: string, status: string): Promise<
/**
* Updates an application's score and evaluation notes in Firestore
* @param applicationId - The ID of the application to update
- * @param score - The numerical score (0-10)
+ * @param score - The numerical score (0-20)
* @param evaluationNotes - Optional evaluation notes
*/
export async function updateApplicationScore(
diff --git a/package-lock.json b/package-lock.json
index 306151f..8c4e5ca 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10,10 +10,12 @@
"dependencies": {
"@vercel/analytics": "^1.5.0",
"firebase": "^11.8.1",
+ "lucide-react": "^0.522.0",
"next": "15.1.6",
"nodemailer": "^7.0.3",
"react": "^19.0.0",
- "react-dom": "^19.0.0"
+ "react-dom": "^19.0.0",
+ "react-hot-toast": "^2.5.2"
},
"devDependencies": {
"@eslint/eslintrc": "^3",
@@ -2453,8 +2455,7 @@
"node_modules/csstype": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
- "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==",
- "dev": true
+ "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw=="
},
"node_modules/damerau-levenshtein": {
"version": "1.0.8",
@@ -3658,6 +3659,15 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/goober": {
+ "version": "2.1.16",
+ "resolved": "https://registry.npmjs.org/goober/-/goober-2.1.16.tgz",
+ "integrity": "sha512-erjk19y1U33+XAMe1VTvIONHYoSqE4iS7BYUZfHaqeohLmnC0FdxEh7rQU+6MZ4OajItzjZFSRtVANrQwNq6/g==",
+ "license": "MIT",
+ "peerDependencies": {
+ "csstype": "^3.0.10"
+ }
+ },
"node_modules/gopd": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
@@ -4439,6 +4449,15 @@
"integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",
"dev": true
},
+ "node_modules/lucide-react": {
+ "version": "0.522.0",
+ "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.522.0.tgz",
+ "integrity": "sha512-jnJbw974yZ7rQHHEFKJOlWAefG3ATSCZHANZxIdx8Rk/16siuwjgA4fBULpXEAWx/RlTs3FzmKW/udWUuO0aRw==",
+ "license": "ISC",
+ "peerDependencies": {
+ "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ }
+ },
"node_modules/math-intrinsics": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
@@ -5161,6 +5180,23 @@
"react": "^19.0.0"
}
},
+ "node_modules/react-hot-toast": {
+ "version": "2.5.2",
+ "resolved": "https://registry.npmjs.org/react-hot-toast/-/react-hot-toast-2.5.2.tgz",
+ "integrity": "sha512-Tun3BbCxzmXXM7C+NI4qiv6lT0uwGh4oAfeJyNOjYUejTsm35mK9iCaYLGv8cBz9L5YxZLx/2ii7zsIwPtPUdw==",
+ "license": "MIT",
+ "dependencies": {
+ "csstype": "^3.1.3",
+ "goober": "^2.1.16"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "react": ">=16",
+ "react-dom": ">=16"
+ }
+ },
"node_modules/react-is": {
"version": "16.13.1",
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",