diff --git a/backend/utils/enums.ts b/backend/utils/enums.ts
index 90b745e9..48141c62 100644
--- a/backend/utils/enums.ts
+++ b/backend/utils/enums.ts
@@ -20,6 +20,9 @@ enum StatusTypes {
INVITED_TO_INTERVIEW = 'Invited to interview',
INTERVIEW_DECLINED = 'Interview declined',
INTERVIEW_COMPLETED = 'Interview completed',
+ UNCERTAIN = 'Uncertain',
+ PLANNED_ACCEPTANCE = 'Planned acceptance',
+ PLANNED_REJECTION = 'Planned rejection',
OFFER_GIVEN = 'Offer given',
OFFER_DECLINED = 'Offer declined',
ACCEPTED = 'Accepted',
diff --git a/frontend/src/components/StatusInput.tsx b/frontend/src/components/StatusInput.tsx
index 21b1ffba..4a10b2df 100644
--- a/frontend/src/components/StatusInput.tsx
+++ b/frontend/src/components/StatusInput.tsx
@@ -59,6 +59,8 @@ function isYellow(value: StatusTypes): boolean {
return (
value === StatusTypes.PLANNED_INTERVIEW ||
value === StatusTypes.INVITED_TO_INTERVIEW ||
+ value === StatusTypes.UNCERTAIN ||
+ value === StatusTypes.PLANNED_ACCEPTANCE ||
value === StatusTypes.OFFER_GIVEN ||
value === StatusTypes.INTERVIEW_COMPLETED
)
diff --git a/frontend/src/utils/enums.ts b/frontend/src/utils/enums.ts
index a5cefb9a..58966a10 100644
--- a/frontend/src/utils/enums.ts
+++ b/frontend/src/utils/enums.ts
@@ -10,6 +10,9 @@ enum StatusTypes {
INVITED_TO_INTERVIEW = 'Invited to interview',
INTERVIEW_DECLINED = 'Interview declined',
INTERVIEW_COMPLETED = 'Interview completed',
+ UNCERTAIN = 'Uncertain',
+ PLANNED_ACCEPTANCE = 'Planned acceptance',
+ PLANNED_REJECTION = 'Planned rejection',
OFFER_GIVEN = 'Offer given',
OFFER_DECLINED = 'Offer declined',
ACCEPTED = 'Accepted',
diff --git a/frontend/src/utils/status.tsx b/frontend/src/utils/status.tsx
index 8f2e2628..754e0ce4 100644
--- a/frontend/src/utils/status.tsx
+++ b/frontend/src/utils/status.tsx
@@ -3,10 +3,12 @@ import { StatusTypes } from './enums'
import {
Check,
ClipboardText,
+ Clock,
File,
PhoneCheck,
PhoneIncoming,
PhoneOff,
+ PhonePause,
QuestionMark,
UserOff,
UserPlus,
@@ -25,6 +27,12 @@ export function getStatusTranslation(status: StatusTypes) {
return 'Intervju avslått'
case StatusTypes.INTERVIEW_COMPLETED:
return 'Intervju fullført'
+ case StatusTypes.UNCERTAIN:
+ return 'Under vurdering'
+ case StatusTypes.PLANNED_ACCEPTANCE:
+ return 'Planlagt tilbud'
+ case StatusTypes.PLANNED_REJECTION:
+ return 'Planlagt avslag'
case StatusTypes.OFFER_GIVEN:
return 'Tilbud gitt'
case StatusTypes.OFFER_DECLINED:
@@ -50,6 +58,12 @@ export function getStatus(status: string) {
return StatusTypes.INTERVIEW_DECLINED
case 'Interview completed':
return StatusTypes.INTERVIEW_COMPLETED
+ case 'Uncertain':
+ return StatusTypes.UNCERTAIN
+ case 'Planned acceptance':
+ return StatusTypes.PLANNED_ACCEPTANCE
+ case 'Planned rejection':
+ return StatusTypes.PLANNED_REJECTION
case 'Offer given':
return StatusTypes.OFFER_GIVEN
case 'Offer declined':
@@ -75,6 +89,12 @@ export function getStatusColor(status: StatusTypes, theme: MantineTheme) {
return theme.colors.ntnui_red[9]
case StatusTypes.INTERVIEW_COMPLETED:
return theme.colors.ntnui_yellow[9]
+ case StatusTypes.UNCERTAIN:
+ return theme.colors.ntnui_yellow[9]
+ case StatusTypes.PLANNED_ACCEPTANCE:
+ return theme.colors.ntnui_yellow[9]
+ case StatusTypes.PLANNED_REJECTION:
+ return theme.colors.ntnui_red[9]
case StatusTypes.OFFER_GIVEN:
return theme.colors.ntnui_yellow[9]
case StatusTypes.OFFER_DECLINED:
@@ -100,6 +120,12 @@ export function getIconForStatus(status: string) {
return
case StatusTypes.INTERVIEW_COMPLETED:
return
+ case StatusTypes.UNCERTAIN:
+ return
+ case StatusTypes.PLANNED_ACCEPTANCE:
+ return
+ case StatusTypes.PLANNED_REJECTION:
+ return
case StatusTypes.OFFER_GIVEN:
return
case StatusTypes.OFFER_DECLINED: