Altinn / app-frontend-react

Altinn application React frontend
BSD 3-Clause "New" or "Revised" License
18 stars 31 forks source link

Give app developer the option to change texts on the "you can't start this app" page #786

Open SandGrainOne opened 2 years ago

SandGrainOne commented 2 years ago

Description

The page displaying validation messages from the InstantiationHandler.RunInstantiationValidation() method in an app currently only display standard texts in addition to the generated messages.

The page must support all text resource features like language, variables and markdown. It should be possible to replace the standard texts with custom texts and it should be possible for the method to return text resource keys. (This last bit might already be supported, must be tested/verified.)

It could also be that the page needs a design refresh. See screenshot.

⚠️ NOTES ⚠️ This issue is implicitly solved by introducing the new texts microservice.

Screenshots

The current version of the page as of the creation of this issue. image

Considerations

Ops requirements

Acceptance criteria

Specification tasks

Test

Definition of done

olemartinorg commented 1 year ago

IMO, we should re-design this page and make it possible to customize using layouts, just like the receipt page (see #775).