You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Front channel embeds should be a part of content in order to be localized
Description
As a part of the redesign of the model, front channel embeds are removed from dialog elements and placed within the content-structure
Implementation
Here is a suggestion to how this can be implemented. We add a "mediaType" property to content, which - if recognized and valid - lets arbeidsflate know that this is to be rendered as a front channel embed.
We define some value for "type" which is used for this. This should typically be rendered immediately after "AdditionalInfo"
<!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe your changes in detail -->
This moves the front channel embeds to the content, and adds a new type
`MainContentReference`.
`MainContentReference` must be an URL.
Added support for markdown in `AdditionalInfo`
## Related Issue(s)
- #856
## Verification
- [x] **Your** code builds clean without any errors or warnings
- [x] Manual testing done (required)
- [ ] Relevant automated test added (if you find this hard, leave it and
we'll help out)
## Documentation
- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)
---------
Co-authored-by: Knut Haug <knut.espen.haug@digdir.no>
Co-authored-by: Bjørn Dybvik Langfors <bdl@digdir.no>
Introduction
Front channel embeds should be a part of content in order to be localized
Description
As a part of the redesign of the model, front channel embeds are removed from dialog elements and placed within the content-structure
Implementation
Here is a suggestion to how this can be implemented. We add a "mediaType" property to content, which - if recognized and valid - lets arbeidsflate know that this is to be rendered as a front channel embed.
We define some value for "type" which is used for this. This should typically be rendered immediately after "AdditionalInfo"
Tasks
Threat modelling
Acceptance criteria
GIVEN ...
WHEN ....
THEN ...
GIVEN ...
WHEN ....
THEN ...
The text was updated successfully, but these errors were encountered: