Altinn / Altinn/app-frontend-react
headingLevel on group components in summary2
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 33
- Avg merge
- 6d 23h
- Merged PRs (30d)
- 3
Description
### Description
The headingLevel set on groups is not reflected in the Summary 2 view. For example: I have a repeating group with a lot of content, resulting in many headings under each item in the repeating group. I set "headingLevel": 3 on groups inside the repeating group to make these subheadings smaller. However, this is not reflected in the Summary 2 view, where the headings remain the same size as before. This makes it difficult to see which content belongs to each element.
Is it possible to change the Summary 2 component so that the headingLevel set on a group is also reflected in the summary?
### Additional Information
_No response_
Contributor guide
Research direction
Start by locating the Summary 2 component and tracing how group headingLevel values are read when headings are rendered. Reproduce the issue with a repeating group whose nested groups use headingLevel 3, then verify that the Summary 2 headings reflect those levels.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100