Altinn / Altinn/app-frontend-react

Add Summary2 support for missing components

Open
#2,895 0 comments 0 reactions 0 assignees View on GitHub
area/summary kind/feature-request
Dominant language
TypeScript
Stars
21
Forks
33
Avg merge
6d 23h
Merged PRs (30d)
3

Description

The following component types are currently missing Summary2 support:
- `Accordion`
- `AccordionGroup`
- `Cards`

I believe all of these can be handled somewhat similarly to `Group` and `Tabs`, but cards might need its own presentation style.

When this is done, I think we can make the `renderSummary2()` function abstract, making it a required implementation detail for new layout components.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Summary2 and renderSummary2 entry points, then compare the existing Group and Tabs implementations. Check how Accordion, AccordionGroup, and Cards are represented and determine the presentation expected for Cards; done means all three support Summary2 and renderSummary2 can be made abstract for new layout components.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.