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

Feature/upgradeapplicantstateview #1603

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

Conversation

magsyg
Copy link
Contributor

@magsyg magsyg commented Nov 5, 2024

Make a view for and serializer where applicants are organized

Before it was done in frontend, now it is moved to backend

This will also make it easier to fetch the status with how dynamic it is

@magsyg magsyg self-assigned this Nov 5, 2024
@Snorre98
Copy link
Contributor

Snorre98 commented Nov 5, 2024

@magsyg Jeg har en PR på akkurat dette

@Snorre98
Copy link
Contributor

Snorre98 commented Nov 5, 2024

#1574

@@ -564,6 +564,7 @@
samfundet__interview_list = 'samfundet:interview-list'
samfundet__interview_detail = 'samfundet:interview-detail'
samfundet__api_root = 'samfundet:api-root'
samfundet__api_root = 'samfundet:api-root'
Copy link
Member

Choose a reason for hiding this comment

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

Fjern linje

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Member

Choose a reason for hiding this comment

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

Linjen er der fortsatt

frontend/src/routes/backend.ts Outdated Show resolved Hide resolved
@@ -105,6 +105,11 @@
views.RecruitmentApplicationForGangUpdateStateView.as_view(),
name='recruitment_application_update_state_gang',
),
path(
'recruitment-position-organized-applications/<slug:pk>/',
Copy link
Member

Choose a reason for hiding this comment

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

Hvorfor slug?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Er det som er gjort andre steder

Copy link
Member

Choose a reason for hiding this comment

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

Slug er litt misvisende syns jeg, her er det jo en ID som brukes. Slug er mer for strings som er gjort URL-vennlig.

For eksempel: https://stackoverflow.com/questions/4230846/what-is-the-etymology-of-slug-in-a-url

Her er what-is-the-etymology-of-slug-in-a-url slugen, som er generert fra tittelen What is the etymology of 'slug' in a URL?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oki byttet det til id

@magsyg magsyg force-pushed the feature/upgradeapplicantstateview branch from a68d435 to c4abc08 Compare November 12, 2024 21:12
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