Lille
Account created on 15 September 2009, over 15 years ago
#

Merge Requests

More

Recent comments

🇫🇷France nod_ Lille

Committed and pushed 6f6a78544ee to 11.x and ec3d2e1a81d to 11.1.x. Thanks!

🇫🇷France nod_ Lille

Committed 6793be9 and pushed to 11.x. Thanks!

🇫🇷France nod_ Lille

nod_ made their first commit to this issue’s fork.

🇫🇷France nod_ Lille

Committed b60186b and pushed to 11.x. Thanks!

🇫🇷France nod_ Lille

all child issues are fixed, should this one be closed too?

🇫🇷France nod_ Lille

sorry another conflict because of the inline comment length patch

🇫🇷France nod_ Lille

Committed 4837c52 and pushed to 11.x. Thanks!

🇫🇷France nod_ Lille

Committed 5509149 and pushed to 11.x. Thanks!

🇫🇷France nod_ Lille

nod_ made their first commit to this issue’s fork.

🇫🇷France nod_ Lille

need a rebase unfortunately, I'll try to merge soon after it's back to a mergeable state

🇫🇷France nod_ Lille

Committed bffe969 and pushed to 11.x. Thanks!

🇫🇷France nod_ Lille

nod_ made their first commit to this issue’s fork.

🇫🇷France nod_ Lille

Committed 70b2d5e and pushed to 11.x. Thanks!

🇫🇷France nod_ Lille

Thanks a lot for getting that resolved!

🇫🇷France nod_ Lille

nod_ made their first commit to this issue’s fork.

🇫🇷France nod_ Lille

Another motivation was to prevent people from adding MB of js that we have to bubble around during rendering, so making it hard to add things was part of the goal of I remember correctly. Now it's less of an issue with lazy builders and all the other things we have available

🇫🇷France nod_ Lille

Not sure when I gave feedback about this issue. looking at the difference between jQuery and our code, they have a shortcut when a single element is parsed, which we didn't replicate.

I like the template solution, we should try it out and see if the tests are green. We might need an additional test to make sure we don't break this again.

As for revert, given that this code has been shipped in several minor and major releases for over half a year, It's easier to fix it here and ship the fix in the next release. Nobody should have to rewrite their code because of this change, otherwise there'd be a change record attached to the issue.

🇫🇷France nod_ Lille

Committed eeaa76e and pushed to 11.1.x. Thanks!

The cherry pick is not clean on 10.5.x

🇫🇷France nod_ Lille

first piece of code pushed

🇫🇷France nod_ Lille

nod_ made their first commit to this issue’s fork.

🇫🇷France nod_ Lille

if the issue is out of the usual core issues lifecycle title should be updated per: https://www.drupal.org/docs/develop/issues/fields-and-other-parts-of-an-... t That'll also stop the needs review bot from posting on this issue

🇫🇷France nod_ Lille

scope increase is fine but we don't have a test to ensure link order, might want a followup for that

Committed ba0fa0e and pushed to 11.x. Thanks!

🇫🇷France nod_ Lille

CI is green but pre-commit checks are not, and can't commit. Getting

Running PHPStan on changed files.
 ------ ----------------------------------------------------------------------------------------------------------------- 
  Line   modules/filter/src/Plugin/Filter/FilterHtml.php                                                                  
 ------ ----------------------------------------------------------------------------------------------------------------- 
  268    Method                                                                                                           
         Masterminds\HTML5\Parser\Tokenizer@anonymous/modules/filter/src/Plugin/Filter/FilterHtml.php:265::setTextMode()  
         has no return type specified.                                                                                    
         🪪  missingType.return                                                                                           
 ------ ----------------------------------------------------------------------------------------------------------------- 


                                                                                
 [ERROR] Found 1 error                                                          
                                                                                

🇫🇷France nod_ Lille

nod_ made their first commit to this issue’s fork.

🇫🇷France nod_ Lille

Can we make the follow ups before the commit? Thanks!

🇫🇷France nod_ Lille

Committed d191c5b and pushed to 11.x. Thanks!

🇫🇷France nod_ Lille

thanks @quietone and @pameeela!

🇫🇷France nod_ Lille

is it possible to check the availability of nodejs on the shared hosting while looking at all this? just a yes/no would be great

🇫🇷France nod_ Lille

shouldn't the values be merged? or are we sure the GET data is always more up to date?

🇫🇷France nod_ Lille

After

Drupal\Tests\field_ui\FunctionalJavascript\DisplayModeBundle   2 passes   60s                                      
Drupal\Tests\field_ui\FunctionalJavascript\ManageDisplayTest   3 passes  136s                                      
Drupal\Tests\field_ui\FunctionalJavascript\ManageFieldsTest    7 passes  211s                                      
Drupal\Tests\field_ui\FunctionalJavascript\EntityDisplayTest   3 passes   72s                                      
Drupal\Tests\field_ui\FunctionalJavascript\DefaultValueWidge   1 passes   24s                                      

Before

Drupal\Tests\field_ui\FunctionalJavascript\DisplayModeBundle   2 passes   32s        
Drupal\Tests\field_ui\FunctionalJavascript\ManageDisplayTest   3 passes  136s                                      
Drupal\Tests\field_ui\FunctionalJavascript\ManageFieldsTest    7 passes  211s                                      
Drupal\Tests\field_ui\FunctionalJavascript\EntityDisplayTest   3 passes   72s                                      
Drupal\Tests\field_ui\FunctionalJavascript\DefaultValueWidge   1 passes   29s                                      


haven't checked all tests but it seems fine, except for DisplayModeBundle

🇫🇷France nod_ Lille

ah yes sorry, was about to commit when i spotted it :)

🇫🇷France nod_ Lille
  1. I like that it still works without JS
  2. fix on the JS needed
  3. Any idea of the perf hit on the tests? it feel like it'd be significant
  4. this CR is not up to date anymore (version): https://www.drupal.org/node/3400352
  5. can we reduce the description text from https://www.drupal.org/node/3503549 , it's too long and makes it hard to see what changed
🇫🇷France nod_ Lille

nod_ made their first commit to this issue’s fork.

🇫🇷France nod_ Lille

nod_ made their first commit to this issue’s fork.

🇫🇷France nod_ Lille

nod_ made their first commit to this issue’s fork.

🇫🇷France nod_ Lille

Committed d1a4f6e and pushed to 11.x. Thanks!

🇫🇷France nod_ Lille

Committed 7fff264 and pushed to 11.x. Thanks!

🇫🇷France nod_ Lille

nod_ made their first commit to this issue’s fork.

🇫🇷France nod_ Lille

nod_ made their first commit to this issue’s fork.

🇫🇷France nod_ Lille

nod_ made their first commit to this issue’s fork.

🇫🇷France nod_ Lille

Should this meta add the phpcs rule, or we leave that to a child issue?

🇫🇷France nod_ Lille

The other issues are in

🇫🇷France nod_ Lille

Committed 2dc84b0 and pushed to 11.x. Thanks!

🇫🇷France nod_ Lille

nod_ made their first commit to this issue’s fork.

🇫🇷France nod_ Lille

Committed 89c5a17 and pushed to 11.x. Thanks!

🇫🇷France nod_ Lille

Committed b041cd9 and pushed to 11.x. Thanks!

🇫🇷France nod_ Lille

nod_ made their first commit to this issue’s fork.

🇫🇷France nod_ Lille

We're changing strings in tests that do not run? Seems like a cleanup is needed

🇫🇷France nod_ Lille

The code itself looks good. It's nicer to use slots than mess with theme functions. I'm still on the fence adding shadow dom on a custom core element.

Given the fact that it's an experimental theme that we'll retire at some point, why not. I would like to have a disclaimer somewhere in the code (a twig comment above the <template> element maybe?) saying that this is a test, not a guideline on how to use template/shadow dom in Drupal. We haven't talked through all the topics (how/where do we document the slots, js required, style duplication, different styling methods, etc.) hence the disclaimer. Most of the topics would need to have an answer or general agreement before we use this in non experimental parts of core. in the spirit of getting things going I'm ok with committing this

NW for the disclaimer comment

🇫🇷France nod_ Lille

Committed a80fcb9 and pushed to 11.x. Thanks!

🇫🇷France nod_ Lille

Committed c131a1e and pushed to 11.x. Thanks!

🇫🇷France nod_ Lille

Committed bc08b60 and pushed to 11.1.x. Thanks!

🇫🇷France nod_ Lille

we might want that for 11.1.x too, cherry pick isn't clean

🇫🇷France nod_ Lille

Committed a9ebc0c and pushed to 11.x. Thanks!

🇫🇷France nod_ Lille

thanks for the extra test, in this case as this is a purely UI concern we do not need to make sure the text is not present. we removed it and keeping it in a test makes the string stay in the code. Kinda defeat the purpose of removing it :)

Committed and pushed 8357990ca57 to 11.x and 74321e2f21f to 11.1.x. Thanks!

Production build 0.71.5 2024