🇬🇧United Kingdom @aldunchev

Account created on 29 March 2014, over 10 years ago
#

Recent comments

🇬🇧United Kingdom aldunchev

Rate your excitement about SDC in core: 1 ... 10 | N/A

10

Rate your excitement about potential contrib extending SDC: 1 ... 10 | N/A

10

Rate our documentation: 1 ... 10 | N/A

8 - I think more examples are need and the examples to be more close to production cases rather then samples.

Did you 1️⃣ refactor existing template into a component, or did you 2️⃣ write a component from scratch? 1 | 2

2

Rate the helpfulness of error messages encountered: 1 ... 10 | N/A

9

Have you tried the Storybook integration? Yes | No

Yes, it is very good! Not hard to set up. I will try to use it in my upcoming project. For now the hard part is working with fields that are entity reference, where we need to use slots and pass HTML in story book json file. We are just getting use to it.

Any thoughts you would like to share? The sky is the limit

Thanks for the great work! This is really promising and opens brings the FE development in Drupal into another level.

🇬🇧United Kingdom aldunchev

Hi, I have the same issue and I reproduce it with theme that has no template override for input--checkbox.html.twig. If a theme has such template, then input--checkbox--gin-lb.html.twig is picked up. I think this is due to missing original suggestion, cause template is not override in the default theme, which is loaded when you edit in layout builder.

Maybe this code is related in gin_lb.module:

if (empty($suggestions) && !empty($variables['theme_hook_original'])) {
      $suggestions = [$variables['theme_hook_original']];
    }

However I cannot tell that this is an issue of the module of the Drupal theming system.

Production build 0.71.5 2024