Altinn / Altinn/app-frontend-react

Change title of Text component in summary

Open
#2,852 4 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

### Description

I would like to be able to change the title of the `Text` component when summarised. Many of the components have a property `summaryTitle` which allows for a different title in the summary of that component.
The `Text` component does not have this property and none of the summary components (Summary or Summary2) have the ability to override the title of the component.

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the Text, Summary, and Summary2 components, then compare how summaryTitle is implemented in other components. Confirm how the summary currently chooses a title and determine where an override should be accepted; the work is done when Text supports a custom summary title and Summary and Summary2 can override it.

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
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.