[Meta] 4.x config changes and 3.x upgrade path

Created on 26 April 2024, 8 months ago
Updated 8 May 2024, 8 months ago

Problem/Motivation

Helper issue to sum up the config changes due to several improvements in 4.x that need to be incorporated code-wise via update hook!

  1. 📌 [4.x] Switch to Drupal Core field_media_* fieldnames Fixed
  2. [4.x] Add field_caption for Documents Needs work
  3. 📌 [4.x] Unify image:field_image_caption to image:field_caption Active
  4. 📌 [4.x] Add setting for media-slide mobile layout Needs work
  5. Add "Licence / Source" field to all media entities Active
  6. 📌 Update drowl media types responsive image styles & references Active
  7. Add "Internal notes" field to all media types Active
  8. 🐛 Replace Foundation Twig Templates with Bootstrap Templates Active

We need to incorporate the D11 Vorlage changes programmatically here.
Helpful: https://www.digitalnadeem.com/drupal/how-to-create-additional-fields-pro...

Further notes & upgrade notices:

  • Upgrade path is not complete until all tasks above are solved and the upgrade path is tested! Until that, all existing pages based on the old 3.x foundation branch should NOT update to 4.x! Maybe some / most / all pages will never be upgraded to 4.x!
  • We've moved the bootstrap templates into the 4.x module. When upgrading from 3.x to 4.x on an existing foundation project, the foundation templates need to be used and the changed field names and new fields in the templates need to be updated accordingly!
  • In our new D11 Bootstrap Vorlage and all projects based on that, we're already using the 4.x branch and made the changes manually

(I've put the same message on the module page for now!)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Needs work

Version

4.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

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

Merge Requests

Comments & Activities

  • Issue created by @Anybody
  • 🇩🇪Germany Anybody Porta Westfalica
  • 🇩🇪Germany Anybody Porta Westfalica
  • 🇩🇪Germany Anybody Porta Westfalica

    These are the related changes:

    +-------------+------------------------------------------------------------+-----------+
    | Collection  | Config                                                     | Operation |
    +-------------+------------------------------------------------------------+-----------+
    |             | field.storage.media.field_note_internal                    | Create    |
    |             | field.storage.media.field_copyright                        | Create    |
    |             | field.storage.media.field_overlay_sizing_md                | Create    |
    |             | field.storage.media.field_overlay_sizing_lg                | Create    |
    |             | field.storage.media.field_overlay_position_md              | Create    |
    |             | field.storage.media.field_overlay_position_lg              | Create    |
    |             | field.field.media.video.field_note_internal                | Create    |
    |             | field.field.media.video.field_copyright                    | Create    |
    |             | field.field.media.vector_image.field_note_internal         | Create    |
    |             | field.field.media.vector_image.field_copyright             | Create    |
    |             | field.field.media.slideshow.field_note_internal            | Create    |
    |             | field.field.media.slide.field_overlay_sizing_md            | Create    |
    |             | field.field.media.slide.field_overlay_sizing_lg            | Create    |
    |             | field.field.media.slide.field_overlay_position_md          | Create    |
    |             | field.field.media.slide.field_overlay_position_lg          | Create    |
    |             | field.field.media.slide.field_note_internal                | Create    |
    |             | field.field.media.slide.field_copyright                    | Create    |
    |             | field.field.media.remote_video.field_note_internal         | Create    |
    |             | field.field.media.image.field_note_internal                | Create    |
    |             | field.field.media.image.field_copyright                    | Create    |
    |             | field.field.media.document.field_note_internal             | Create    |
    |             | field.field.media.audio.field_note_internal                | Create    |
    |             | field.field.media.audio.field_copyright                    | Create    |
    |             | field.field.media.vector_image.field_caption               | Create    |
    |             | field.field.media.image.field_caption                      | Create    |
    |             | field.field.media.document.field_caption                   | Create    |
    |             | core.entity_view_display.media.slideshow.viewport_width    | Update    |
    |             | core.entity_view_display.media.slideshow.media_library     | Update    |
    |             | core.entity_view_display.media.slideshow.default           | Update    |
    |             | core.entity_form_display.media.slideshow.media_library     | Update    |
    |             | core.entity_form_display.media.slideshow.default           | Update    |
    |             | core.entity_view_display.media.video.viewport_width        | Update    |
    |             | core.entity_view_display.media.video.media_library         | Update    |
    |             | core.entity_view_display.media.video.default               | Update    |
    |             | core.entity_view_display.media.video.button                | Update    |
    |             | core.entity_view_display.media.video.background            | Update    |
    |             | core.entity_form_display.media.video.media_library         | Update    |
    |             | core.entity_view_display.media.vector_image.media_library  | Update    |
    |             | core.entity_view_display.media.vector_image.default        | Update    |
    |             | core.entity_form_display.media.vector_image.media_library  | Update    |
    |             | core.entity_view_display.media.slide.viewport_width        | Update    |
    |             | core.entity_view_display.media.slide.media_library         | Update    |
    |             | core.entity_view_display.media.slide.lightbox              | Update    |
    |             | core.entity_view_display.media.slide.default               | Update    |
    |             | core.entity_form_display.media.slide.media_library         | Update    |
    |             | core.entity_view_display.media.remote_video.viewport_width | Update    |
    |             | core.entity_view_display.media.remote_video.media_library  | Update    |
    |             | core.entity_view_display.media.remote_video.default        | Update    |
    |             | core.entity_view_display.media.remote_video.button         | Update    |
    |             | core.entity_view_display.media.remote_video.background     | Update    |
    |             | core.entity_form_display.media.remote_video.media_library  | Update    |
    |             | core.entity_view_display.media.image.title_media           | Update    |
    |             | core.entity_view_display.media.image.raw                   | Update    |
    |             | core.entity_view_display.media.image.media_object_media    | Update    |
    |             | core.entity_view_display.media.image.media_library         | Update    |
    |             | core.entity_view_display.media.image.lightbox              | Update    |
    |             | core.entity_view_display.media.image.embedded              | Update    |
    |             | core.entity_view_display.media.image.default               | Update    |
    |             | core.entity_view_display.media.image.card_media            | Update    |
    |             | core.entity_view_display.media.image.button                | Update    |
    |             | core.entity_view_display.media.image.background            | Update    |
    |             | core.entity_form_display.media.image.media_library         | Update    |
    |             | core.entity_view_display.media.document.tile               | Update    |
    |             | core.entity_view_display.media.document.media_object       | Update    |
    |             | core.entity_view_display.media.document.media_library      | Update    |
    |             | core.entity_view_display.media.document.embedded           | Update    |
    |             | core.entity_view_display.media.document.default            | Update    |
    |             | core.entity_view_display.media.document.card               | Update    |
    |             | core.entity_view_display.media.document.button             | Update    |
    |             | core.entity_form_display.media.document.media_library      | Update    |
    |             | core.entity_view_display.media.audio.media_library         | Update    |
    |             | core.entity_view_display.media.audio.embedded              | Update    |
    |             | core.entity_view_display.media.audio.default               | Update    |
    |             | core.entity_view_display.media.audio.button                | Update    |
    |             | core.entity_form_display.media.audio.media_library         | Update    |
    |             | core.entity_view_display.media.video.lightbox              | Update    |
    |             | core.entity_view_display.media.video.embedded              | Update    |
    |             | core.entity_view_display.media.slide.embedded              | Update    |
    |             | core.entity_view_display.media.remote_video.lightbox       | Update    |
    |             | core.entity_view_display.media.remote_video.embedded       | Update    |
    |             | core.entity_form_display.media.video.default               | Update    |
    |             | core.entity_form_display.media.vector_image.default        | Update    |
    |             | core.entity_form_display.media.slide.default               | Update    |
    |             | core.entity_form_display.media.remote_video.default        | Update    |
    |             | core.entity_form_display.media.image.default               | Update    |
    |             | core.entity_form_display.media.document.default            | Update    |
    |             | core.entity_form_display.media.audio.default               | Update    |
    |             | core.entity_view_display.media.slide.title_media           | Update    |
    |             | core.entity_view_display.media.document.lightbox           | Update    |
    
  • Merge request !35Resolve #3443688 "Meta 4.x config changes tbd" → (Merged) created by Anybody
  • 🇩🇪Germany Anybody Porta Westfalica

    Holy, tests are green finally! Let's merge this.

  • Pipeline finished with Skipped
    8 months ago
    #166471
  • Status changed to Fixed 8 months ago
    • Anybody committed 6b481ccb on 4.x
      Issue #3443688 by Anybody, thomas.frobieter: [Meta] 4.x config changes
      
  • 🇩🇪Germany Anybody Porta Westfalica
    • Anybody committed 13ef6fac on 4.x
      Issue #3443688 by Anybody, thomas.frobieter: [Meta] 4.x config changes:...
  • Status changed to Needs work 8 months ago
  • 🇩🇪Germany Anybody Porta Westfalica

    Reopened to track the pending upgrade path changes here.

  • 🇩🇪Germany Anybody Porta Westfalica
  • 🇩🇪Germany Anybody Porta Westfalica
  • 🇩🇪Germany Anybody Porta Westfalica
Production build 0.71.5 2024