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

Make status display actually human-readable statuses #1581

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

amaliejvik
Copy link
Contributor

RecruitmentGangAllApplicantsAdminPage:

Skjermbilde 2024-10-31 kl  21 30 00

RecruitmentPositionOverviewPage:

Før:
Skjermbilde 2024-10-31 kl  21 45 54

Etter:
Skjermbilde 2024-10-31 kl  21 43 08

Related to #1431
Closes #1431

…d rejected, called and accepted ...) instead of is's(0,1,2,3) in both RecruitmentGangAllApplicantsAdminPage and in RecruitmentPositionOverviewPage with translations

Related to #1431
@amaliejvik amaliejvik added bug Something isn't working. frontend Task related to frontend. labels Oct 31, 2024
@amaliejvik amaliejvik self-assigned this Oct 31, 2024
@amaliejvik amaliejvik linked an issue Oct 31, 2024 that may be closed by this pull request
@@ -84,6 +84,19 @@ export function RecruitmentGangAllApplicantsAdminPage() {
{ content: t(KEY.recruitment_recruiter_status), sortable: true },
];

const getStatusOption = (id: number | undefined): string => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gjerne flytt til en egen globalt tilgjengelig funksjon/hook. Og bruk RecruitmentStatusChoices konstantene istedenfor tall

Copy link
Contributor

@Snorre98 Snorre98 Nov 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Til det siste; kan være verdt å vite at det finnes et issue på å hente choices fra backend og implementere de for dette formålet: #1575

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bruker RecruitmentStatusChoices nå:) @robines

Copy link
Contributor

@emsoraffa emsoraffa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. frontend Task related to frontend.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Correct information in applicant status column
4 participants