Altinn / altinn-studio

Next generation open source Altinn platform and applications.
https://docs.altinn.studio
BSD 3-Clause "New" or "Revised" License
114 stars 70 forks source link

Implement text reference handling in code list table #13739

Open TomasEng opened 1 week ago

TomasEng commented 1 week ago

As an app developer, I would like to view, add and edit text references, including text keys, for code lists. Although we already have a component for this purpose (TextResource), the design is not suitable for the new code list table. We need a way to display and edit text resources through the table.

Here are some sketches showing what it may look like: Image Image

## Tasks
- [x] Decide on how text references should be displayed depending on user interactions
- [ ] Decide what should happen to text resources when an empty code list item is added
- [ ] Create a component for this in our component library
- [ ] Implement the component as a compound component of `StudioInputTable.Cell`, including keyboard navigation handling
- [ ] Implement the component in the `StudioCodelistEditor` component
wrt95 commented 4 days ago

We should update the intro course with the correct way when implementing this task