Skip to content

Migrate Options and relevant text resources to CodeList #1494

@HauklandJ

Description

@HauklandJ

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/choresquad/dataIssues that belongs to the named squad.status/draftStatus: When you create an issue before you have enough info to properly describe the issue.status/triage

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions