-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tsf 3424 - Opprette notat i sak K9 (#4932)
* TSF-3424 - Grunnoppsett * Tailwind * Forbedret ca alt La til msw for storybook * Error states Forbedret innsending av data Forbedring av mock * Påbegynt inngang fra k9-sak Forbedret innsending av data * Bruker localstorage for å holde oversikt over uleste notater Laget visning av uleste notater * All funksjonalitet på plass * Flytter Queryprovider opp slik at det kan brukes flere steder * Tweaket på lagring av leste notater * Satt riktige versjoner av pakker * WIP: 24f3761 Merge branch 'master' into TSF-3424 * Fiks at notatvisning * feature toggle og rydding * Fikser tester * Fikser test * Separerer visning og logikk * Fikser bug i henting av data Bedre formatering av dato * tar bort tailwind * tok bort for mye tailwind --------- Co-authored-by: Thomas H. Wiberg <[email protected]>
- Loading branch information
1 parent
704dd07
commit 2d8a25a
Showing
43 changed files
with
1,369 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
declare module '*.svg'; | ||
declare module '*.less'; | ||
declare module '*.css'; | ||
declare module '*.module.css'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -115,3 +115,5 @@ spec: | |
value: "true" | ||
- name: FAKTA_BEREGNING_REDESIGN | ||
value: "true" | ||
- name: NOTAT_I_SAK | ||
value: "true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -115,3 +115,5 @@ spec: | |
value: "false" | ||
- name: FAKTA_BEREGNING_REDESIGN | ||
value: "false" | ||
- name: NOTAT_I_SAK | ||
value: "false" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
packages/sak-app/src/behandlingsupport/notater/NotaterIndex.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { LoadingPanel, requireProps } from '@fpsak-frontend/shared-components'; | ||
import Notater from '@k9-sak-web/sak-notat'; | ||
import { FagsakPerson, NavAnsatt } from '@k9-sak-web/types'; | ||
import React from 'react'; | ||
|
||
interface OwnProps { | ||
saksnummer: string; | ||
behandlingId?: number; | ||
behandlingVersjon?: number; | ||
fagsakPerson?: FagsakPerson; | ||
navAnsatt: NavAnsatt; | ||
} | ||
|
||
const EMPTY_ARRAY = []; | ||
|
||
/** | ||
* NotaterIndex | ||
* | ||
* Container komponent. Har ansvar for å vise notater i saken. | ||
*/ | ||
export const NotaterIndex = ({ saksnummer, navAnsatt }: OwnProps) => ( | ||
<Notater fagsakId={saksnummer} navAnsatt={navAnsatt} /> | ||
); | ||
|
||
export default requireProps(['saksnummer'], <LoadingPanel />)(NotaterIndex); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.