Altinn / Altinn/app-lib-dotnet
Migrate Options and relevant text resources to CodeList
- Dominant language
- C#
- Stars
- 8
- Forks
- 27
- Avg merge
- 1h 21m
- Merged PRs (30d)
- 7
Description
### Description
As of the introduction of Sudio Organization Library for Code lists (kodelister) the persistance of options and text resources separately lead to Designer Frontend using a reducer for writes and reads. This leads to optimistic updates of the cache in order to not have a mismatch between persistence and state. A combined controller could be an alternative, but we did not want a controller serving two separate types at once.
It was decided that for code lists, we want inline texts, not links to text resources. That is, instead of a combined controller, we have a combined type.
For the apps, the options and texts are in separate locations as before, this leads to Designer having two components for code lists, one for the org level, using the new codelist structure, and one for apps, using the old structure.
For Version 9 of app lib, we would like to migrate to using code lists in the apps as well.
migrations script should:
* fetch options and text resources
* combine into code list type
* keep text resources as is
* delete options
### Additional Information
_No response_
### Tasks
_No response_
### Acceptance Criterias
_No response_
Contributor guide
Research direction
The issue names no files, tests, or entry points. Start by locating the Version 9 migration code and tracing how options and text resources are fetched; done means they are combined into the code list type, text resources are preserved, and options are deleted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100