-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nå er demo resolverne ganske funksjonelle og scenarioene satt opp med realistiske data. scenarioene plukker ut data basert på merkelapp.
- Loading branch information
Showing
29 changed files
with
1,056 additions
and
1,312 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,7 +50,7 @@ | |
|
||
.kalenderavtale_tidspunkt { | ||
grid-area: tidspunkt; | ||
font-size: 2.350rem; | ||
font-size: 2rem; | ||
|
||
} | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
import { KalenderavtaleTilstand } from '../../api/graphql-types'; | ||
import { fakerNB_NO as faker } from '@faker-js/faker'; | ||
import { dateInFuture, kalenderavtale } from './helpers'; | ||
|
||
export const alleKalenderavtaler = [ | ||
kalenderavtale({ | ||
tekst: `Dialogmøte ${faker.person.fullName()}`, | ||
startTidspunkt: dateInFuture({ days: 1 }), | ||
sluttTidspunkt: dateInFuture({ days: 1, hours: 1 }), | ||
avtaletilstand: KalenderavtaleTilstand.VenterSvarFraArbeidsgiver, | ||
lokasjon: { | ||
adresse: faker.location.streetAddress(), | ||
postnummer: faker.location.zipCode('####'), | ||
poststed: faker.location.city(), | ||
}, | ||
digitalt: false, | ||
merkelapp: 'Dialogmøte', | ||
}), | ||
kalenderavtale({ | ||
tekst: `Dialogmøte ${faker.person.fullName()}`, | ||
startTidspunkt: dateInFuture({ days: 3 }), | ||
avtaletilstand: KalenderavtaleTilstand.ArbeidsgiverHarGodtatt, | ||
digitalt: true, | ||
merkelapp: 'Dialogmøte', | ||
}), | ||
kalenderavtale({ | ||
tekst: `Dialogmøte ${faker.person.fullName()}`, | ||
startTidspunkt: dateInFuture({ days: 7 }), | ||
sluttTidspunkt: dateInFuture({ days: 7, hours: 1 }), | ||
avtaletilstand: KalenderavtaleTilstand.ArbeidsgiverVilEndreTidEllerSted, | ||
lokasjon: { | ||
adresse: faker.location.streetAddress(), | ||
postnummer: faker.location.zipCode('####'), | ||
poststed: faker.location.city(), | ||
}, | ||
digitalt: false, | ||
merkelapp: 'Dialogmøte', | ||
}), | ||
kalenderavtale({ | ||
tekst: `Dialogmøte ${faker.person.fullName()}`, | ||
startTidspunkt: dateInFuture({ days: 10 }), | ||
avtaletilstand: KalenderavtaleTilstand.ArbeidsgiverVilAvlyse, | ||
merkelapp: 'Dialogmøte', | ||
}), | ||
kalenderavtale({ | ||
tekst: `Dialogmøte ${faker.person.fullName()}`, | ||
startTidspunkt: dateInFuture({ months: 1 }), | ||
sluttTidspunkt: dateInFuture({ months: 1, hours: 3 }), | ||
avtaletilstand: KalenderavtaleTilstand.Avlyst, | ||
digitalt: true, | ||
merkelapp: 'Dialogmøte', | ||
}), | ||
]; |
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,19 @@ | ||
// create an enum type for allMerkelapper | ||
|
||
export enum Merkelapp { | ||
Arbeidstrening = 'Arbeidstrening', | ||
Fritak_i_arbeidsgiverperioden = 'Fritak i arbeidsgiverperioden', | ||
Inntektsmelding = 'Inntektsmelding', | ||
Inntektsmelding_sykepenger = 'Inntektsmelding sykepenger', | ||
Inntektsmelding_pleiepenger = 'Inntektsmelding pleiepenger', | ||
Lønnstilskudd = 'Lønnstilskudd', | ||
Masseoppsigelse = 'Masseoppsigelse', | ||
Mentor = 'Mentor', | ||
Permittering = 'Permittering', | ||
Sommerjobb = 'Sommerjobb', | ||
Yrkesskade = 'Yrkesskade', | ||
Dialogmøte = 'Dialogmøte', | ||
Oppfølging = 'Oppfølging', | ||
} | ||
|
||
export const alleMerkelapper = Object.values(Merkelapp); |
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,44 @@ | ||
import { KalenderavtaleTilstand, OppgaveTilstand } from '../../api/graphql-types'; | ||
import { beskjed, dateInPast, kalenderavtale, oppgave } from './helpers'; | ||
|
||
export const alleNotifikasjoner = [ | ||
oppgave({ | ||
tekst: 'Les og godkjenn avtalen for at den skal kunne tas i bruk', | ||
klikketPaa: false, | ||
tilstand: OppgaveTilstand.Ny, | ||
sakTittel: 'Avtale om lønnstilskudd for Venstrehendt Gitarist', | ||
}), | ||
oppgave({ | ||
tekst: 'Send inntektsmelding', | ||
tilstand: OppgaveTilstand.Utfoert, | ||
utfoertTidspunkt: dateInPast({ days: 1 }), | ||
sakTittel: 'Inntektsmelding for sykepenger Tulla Tullesen - f. 01.05.2001', | ||
tilleggsinformasjon: 'Avtalen gjaldt sykdomsperiode 01.09.2024 - 01.09.2024', | ||
}), | ||
beskjed({ | ||
tekst: 'Du har fått svar fra veileder', | ||
sakTittel: 'Avtale om lønnstilskudd - Akrobatisk admiral', | ||
opprettetTidspunkt: dateInPast({ days: 2 }), | ||
}), | ||
oppgave({ | ||
tekst: 'Send inntektsmelding', | ||
tilstand: OppgaveTilstand.Utgaatt, | ||
utgaattTidspunkt: dateInPast({ days: 3 }), | ||
frist: dateInPast({ days: 2 }), | ||
sakTittel: 'Inntektsmelding for sykepenger Fetter Anton - f. 12.03.1999', | ||
}), | ||
kalenderavtale({ | ||
klikketPaa: false, | ||
tekst: 'Dialogmøte Dolly', | ||
startTidspunkt: dateInPast({ days: 4 }), | ||
lokasjon: { | ||
adresse: 'Thorvald Meyers gate 2B', | ||
postnummer: '0473', | ||
poststed: 'Oslo', | ||
__typename: 'Lokasjon', | ||
}, | ||
digitalt: true, | ||
avtaletilstand: KalenderavtaleTilstand.ArbeidsgiverHarGodtatt, | ||
sakTittel: 'Søknad om fritak fra arbeidsgiverperioden – kronisk sykdom Gylden Karneval', | ||
}), | ||
]; |
Oops, something went wrong.