[2.1.0] Add config migration from UI Patterns 1.x

Created on 16 February 2025, 7 months ago

Problem/Motivation

Add a drush command to migrate config from UI Patterns 2:

  • core.entity_view_display.{entity_type}.{bundle}.{view_mode} with manage display and layout builder
  • views.view.{view}

We are not targeting a 100% scope but just some common uses cases. We want to help migration, not do full migration.

Proposed resolution

Documentation https://docs.google.com/document/d/1A4jUkz0ETBQC6hUCmDfRtEziH0C7Db6ncpBx...

Remaining tasks

Let's start by collecting before / after YAML snippets to build unit tests.

Feature request
Status

Active

Version

2.0

Component

UI Patterns Legacy [2.x only]

Created by

🇫🇷France pdureau Paris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @pdureau
  • First commit to issue fork.
  • First commit to issue fork.
  • 🇫🇷France duaelfr Montpellier, France

    A bit of progress today:
    * Rebased our branch on latest 2.0.x commit
    * Started to factorize settings to props conversion
    * Prepared future conversion of mappings to slots
    * Wrote the field_formatters settings conversion

    To be continued.

  • 🇫🇷France duaelfr Montpellier, France

    More progress today:
    * Rebased our branch on latest 2.0.x commit
    * Factorize views_styles slots conversion
    * Factorize and extend dependencies conversion
    * Fix 1.x missing dependencies during dependencies conversion
    * Fix field_formatters variants_token conversion
    * Document and harmonize views style settings conversion
    * Add field_group settings conversion
    * Add views row settings conversion

    To be continued

  • 🇫🇷France Grimreaper France 🇫🇷

    Hello,

    Updating issue status to needs work as there are code in preparation.

    Would it be possible to create a MR please to see more easily the WIP? I don't wanna create it to not have commit attribution when merged (or another one could be created later).

  • Merge request !425Draft: Resolve #3507031 "Upgrade path" → (Open) created by Grimreaper
  • 🇫🇷France Grimreaper France 🇫🇷

    I have created the MR as WIP to be able to test it on project.

  • 🇫🇷France Grimreaper France 🇫🇷
  • 🇫🇷France Grimreaper France 🇫🇷

    I have code from a project for layout builder entity overrides that is generic, not related to any entity type and/or any patterns in particular.

    So I will be able to share it.

  • 🇫🇷France duaelfr Montpellier, France

    Rerolled and resolved remaining comments

Production build 0.71.5 2024