Altinn / Altinn/app-frontend-react
Show "Description" field in summary2 component when generating pdf
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 33
- Avg merge
- 6d 23h
- Merged PRs (30d)
- 3
Description
### Description
I would like the text we put into the description field be visible in summary and generated PDFs
```json
{
"id": "3-5-1-id",
"type": "Input",
"textResourceBindings": {
"title": "3-5-1-title",
**"description": "3-5-1-hint"**
},
}
```
Summary.json file setup for this page:
```json
{
"$schema": "https://altinncdn.no/toolkits/altinn-app-frontend/4/schemas/json/layout/layout.schema.v1.json",
"data": {
"layout": [
{
"id": "page-3-summary",
"type": "Summary2",
"target": {
"type": "page",
"id": "3-utdanning"
}
},
]
}
```
### Additional Information
_No response_
Contributor guide
Research direction
Start at the Summary2 component and the PDF-generation path, using the shown Summary.json configuration and its description binding as the example input. Done means the description text appears in both the summary and generated PDFs; the payload does not name a specific source file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100