-
Notifications
You must be signed in to change notification settings - Fork 0
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
Legg til arbiedsgiverkort #34
base: main
Are you sure you want to change the base?
Conversation
…red-by: Joar Aurdal <[email protected]>’
Co-authored-by: Vilde Stefferud <[email protected]>
Co-authored-by: Joar Aurdal <[email protected]>
Co-authored-by: Vilde Stefferud <[email protected]>
Co-authored-by: Joar Aurdal <[email protected]>
Co-authored-by: Vilde Stefferud <[email protected]>
Co-authored-by: Vilde Stefferud <[email protected]>
Co-authored-by: Vilde Stefferud <[email protected]>
Co-authored-by: Vilde Stefferud <[email protected]>
Co-authored-by: Joar Aurdal <[email protected]>
Co-authored-by: Vilde Stefferud <[email protected]>
Co-authored-by: Joar Aurdal <[email protected]>
Co-authored-by: Joar Aurdal <[email protected]>
Co-authored-by: Vilde Stefferud <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a new employer card feature to the rekrutteringstreff application, allowing users to add and display employers associated with an event. Key changes include:
- Addition of new components (Arbeidsgivere, LeggTilArbeidsgiverModal, and updates to RekrutteringstreffDetaljerKort) to handle employer listing and creation.
- Implementation of new API hooks and endpoints (useRekrutteringstreffArbeidsgivere and leggtilNyArbeidsgiver) with corresponding Mirage mocks.
- Integration of the new employer functionality into the overall tab-based layout for rekrutteringstreff.
Reviewed Changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
app/rekrutteringstreff/[rekrutteringstreffId]/components/arbeidsgivere/Arbeidsgivere.tsx | New component for displaying a list of employers. |
app/rekrutteringstreff/[rekrutteringstreffId]/components/LeggTilArbeidsgiverModal.tsx | New modal component for adding an employer. |
app/rekrutteringstreff/[rekrutteringstreffId]/RekrutteringstreffContext.tsx | Context provider updates to support employer operations. |
app/rekrutteringstreff/[rekrutteringstreffId]/components/om-treffet/OmTreffet.tsx | Minor updates integrating employer-related UI. |
app/api/rekrutteringstreff/[...slug]/useArbeidsgivere.tsx | New hook for fetching employers with an endpoint issue. |
app/api/rekrutteringstreff/[...slug]/ny-arbeidsgiver/leggTilNyArbeidsgiver.ts | Endpoint and API call updates for adding a new employer. |
app/rekrutteringstreff/[rekrutteringstreffId]/components/RekrutteringstreffDetaljerKort.tsx | Updated card UI to include the new LeggTilArbeidsgiverModal. |
app/rekrutteringstreff/[rekrutteringstreffId]/Rekrutteringstreff.tsx | Updated tabbed interface to incorporate employer functionality. |
mocks/* | Updates to Mirage mocks to support the new API endpoints. |
`${RekrutteringstreffAPI.internUrl}/${id}/arbeidsgivere}`; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The endpoint string has an extra closing brace. It should be corrected to remove the trailing '}' to correctly form the URL.
`${RekrutteringstreffAPI.internUrl}/${id}/arbeidsgivere}`; | |
`${RekrutteringstreffAPI.internUrl}/${id}/arbeidsgivere`; |
Copilot is powered by AI, so mistakes are possible. Review output carefully before use.
No description provided.