France 🇫🇷
Account created on 18 November 2012, over 12 years ago
#

Merge Requests

More

Recent comments

🇫🇷France Grimreaper France 🇫🇷

Regarding the experience I had with https://www.drupal.org/project/eca_entity_share

And regarding the approach we do in https://www.drupal.org/project/ui_suite:
- one module and sub-modules for Core integrations
- when integrating with another contrib modules we do a separated project.

I think it will be better to have an eca_file_extractor dedicated project so it can live at its on speed.

🇫🇷France Grimreaper France 🇫🇷

POC working.

Need to clean up:
- removing useless code
- removing code duplication
- rename classes to remove DisplayBuilder prefix

🇫🇷France Grimreaper France 🇫🇷

Click o this link to edit the display

Typo on "on"

🇫🇷France Grimreaper France 🇫🇷

Thanks @jurgenhaas for the review!

@das-peter Can you update the MR regarding the review points please?

Then I will finish code quality stuff.

🇫🇷France Grimreaper France 🇫🇷

Thanks @riyas_nr for the MR.

Looks good!

I put a review comment and pipeline needs to pass.

🇫🇷France Grimreaper France 🇫🇷

Currently in https://git.drupalcode.org/project/svg_image/-/blob/3.x/modules/svg_imag...

For an SVG, it is just rendered as SVG markup. If wanting an img, if render an image (and not a responsive image) using the fallback image style.

If this is the kind of examples you wanted. Not the best.

Maybe it is just an unsolvable feature.

🇫🇷France Grimreaper France 🇫🇷

About PHP attribute conversion of the last code review, in 📌 [meta] Convert test metadata from annotation to attribites Active it is stated:

we can't mix PHPUnit attributes and annotations [in a single file], we will have to convert them all at once unfortunately

So updating the code changed in the MR would require changing code out-of-the-scope of this issue.

If a code conversion in the Contextual module happens before the merge of this issue then I will update it, otherwise I prefer to keep it aligned with the module current codebase.

🇫🇷France Grimreaper France 🇫🇷

Hi,

Thanks for your interest in the module and for the MR.

I will ping on ECA slack channel, to ask for a review from people more accustomed to ECA code to ask if the implementation is correct. even if it looks great!

Then I will handle the code quality parts. As it has been a long time since the pipeline has been executed, PHPStan and Coder rules had evolved since then.

🇫🇷France Grimreaper France 🇫🇷

Hi,

Try this in your settings.php:

  $settings['container_yamls'][] = $app_root . '/sites/development.services.yml';
  $settings['cache']['bins']['dynamic_page_cache'] = 'cache.backend.null';
  $settings['cache']['bins']['page'] = 'cache.backend.null';
  $settings['cache']['bins']['render'] = 'cache.backend.null';

The problem is that preventing the usage of cache and having that re-computed at each page refresh is a performance killer.

In this case an opt-in should be provided to allow to explicitly choose that you want to disable the render cache for this field.

🇫🇷France Grimreaper France 🇫🇷

Thanks for the link, I will give a look.

It would be better to avoid the need a contrib module for that, and Core to be able to handle it by itself.

🇫🇷France Grimreaper France 🇫🇷

MR now targeting 11.x.

Rebased.

And changes updated to handle dev version of packages.

🇫🇷France Grimreaper France 🇫🇷

Still not 100% the scenario why you would comment out the actions

It is just to provide simple steps to reproduce.

There is a theme key "top_bar_page_actions", so potentially plugins (contrib or custom) could also use the same theme key without needing "#page_actions".

🇫🇷France Grimreaper France 🇫🇷

TODO:
- Add dependency on Navigation module
- Change MockEntity into real content entity Active to work with test display builders
- Fix JS to work with toolbar elements outside of .display-builder
- Fix/limit side effects of Navigation CSS revert all in top bar on shoelace components

🇫🇷France Grimreaper France 🇫🇷

Tested, ok to allow the module to install on D11.

🇫🇷France Grimreaper France 🇫🇷

TODO:
- Fix CSS compatibility between shoelace and Navigation global CSS revert.
- Fix left actions
- Avoid code duplication with controllers after controller refactoring

🇫🇷France Grimreaper France 🇫🇷

Steps to reproduce added.

Not sure about existing tests and if a test is needed for an if.

I can't find occurences of "toolbar-dropdown__list" or "toolbar-dropdown__menu", which are the CSS classes of the dropdown in the existing tests folder.

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

Entity references not properly handled in section library when exporting as default content.

🇫🇷France Grimreaper France 🇫🇷

Hi Christian,

Thanks for the new MR.

I have tested it, I confirm that it prevents fatal error when updating from 2.0.4 to 2.0.5 on existing websites.

🇫🇷France Grimreaper France 🇫🇷

Hi,

Thanks @finnsky.

I have tested MR https://git.drupalcode.org/project/drupal/-/merge_requests/12843, it fixes the issue.

Changing to RTBC as the test failure in the pipeline seems unrelated.

🇫🇷France Grimreaper France 🇫🇷

grimreaper created an issue.

🇫🇷France Grimreaper France 🇫🇷

Maybe the confusion also comes from the default empty label "- Select -"?

Maybe let's change this default empty label to "- Choose a source -" or "- Choose a data source -"?

And for the widget source, like with "[Entity]", "[Field]", etc prefixes, why not add a "[Widget]" prefix? or in this case it is too much and just in a first time changing the empty label as a first step will be enough?

🇫🇷France Grimreaper France 🇫🇷

On entity save, if the entity has layout builder override available, redirect to the layout builder page.

🇫🇷France Grimreaper France 🇫🇷

Ok for me.

But is it a behavior of the design system done on purpose? Or is there helper or variant foreseen by the design system to prevent this behavior?

🇫🇷France Grimreaper France 🇫🇷

Hello,

Please create a MR.

I think you can change the schema version of those modules in key_value table to point to the hook_update_N mentioned in those modules.

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

Layout then edit

🇫🇷France Grimreaper France 🇫🇷

Need to manually set contextual-region class on content block and inside block content.

Paddings target classes intended for views blocks.

🇫🇷France Grimreaper France 🇫🇷

wrong tag.

And regarding definition:

It denotes an issue that prevents porting of a contributed project to the stable version of Drupal due to missing APIs, regressions, and so on.

Then not a blocker as it prevents a feature and not a stable version.

🇫🇷France Grimreaper France 🇫🇷

Hi,

Thanks to have pushed the MR forward! And glad to have helped!

+1 for RTBC too, I have retested on my contrib project, working fine too!

🇫🇷France Grimreaper France 🇫🇷

Just one comment about PHPStan and PHPMD.

🇫🇷France Grimreaper France 🇫🇷

TODO:
- welcome block

🇫🇷France Grimreaper France 🇫🇷

patch for Composer usage.

🇫🇷France Grimreaper France 🇫🇷

I think I found a solution while comparing with Layout Builder module.

🇫🇷France Grimreaper France 🇫🇷

I thought there was a link on the project page to https://www.youtube.com/watch?v=TLHlYQXmlMY

Maybe the demo will help understand.

🇫🇷France Grimreaper France 🇫🇷

TODO:
- allow to update layout of a dashboard, problem on save, it is not saved
- welcome block
- update permissions
- remove user page blocks

🇫🇷France Grimreaper France 🇫🇷

Patch for Composer usage.

🇫🇷France Grimreaper France 🇫🇷

grimreaper created an issue.

🇫🇷France Grimreaper France 🇫🇷

grimreaper created an issue.

🇫🇷France Grimreaper France 🇫🇷

grimreaper created an issue.

🇫🇷France Grimreaper France 🇫🇷

grimreaper created an issue.

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

grimreaper created an issue.

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

Hi,

It would be nice to have a new release to get this bug fix without needing to apply a patch.

🇫🇷France Grimreaper France 🇫🇷

Maybe only needed to squashed commits on MR.

Here is a patch file from the other branch.

🇫🇷France Grimreaper France 🇫🇷

Hi,

Thanks for the MR.

I have tested it it works.

But I will create a new MR from 2.0.0 version because patch from current MR can't apply on it.

🇫🇷France Grimreaper France 🇫🇷

Added a few patches applied on Sobki Bootstrap and to sync in Sobki DSFR.

🇫🇷France Grimreaper France 🇫🇷

Hi,

Thanks for the MR and patch.

Confirm it works!

🇫🇷France Grimreaper France 🇫🇷

Ok I found the problem, it is when there are files uploaded in the directory from for example a previous installation.

But the new installation does not have the files registered as file content entities so it can't delete it.

🇫🇷France Grimreaper France 🇫🇷

grimreaper created an issue.

🇫🇷France Grimreaper France 🇫🇷

grimreaper created an issue.

🇫🇷France Grimreaper France 🇫🇷

grimreaper created an issue.

🇫🇷France Grimreaper France 🇫🇷

grimreaper created an issue. See original summary .

🇫🇷France Grimreaper France 🇫🇷

grimreaper created an issue.

Production build 0.71.5 2024