Leap ahead of #3493070 in core: SDC `enum` props should have human-readable labels: use `meta:enum`

Created on 1 April 2025, 3 months ago

Overview

Enum vales do not have (translatable) labels.

We need human-readable equivalents, and those equivalents must be translatable (using Drupal's interface translation mechanism).

⚠️ This should not be XB-specific.

⚠️ Out-of-scope here: translatability. Nothing in XB is translatable yet today. This will add the necessary infrastructure to make it feasible later 👍

Proposed resolution

  1. Fix this in core first: implement #3493070-10: SDC `enum` props should have translatable labels: use `meta:enum` .
  2. Then, port that core MR to XB, with the following changes:
    1. XB should perform the equivalent of these in \Drupal\experience_builder\ComponentMetadataRequirementsChecker:
      1. INFRA: Update \Drupal\Core\Theme\Component\ComponentMetadata::parseSchemaInfo() to trigger a deprecation error when an enum is encountered without a corresponding meta:enum
      2. INFRA: Update \Drupal\Core\Theme\Component\ComponentMetadata::parseSchemaInfo() to trigger a \LogicException when a meta:enum is encountered whose keys do not match (i.e. are a subset or superset) the values listed in the corresponding enum.

      … but rather than deprecating or a logic exception, it will simply become a hard requirement for XB.

    2. XB must support this not only for SDCs, but also for its "in-browser code components" (aka JavaScriptComponent config entities), which use the same metadata structure as SDCs.
    3. Modify \Drupal\Tests\experience_builder\Functional\XbConfigEntityHttpApiTest::testJavaScriptComponent() to also create a enum prop. This should first fail validation (422 response), then upon adding the matching meta:enum, it should pass validation.

      This is XB's equivalent for

      1. TEST: kernel test asserting that a meta:enum not matching the enum triggers a \LogicException
    4. XB must change the logic in \Drupal\experience_builder\JsonSchemaInterpreter\SdcPropJsonSchemaType::toDataTypeShapeRequirements() to do the equivalent of
      1. INFRA: add a getEnumOptions(string $prop): array<string, TranslatableMarkup> method to \Drupal\Core\Theme\Component\ComponentMetadata inspired by ui_patterns' \Drupal\ui_patterns\EnumTrait::getEnumOptions(). (The thing that ui_patterns does not yet do is pass it through Drupal's t().)

      That means changing e.g.

            SdcPropJsonSchemaType::STRING => match (TRUE) {
              array_key_exists('enum', $schema) => new DataTypeShapeRequirement('Choice', [
                'choices' => $schema['enum'],
              ], NULL),
      

      to actually use the meta:enum values.

      (Note that here, they must NOT be translated — translation must happen at runtime — this corresponds to a FieldConfig config entity aka configuration.)

    5. Now update ui/tests/e2e/prop-types.cy.js to prove that the labels for the enum indeed appear in the UI, by updating the it('Enum (select) - string', () => { test case.

      This is XB's equivalent for

      1. TEST: kernel test asserting that 2 identical type: string, enum: […] props can have different translations for the same enum values. For example: a '' enum value results in Same window for the target prop and in None for a rel prop.
        → verifies it works end-to-end, and supports translation contexts

User interface changes

  • Any SDC that has enum without the necessary meta:enum will no longer be available to XB users, and will now appear in the list of disabled XB components at /admin/structure/component/status, with an explanation of why.
  • Any SDC (or code component) that does have both enum and a matching meta:enum will now see those labels in the component inputs form on the right-hand side.
📌 Task
Status

Active

Version

0.0

Component

Component sources

Created by

🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @wim leers
  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

    Config schema changes necessary for XB's JavaScriptComponent config entities attached to help get this going 👍

  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

    Fixing markup.

    And crediting @pdureau, for our collaboration at DrupalCon Atlanta to ensure XB and UI Patterns 2 are aligned 😊

  • First commit to issue fork.
  • Pipeline finished with Failed
    3 months ago
    Total: 1766s
    #473001
  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

    Exciting to see Enum vales do not have translatable labels Active be ready for review! Now let's get this going 😁 (Because XB can't wait for core to ship this in a release.)

  • Pipeline finished with Failed
    3 months ago
    Total: 1870s
    #474743
  • Pipeline finished with Failed
    3 months ago
    Total: 1708s
    #475855
  • Pipeline finished with Failed
    2 months ago
    #488904
  • Pipeline finished with Failed
    2 months ago
    #489079
  • Pipeline finished with Failed
    2 months ago
    #489095
  • Pipeline finished with Failed
    2 months ago
    Total: 612s
    #489351
  • Pipeline finished with Failed
    2 months ago
    #491105
  • Pipeline finished with Running
    2 months ago
    #491232
  • Pipeline finished with Failed
    2 months ago
    Total: 630s
    #491333
  • Pipeline finished with Failed
    2 months ago
    Total: 523s
    #491387
  • Pipeline finished with Failed
    2 months ago
    Total: 602s
    #491424
  • Pipeline finished with Failed
    2 months ago
    Total: 643s
    #491462
  • Pipeline finished with Failed
    2 months ago
    Total: 3222s
    #492201
  • Pipeline finished with Failed
    2 months ago
    Total: 721s
    #492327
  • Pipeline finished with Success
    2 months ago
    Total: 672s
    #492379
  • 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

    This works and has good test coverage.

    • We need a follow-up for when the core issue lands.
    • We might want a follow-up to change the Code Components UI for having 2 fields and store option lists as "value => Human-friendly label" instead of having only the value as of now.
  • 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

    Re-reading IS I think Wim expected to implement the Code Components here too? 🤔🤔

  • Pipeline finished with Success
    2 months ago
    Total: 761s
    #492591
  • 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

    It took me a while to figure out why we need any change at all for JS Component.
    So documenting it step by step.

    Right now, the site builder will generate their prop, and select "List: string".
    They see a single textfield, named "Value", with placeholder "Enter a text value", where they input their values one by one, and select the default one.

    That generates:

    js_component.enumcodecomponent.yml
    [...]
    props:
      color:
        title: Color
        type: string
        examples:
          - green
        enum:
          - blue
          - green
          - red
          - Orange
          - 'Another weird color'
    

    One we enable the component, that transforms to:

    experience_builder.component.js.enumcodecomponent.yml
    [...]
            allowed_values:
              -
                value: blue
                label: blue
              -
                value: green
                label: green
              -
                value: red
                label: red
              -
                value: Orange
                label: Orange
              -
                value: 'Another weird color'
                label: 'Another weird color'
    

    So if they input a friendly label, that's what they get. For translation, we need to translate that config entity.
    There's no way we can do this right without having some value - label pair on the client, or document how their values will be generated (potentially like prop names already are). In that case we might indicate in the UI that we expect labels, not values, and ideally print the value so they can copypaste that into the code editor.

    If we do that in the client, they will post the pairs (or the value can be easily calculated from the label, as prop names do). For simplicity, we use the same format than SDC (see props in js_component above).

    And when we have that, it's the client who would send the enum and the meta:enum (optionally we might want a x-translation-context, or generate one server side, but that's definitely for another follow-up), and we will have the same info than a "meta:enum" complete component (or an easy way to generate it server-side), which will generate the right config entity allowed_values pairs for e.g. translation.

  • 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

    I think this is ready if we split the code components part, which I moved to 📌 JsComponents `enum` props should have human-readable labels: use `meta:enum` Active

  • 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

    We'll work on JsComponents here.

  • Pipeline finished with Success
    2 months ago
    Total: 676s
    #495214
  • Pipeline finished with Failed
    2 months ago
    Total: 679s
    #495325
  • Pipeline finished with Success
    2 months ago
    Total: 742s
    #496358
  • 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺
  • Pipeline finished with Success
    about 2 months ago
    Total: 663s
    #501056
  • 🇪🇸Spain isholgueras

    I wanted to add a new code component with 2 props, one with enums and another one with enums and meta:enums to have a yml file with this as an example.

    We had tested it in XbConfigEntityHttpApiTest but I think having a code component in a yml is useful for testing and for new adopters to see how is done.

    I've also fixed issues with HEAD.

    Steps to test, in Summary, is also updated.

  • 🇪🇸Spain isholgueras

    It needs to fix a complex conflict.

  • Pipeline finished with Failed
    about 1 month ago
    #510340
  • Assigned to isholgueras
  • Status changed to Needs work about 1 month ago
  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

    Partial review, but I'm pretty sure I spotted some significant simplification potential? 😇

  • First commit to issue fork.
  • Pipeline finished with Failed
    about 1 month ago
    Total: 437s
    #513258
  • 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

    Enum vales do not have translatable labels Active landed in time for 11.2.0

  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

    #28: 🎉🥳

    Next up: make XB leap ahead of core by landing this MR … ⚠️ but because XB will not be able to require 11.2 until AFTER beta1, we need to be careful about how we approach it.

  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

    This needs to make meta:enum mandatory for XB. 🙏 See the rationale.

  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
  • 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺
  • Pipeline finished with Failed
    about 1 month ago
    Total: 864s
    #519004
  • Pipeline finished with Failed
    about 1 month ago
    Total: 767s
    #519010
  • Pipeline finished with Failed
    about 1 month ago
    Total: 1474s
    #519018
  • Pipeline finished with Failed
    about 1 month ago
    Total: 2238s
    #519113
  • Pipeline finished with Failed
    about 1 month ago
    Total: 825s
    #519186
  • Pipeline finished with Failed
    about 1 month ago
    Total: 686s
    #519202
  • Pipeline finished with Failed
    about 1 month ago
    Total: 612s
    #519257
  • Pipeline finished with Failed
    about 1 month ago
    Total: 821s
    #519275
  • First commit to issue fork.
  • Pipeline finished with Failed
    about 1 month ago
    Total: 675s
    #519368
  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

    Merged in upstream, let's get this to passing tests so we can land it 🙏

  • 🇪🇸Spain isholgueras

    Conflicts with 0.x fixed

  • Pipeline finished with Failed
    26 days ago
    #524380
  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

    @isholgueras is now (hopefully) AFK :)

  • Pipeline finished with Failed
    25 days ago
    Total: 680s
    #524648
  • Pipeline finished with Failed
    25 days ago
    Total: 613s
    #524661
  • Pipeline finished with Failed
    25 days ago
    #524687
  • Pipeline finished with Failed
    25 days ago
    #524703
  • Pipeline finished with Failed
    25 days ago
    Total: 569s
    #525348
  • Pipeline finished with Failed
    25 days ago
    Total: 1023s
    #525423
  • Pipeline finished with Failed
    25 days ago
    Total: 871s
    #525462
  • Pipeline finished with Failed
    24 days ago
    Total: 1450s
    #525555
  • Pipeline finished with Failed
    24 days ago
    Total: 1011s
    #525734
  • Pipeline finished with Failed
    24 days ago
    Total: 1035s
    #525737
  • Pipeline finished with Failed
    24 days ago
    Total: 1450s
    #525749
  • Pipeline finished with Failed
    24 days ago
    Total: 654s
    #525771
  • Pipeline finished with Failed
    24 days ago
    Total: 890s
    #525773
  • Pipeline finished with Failed
    24 days ago
    Total: 1427s
    #526233
  • 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

    All tests passing 🎉

    Something that doesn't have e2e tests is the code editor, but we need to fix it to at least send the same values in enum as meta:enum.
    Bálint volunteered to write this.

    @balintbrews For now I'd expect to send the same added values as labels. The only thing to take into account is replacing dots with underscores. Something like:

    const getMetaEnumValue = (x: string) => x.replace('.', '_');
    
    const enumValues = [
          '3.14',
          'b',
          'c',
        ];
    const metaEnums = Object.fromEntries(new Map(enumValues.map(value => [getMetaEnumValue(value), value])))
    console.log(metaEnums);
    
    
    //{
    //  "3_14": "3.14",
    //  "b": "b",
    //  "c": "c"
    //} 
    
  • Pipeline finished with Success
    24 days ago
    Total: 1782s
    #526330
  • 🇫🇮Finland lauriii Finland

    Any SDC that has enum without the necessary meta:enum will no longer be available to XB users, and will now appear in the list of disabled XB components at /admin/appearance/component/status, with an explanation of why.

    I'm not entirely convinced that we should not allow SDCs without meta:enum to be used in XB because it is possible to achieve an acceptable UX without providing meta:enum, albeit not in all scenarios. For example, for margin-top, you could choose to provide options '4px', '6px', and '8px'. In this case the same value could apply both as the human readable and machine readable value.

    We could still allow translating the enum options but keep the machine readable names consistent across translations or we could simply prevent translating these enums.

    I don't think this needs to block this issue from being committed. It seems that we could loosen this requirement in future if this would require a non-trivial amount of work to change.

  • First commit to issue fork.
  • 🇳🇱Netherlands balintbrews Amsterdam, NL
  • Pipeline finished with Failed
    19 days ago
    Total: 1156s
    #529659
  • Pipeline finished with Failed
    19 days ago
    Total: 1048s
    #529662
  • 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

    I need to self-review this yet, but feels close. Bálint changes look good to me, thanks!

  • 🇫🇷France pdureau Paris

    I'm not entirely convinced that we should not allow SDCs without meta:enum to be used in XB because it is possible to achieve an acceptable UX without providing meta:enum, albeit not in all scenarios. For example, for margin-top, you could choose to provide options '4px', '6px', and '8px'. In this case the same value could apply both as the human readable and machine readable value.

    Hi Lauriii,

    According to the 🐛 Don't raise exception when an enum value is missing from meta:enum Active , all SDC prop with an enum has also a complete meta:enum. We made the meta:enum optional at the YAML declaration level, but the parseSchemaInfo() method is aligning the values:

             // Ensure all enum values are also in meta:enum.
              $enum = array_combine($prop_schema['enum'], $prop_schema['enum']);
              $prop_schema['meta:enum'] = array_replace($enum, $prop_schema['meta:enum'] ?? []);
    
    

    Source: https://git.drupalcode.org/project/drupal/-/commit/166350f2acc649d60e4da...

  • 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

    This is ready for further reviews.

  • Pipeline finished with Failed
    18 days ago
    Total: 1015s
    #531367
  • Pipeline finished with Failed
    17 days ago
    Total: 993s
    #531514
  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

    After raising a single (but very important because affecting Component versions and update paths for component instances) concern, then thinking I was wrong and reverting, then actually realizing I might've been right, it took me a few hours of digging deep into how the options module's field/widget infrastructure works, to find a better solution that overcomes all concerns and has the blessing of @penyaskito! (Just paired with him and demonstrated it.)

    Let me illustrate it using XB's heading SDC's Component config entity's versions — start at the bottom of this example, because top = newest, bottom = oldest:

    uuid: 6864c52b-71e4-4342-a825-0ce0f58b9533
    langcode: en
    status: true
    dependencies:
      module:
        - options
    active_version: 9616e3c4ab9b4fce
    versioned_properties:
      active: 👈 👈👈 This represents the approach I refactored it to. No more labels, but also no more enum values.
                  ⚠️ This is fine, because ComponentSourceBase::generateVersionHash() uses the normalized prop shapes to generate a deterministic hash, so changes in `enum` cause a new version, changes in `meta:enum` do not 👍
        settings:
          prop_field_definitions:
            element:
              field_type: list_string
              field_storage_settings:
                allowed_values_function: experience_builder_load_allowed_values_for_component_prop 👈 👈👈 No more labels!
              field_instance_settings: {  }
              field_widget: options_select
              default_value:
                -
                  value: h1
              expression: ℹ︎list_string␟value
            style:
              field_type: list_string
              field_storage_settings:
                allowed_values_function: experience_builder_load_allowed_values_for_component_prop 👈 👈👈 No more labels!
              field_instance_settings: {  }
              field_widget: options_select
              default_value:
                -
                  value: primary
              expression: ℹ︎list_string␟value
            text:
              field_type: string
              field_storage_settings: {  }
              field_instance_settings: {  }
              field_widget: string_textfield
              default_value:
                -
                  value: 'A heading element'
              expression: ℹ︎string␟value
        fallback_metadata:
          slot_definitions: {  }
      ebbad79a7ac7d1fa: 👈 👈👈 This represents the state in the MR I started reviewing, after I broke it 😅
        settings:
          prop_field_definitions:
            element:
              field_type: string
              field_storage_settings: {  }
              field_instance_settings: {  }
              field_widget: string_textfield
              default_value:
                -
                  value: h1
              expression: ℹ︎string␟value
            style:
              field_type: string
              field_storage_settings: {  }
              field_instance_settings: {  }
              field_widget: string_textfield
              default_value:
                -
                  value: primary
              expression: ℹ︎string␟value
            text:
              field_type: string
              field_storage_settings: {  }
              field_instance_settings: {  }
              field_widget: string_textfield
              default_value:
                -
                  value: 'A heading element'
              expression: ℹ︎string␟value
        fallback_metadata:
          slot_definitions: {  }
      94d7e3cb448df7c9: 👈 👈👈 This represents the state of the MR I started reviewing.
        settings:
          prop_field_definitions:
            element:
              field_type: list_string
              field_storage_settings:
                allowed_values: 👈 👈👈 Note the labels for the enum values are exactly what you'd expect!
                  -
                    value: div
                    label: Container
                  -
                    value: h1
                    label: Header 1
                  -
                    value: h2
                    label: Header 2
                  -
                    value: h3
                    label: Header 3
                  -
                    value: h4
                    label: Header 4
                  -
                    value: h5
                    label: Header 5
                  -
                    value: h6
                    label: Header 6
              field_instance_settings: {  }
              field_widget: options_select
              default_value:
                -
                  value: h1
              expression: ℹ︎list_string␟value
            style:
              field_type: list_string
              field_storage_settings:
                allowed_values:
                  -
                    value: primary
                    label: Primary
                  -
                    value: secondary
                    label: Secondary
              field_instance_settings: {  }
              field_widget: options_select
              default_value:
                -
                  value: primary
              expression: ℹ︎list_string␟value
            text:
              field_type: string
              field_storage_settings: {  }
              field_instance_settings: {  }
              field_widget: string_textfield
              default_value:
                -
                  value: 'A heading element'
              expression: ℹ︎string␟value
        fallback_metadata:
          slot_definitions: {  }
      1b4f8df7c94d7e3c: 👈 👈👈 This represents the state in HEAD.
        settings:
          prop_field_definitions:
            element:
              field_type: list_string
              field_storage_settings:
                allowed_values: 👈 👈👈 Note the labels for the enum values are … just the enum values. This is the terrible UX we want to fix.
                  -
                    value: div
                    label: div
                  -
                    value: h1
                    label: h1
                  -
                    value: h2
                    label: h2
                  -
                    value: h3
                    label: h3
                  -
                    value: h4
                    label: h4
                  -
                    value: h5
                    label: h5
                  -
                    value: h6
                    label: h6
              field_instance_settings: {  }
              field_widget: options_select
              default_value:
                -
                  value: h1
              expression: ℹ︎list_string␟value
            style:
              field_type: list_string
              field_storage_settings:
                allowed_values:
                  -
                    value: primary
                    label: primary
                  -
                    value: secondary
                    label: secondary
              field_instance_settings: {  }
              field_widget: options_select
              default_value:
                -
                  value: primary
              expression: ℹ︎list_string␟value
            text:
              field_type: string
              field_storage_settings: {  }
              field_instance_settings: {  }
              field_widget: string_textfield
              default_value:
                -
                  value: 'A heading element'
              expression: ℹ︎string␟value
        fallback_metadata:
          slot_definitions: {  }
    label: Heading
    id: sdc.experience_builder.heading
    provider: experience_builder
    source: sdc
    source_local_id: 'experience_builder:heading'
    category: Atom/Text
    

    Next: make the MR pass again, by updating all component_versions all over the MR, because the different settings in the Component config entities that contain >=1 enum-shaped prop cause a different deterministic version hash 😅

  • Pipeline finished with Failed
    16 days ago
    Total: 561s
    #533195
  • Pipeline finished with Failed
    16 days ago
    Total: 997s
    #533204
  • Pipeline finished with Failed
    16 days ago
    Total: 1325s
    #533225
  • Pipeline finished with Failed
    16 days ago
    Total: 572s
    #533272
  • Pipeline finished with Canceled
    16 days ago
    Total: 92s
    #533290
  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

    Green except e2e tests, hoping that @penyaskito can fix those. 😇

    Epic work here! 👏

    Still needs follow-up for updating the code component editor UI: https://git.drupalcode.org/project/experience_builder/-/merge_requests/8...

  • Pipeline finished with Canceled
    16 days ago
    Total: 315s
    #533291
  • Pipeline finished with Failed
    16 days ago
    Total: 1242s
    #533300
  • 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

    Didn't get to find why yet, but the enums aren't loading the default value/ set value correctly.

    e.g.

    1. add a One Column SDC
    2. Set width to Narrow
    3. Select another component to navigate away
    4. Select the One Column component
    5. See width is not set to Narrow
  • 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

    What I've found is that this might be that we need some changes in the client UI that I didn't spot yet.

    A symptom:

    1. Add a heading component (has 2 enums)
    2. Add a druplicon component
    3. Edit the heading style + element props (enums)
    4. Click on the druplicon. The form fails to load.
    5. Back to heading, the style + elements have the defaults instead of our changes.

  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

    Thanks, that's helpful. I suggest you switch to something else for a bit, it sounds like this has been a frustrating ride :/

  • Pipeline finished with Failed
    11 days ago
    Total: 1295s
    #536440
  • 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

    I tested this and with this MR the values aren't set for any prop, not only enum, even when the SDC has no enums.

  • Pipeline finished with Failed
    11 days ago
    Total: 1226s
    #536474
  • Pipeline finished with Failed
    9 days ago
    Total: 1520s
    #539126
  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

    Paired with @penyaskito on this. We got closer.

    1. Original state to start editing a page/article without anything in auto-save, the /xb/api/v0/api/layout/node/1 response contains this after placing a new Heading SDC:
    2. Then, upon changing the default value for the text prop, the client incorrectly sends this

      Note how the original prop value remains present (left) and the value I actually entered is sent with the wrong key (right).

    This is what's causing things to not work. This appears to be happening in buildPreparedModel(), which is what generates the value for form_xb_props.

  • Pipeline finished with Failed
    9 days ago
    Total: 1693s
    #539186
  • 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

    The last js component failures are because 🐛 Don't raise exception when an enum value is missing from meta:enum Active avoids any way to provide meta:enums, overriding them even when set.

    This is a problem when using \Drupal\experience_builder\Plugin\ExperienceBuilder\ComponentSource\JsComponent::buildEphemeralSdcPluginInstance for validating js components as sdc components.

  • First commit to issue fork.
  • Pipeline finished with Canceled
    4 days ago
    Total: 331s
    #542924
  • Pipeline finished with Failed
    4 days ago
    Total: 1001s
    #542928
  • Pipeline finished with Failed
    4 days ago
    Total: 2005s
    #542950
  • 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺
  • Pipeline finished with Failed
    4 days ago
    #543083
  • Pipeline finished with Canceled
    4 days ago
    #543125
  • Pipeline finished with Running
    4 days ago
    #543153
  • Pipeline finished with Failed
    4 days ago
    #543130
  • Pipeline finished with Success
    4 days ago
    Total: 987s
    #543211
  • 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

    Back to green. Added the followup needed in IS.

  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
  • Pipeline finished with Success
    2 days ago
    #545065
  • Pipeline finished with Canceled
    2 days ago
    #545088
  • Pipeline finished with Success
    2 days ago
    #545090
  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

    Finally. 🥹

    1. Create @todos pointing to a yet-to-be-created follow-up issue that drop XB's logic in favor of core's ComponentMetadata::getEnumOptions(), as well as any other things we could drop from XB once XB requires a core version containing #3493070.

    This was added in #3 but is obsolete, because core didn't end up adding any such infrastructure 😅

  • Pipeline finished with Skipped
    1 day ago
    #545173
  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

    I mean, obviously :D

  • 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10

    Glad to see this go in. Mammoth effort

Production build 0.71.5 2024