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

Merge Requests

More

Recent comments

🇫🇷France Grimreaper France 🇫🇷

Waiting for standard CI to switch to Drupal 10.3

🇫🇷France Grimreaper France 🇫🇷

No worries,

As written in the issue summary, there is something that should not work which actually work and the MR "fix" how the "mark" theme key should be used.

🇫🇷France Grimreaper France 🇫🇷

Fixing tests in another issue then rebasing this one.

🇫🇷France Grimreaper France 🇫🇷

Good catch. Thanks!

🇫🇷France Grimreaper France 🇫🇷

Hello,

In a file field it is possible to allow the json extension and to upload a JSON path, so I guess it is possible to extract JSON files.

The result will depend on the chosen extraction method and I don't know how performant its are to extract JSON.

🇫🇷France Grimreaper France 🇫🇷

Hi,

I think you should configure the menu links to be hidden for admins and on the module settings form:
- check "Administrator role bypass access check in admin context"
- uncheck "Administrator role bypass access check in front"
- uncheck "Administrator bypass"

So admins will have access check in front but not in backoffice.

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

I found a solution with xpath.

Also another one was:

$this->assertStringContainsString(\Drupal::VERSION, $this->getSession()->getPage()->getContent());
🇫🇷France Grimreaper France 🇫🇷

Gathering the tests fixes from 🐛 PHP < 8.0 compatibility RTBC

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

Hi,

Thanks for the bug report and workaround MR.

I don't think it is a long term solution.

I think an approach like in the https://www.drupal.org/project/field_formatter_range module should be made/tried.

Altering image related formatters to allow to enable/disable the Gif handling and then update the current hooks to listen to an introduced property. Also, need to ensure that these altering will be available in Views fields.

if yes, an update path should also be made.

🇫🇷France Grimreaper France 🇫🇷

I have tested on a Core 10.2.7 with the following patch: #2942975-255: [PP-1] Expose Layout Builder data to REST and JSON:API

Enabling the field enhancer on both client and server sites. And enabling the "Layout builder" processor in the config import.

It is working well.

Now that a MR had been created, code review and rebase will be easier.

🇫🇷France Grimreaper France 🇫🇷

- Creating MR
- testing patches since the last time I did it
- updating patch

🇫🇷France Grimreaper France 🇫🇷

@smustgrave, no problem. I have not uploaded before because there was no difference:

Before patch:

After patch:

🇫🇷France Grimreaper France 🇫🇷

Current display is almost the same as Bootstrap 3.

Only difference, when there is help text in the field configuration and a file is uploaded. This help text is no more displayed in BS3.

🇫🇷France Grimreaper France 🇫🇷

Styling provided in 5.0.0-alpha5, broken in 5.0.0-alpha13

🇫🇷France Grimreaper France 🇫🇷

Hi,

Not sure if this is the correct issue to post that.

I think it would be nice to have a mechanism which allows a module or theme to add stories to an existing component without having to redeclare the component.

🇫🇷France Grimreaper France 🇫🇷

Discussed with @pdureau,

The mechanism depends on region_attributes, created by template_preprocess_layout in layout_discovery module.

However, this region_attributes variable is not used in component templates. (and it does not exist if the component is not used as a layout.)

The solution would be to enforce every UI patterns component to use one attributes object by slot. But it will not possible when slots are printed without wrappers.

<div{{ attributes }}>
  <div{{ foo_attributes.addClass('foo')}}>
    {{ foo }}
  </div>
  {{ bar }}
 </div>

Also, it would not be possible to use the prop drilling from UI Styles because we do not have access to the content of the slots to inject the wrapper. (it is removed when rendering and blocks are rendered twice)

Production build 0.69.0 2024