Altinn / Altinn/app-frontend-react
Add Summary2 support for AttachmentList
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 33
- Avg merge
- 6d 23h
- Merged PRs (30d)
- 3
Description
### Description
To display an attachment list in a summary layout, you'll have to use the component directly. When using the Summary2 component with "target.type": "page", the AttachmentList component can only be placed before or after the entire page. To position it within the page, you need separate Summary2 components with "target.type": "component" for each targeted component. This approach increases the risk of errors and leads to redundant code.
### Additional Information
_No response_
Contributor guide
Research direction
Start by locating the Summary2 and AttachmentList component implementations and their existing tests. Trace how a Summary2 with target.type "page" places AttachmentList, then define done as allowing the list to appear within the targeted page without separate component-level Summary2 instances.
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
- 35/100