-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/move-and-improve-e2e-tests-web
- Loading branch information
Showing
72 changed files
with
1,745 additions
and
335 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 |
---|---|---|
|
@@ -5,6 +5,8 @@ export const notificationModuleConfig = defineConfig({ | |
load: (env) => ({ | ||
production: env.optional('NODE_ENV') === 'production', | ||
courtOfAppealsId: '4676f08b-aab4-4b4f-a366-697540788088', | ||
shouldUseWhitelist: | ||
env.required('CONTENTFUL_ENVIRONMENT', 'test') !== 'master', | ||
email: { | ||
fromEmail: env.required('EMAIL_FROM', '[email protected]'), | ||
fromName: env.required('EMAIL_FROM_NAME', 'Réttarvörslugátt'), | ||
|
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
11 changes: 11 additions & 0 deletions
11
apps/web/components/Organization/MarkdownText/MarkdownText.css.ts
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,7 +1,18 @@ | ||
import { globalStyle, style } from '@vanilla-extract/css' | ||
|
||
import { theme } from '@island.is/island-ui/theme' | ||
|
||
export const markdownText = style({}) | ||
|
||
globalStyle(`${markdownText} ul`, { | ||
paddingTop: 16, | ||
}) | ||
|
||
globalStyle(`${markdownText} a`, { | ||
color: theme.color.blue400, | ||
textDecoration: 'underline', | ||
}) | ||
|
||
globalStyle(`${markdownText} a:hover`, { | ||
color: theme.color.blueberry400, | ||
}) |
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,9 @@ | ||
import { style } from '@vanilla-extract/css' | ||
|
||
import { theme } from '@island.is/island-ui/theme' | ||
|
||
export const breakdownRowContainer = style({ | ||
display: 'grid', | ||
gridTemplateColumns: '180px 1fr', | ||
gap: theme.spacing[5], | ||
}) |
115 changes: 115 additions & 0 deletions
115
apps/web/components/connected/WHODAS/Calculator.strings.ts
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,115 @@ | ||
import { defineMessages } from 'react-intl' | ||
|
||
export const m = { | ||
form: defineMessages({ | ||
previousStep: { | ||
id: 'web.whodas.calculator:form.previousStep', | ||
defaultMessage: 'Fyrra skref', | ||
description: 'Fyrra skref', | ||
}, | ||
nextStep: { | ||
id: 'web.whodas.calculator:form.nextStep', | ||
defaultMessage: 'Næsta skref', | ||
description: 'Næsta skref', | ||
}, | ||
seeResults: { | ||
id: 'web.whodas.calculator:form.seeResults', | ||
defaultMessage: 'Senda inn svör', | ||
description: 'Senda inn svör', | ||
}, | ||
progress: { | ||
id: 'web.whodas.calculator:form.progress', | ||
defaultMessage: 'Skref {stepIndex} af {stepCount}', | ||
description: 'Skref {stepIndex} af {stepCount}', | ||
}, | ||
}), | ||
answerLabel: defineMessages({ | ||
'0': { | ||
id: 'web.whodas.calculator:form.answerLabel0', | ||
defaultMessage: 'Ekkert erfitt', | ||
description: 'Ekkert erfitt', | ||
}, | ||
'1': { | ||
id: 'web.whodas.calculator:form.answerLabel1', | ||
defaultMessage: 'Svolítið erfitt', | ||
description: 'Svolítið erfitt', | ||
}, | ||
'2': { | ||
id: 'web.whodas.calculator:form.answerLabel2', | ||
defaultMessage: 'Nokkuð erfitt', | ||
description: 'Nokkuð erfitt', | ||
}, | ||
'3': { | ||
id: 'web.whodas.calculator:form.answerLabel3', | ||
defaultMessage: 'Talsvert erfitt', | ||
description: 'Talsvert erfitt', | ||
}, | ||
'4': { | ||
id: 'web.whodas.calculator:form.answerLabel4', | ||
defaultMessage: 'Mjög erfitt eða gekk ekki', | ||
description: 'Mjög erfitt eða gekk ekki', | ||
}, | ||
}), | ||
results: defineMessages({ | ||
mainHeading: { | ||
id: 'web.whodas.calculator:form.mainHeading', | ||
defaultMessage: 'Niðurstaða mats á færni', | ||
description: 'Niðurstaða mats á færni', | ||
}, | ||
print: { | ||
id: 'web.whodas.calculator:form.print', | ||
defaultMessage: 'Prenta', | ||
description: 'Prenta', | ||
}, | ||
scoreHeading: { | ||
id: 'web.whodas.calculator:form.scoreHeading', | ||
defaultMessage: 'Heildarstig', | ||
description: 'Heildarstig', | ||
}, | ||
firstBracketScoreText: { | ||
id: 'web.whodas.calculator:form.firstBracketScoreText', | ||
defaultMessage: '0 til 16,9 stig', | ||
description: 'Lítil skerðing á færni - "Score" texti', | ||
}, | ||
secondBracketScoreText: { | ||
id: 'web.whodas.calculator:form.secondBracketScoreText', | ||
defaultMessage: '17 til 100 stig', | ||
description: 'Talsverð skerðing á færni - "Score" texti', | ||
}, | ||
firstBracketInterpretationText: { | ||
id: 'web.whodas.calculator:form.firstBracketInterpretationText', | ||
defaultMessage: 'Lítil skerðing á færni', | ||
description: 'Lítil skerðing á færni - Túlkun', | ||
}, | ||
secondBracketInterpretationText: { | ||
id: 'web.whodas.calculator:form.secondBracketInterpretationText', | ||
defaultMessage: 'Talsverð færniskerðing', | ||
description: 'Talsverð færniskerðing - Túlkun', | ||
}, | ||
firstBracketAdviceText: { | ||
id: 'web.whodas.calculator:form.firstBracketAdviceText#markdown', | ||
defaultMessage: 'Mælum með að skoða hvað er í boði í þínu nærsamfélagi.', | ||
description: 'Lítil skerðing á færni - Ráð', | ||
}, | ||
secondBracketAdviceText: { | ||
id: 'web.whodas.calculator:form.secondBracketAdviceText#markdown', | ||
defaultMessage: 'Vert er að sækja um heimaþjónustu í þínu sveitarfélagi.', | ||
description: 'Talsverð færniskerðing - Ráð', | ||
}, | ||
interpretationHeading: { | ||
id: 'web.whodas.calculator:form.interpretationHeading', | ||
defaultMessage: 'Túlkun', | ||
description: 'Túlkun', | ||
}, | ||
adviceHeading: { | ||
id: 'web.whodas.calculator:form.adviceHeading', | ||
defaultMessage: 'Ráðleggingar', | ||
description: 'Ráðleggingar', | ||
}, | ||
breakdownHeading: { | ||
id: 'web.whodas.calculator:form.breakdownHeading', | ||
defaultMessage: 'Sundurliðun á niðurstöðum', | ||
description: 'Sundurliðun á niðurstöðum', | ||
}, | ||
}), | ||
} |
Oops, something went wrong.