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

Add dropdown to recruitment header #1629

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

Conversation

magsyg
Copy link
Contributor

@magsyg magsyg commented Dec 6, 2024

Header would still show active recruitment even with no active recruitment

@magsyg magsyg self-assigned this Dec 6, 2024
Copy link
Contributor

@Snorre98 Snorre98 left a comment

Choose a reason for hiding this comment

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

Se kommentar. Ellers good

Comment on lines 114 to 130
const recruitmentLinks = showActiveRecruitments && (
<>
{activeRecruitments?.map((recruitment) => (
<Link
key={recruitment.id}
url={reverse({
pattern: ROUTES.frontend.organization_recruitment,
urlParams: { recruitmentId: recruitment?.id },
})}
className={styles.navbar_dropdown_link}
onAfterClick={() => setExpandedDropdown('')}
>
{dbT(recruitment, 'name')} {recruitment.organization.toString()}
</Link>
))}
</>
);
Copy link
Contributor

Choose a reason for hiding this comment

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

Lag en egen PR på dropdown links for opptak. Det er ikke sikkert vi skal vise flere pågående opptak på samme side. Sannsynligvis skal vi ha et "hovedopptak" som vises når man går til /recruitment. Andre opptak skal sannsynligvis kun promoteres fra UKA/ISFiT sin nettside

Copy link
Member

Choose a reason for hiding this comment

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

^

Tror ikke vi burde fremheve alle opptak uten å bli enige med UKA, ISFiT og Samf om hvordan det skal gjøres

@magsyg magsyg changed the title Fix Recruitment header Add dropdown to recruitment header Dec 11, 2024
@Snorre98
Copy link
Contributor

Snorre98 commented Dec 20, 2024

Endrer denne til draft fordi det ikke er sikkert det skal være mulig å navigere til ISFiT/UKA opptak gjennom UI på sm.no

@Snorre98 Snorre98 marked this pull request as draft December 20, 2024 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants