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/yrkesskade frontend #3649

Merged
merged 20 commits into from
Oct 18, 2024
Merged

Feature/yrkesskade frontend #3649

merged 20 commits into from
Oct 18, 2024

Conversation

betsytraran
Copy link
Contributor

@betsytraran betsytraran commented Oct 8, 2024

This pull request includes multiple changes to the dolly-frontend application, focusing on adding support for the testnav-yrkesskade-proxy and enhancements related to handling yrkesskader.

Proxy and Configuration Updates:

  • Added testnav-yrkesskade-proxy to various configuration files (config.yml, config.test.yml, config.unstable.yml, config.idporten.yml). [1] [2] [3] [4]
  • Updated DollyFrontendApplicationStarter.java to include a route for testnavYrkesskadeProxy.
  • Added testnavYrkesskadeProxy to the Consumers.java class.
  • Updated proxy-routes.json to include a route for testnav-yrkesskade-proxy.

Enhancements for Yrkesskader:

  • Added formatDateTime utility function to BestillingKriterieMapper.tsx and updated mapping functions to use it. [1] [2]
  • Introduced mapYrkesskader function to handle yrkesskader data in BestillingKriterieMapper.tsx. [1] [2]
  • Updated SykdomPanel to include yrkesskader attributes and renamed it to "Sykdom og skade". [1] [2] [3]
  • Added YrkesskaderForm to the form validation and rendering logic in DollyValidation.tsx and Steg2.tsx. [1] [2] [3] [4]
  • Included yrkesskader in the root paths array in utils.tsx.
  • Enhanced OrgnrToggle component to accept a custom label. [1] [2]
  • Added type definitions for Yrkesskader in YrkesskaderTypes.tsx.

@betsytraran
Copy link
Contributor Author

Yrkesskade frontend

@betsytraran betsytraran marked this pull request as ready for review October 16, 2024 17:36
@betsytraran betsytraran requested a review from a team as a code owner October 16, 2024 17:36
Copy link
Contributor

@stigus stigus left a comment

Choose a reason for hiding this comment

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

Ser nydelig ut, tut og chøør rett ut i mastør som jeg pleier å si 🤩

@betsytraran betsytraran merged commit 80bde79 into master Oct 18, 2024
448 of 449 checks passed
@betsytraran betsytraran deleted the feature/yrkesskade-frontend branch October 18, 2024 08:08
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.

2 participants