- Issue created by @just_like_good_vibes
- π©πͺGermany Christian.wiedemann
christian.wiedemann β made their first commit to this issueβs fork.
- π©πͺGermany Christian.wiedemann
Hi checked the tests right now. I think Mikael had everything implemented expect the field ui stuff? Am I right?
- π©πͺGermany Christian.wiedemann
What do you think is missing? Just let me know
- π«π·France just_like_good_vibes PARIS
hello, i think yes, everything has been already done, especially in π [2.0.0-beta3] Sources: Tests Active for example.
- Test deriver plugin : ok
- test rendering with field layout :modules/ui_patterns_layouts/tests/src/Functional/LayoutFieldFormatterRenderTest.php
- test rendering with layout builder :modules/ui_patterns_layouts/tests/src/Functional/LayoutBuilderFieldFormatterRenderTest.php
- tests form integration in layout builder : modules/ui_patterns_layouts/tests/src/Functional/LayoutBuilderRenderTest.php - π«π·France just_like_good_vibes PARIS
hello, i think yes, everything has been already done, especially in π [2.0.0-beta3] Sources: Tests Active for example.
- Test deriver plugin : ok
- test rendering with field layout :modules/ui_patterns_layouts/tests/src/Functional/LayoutFieldFormatterRenderTest.php
- test rendering with layout builder :modules/ui_patterns_layouts/tests/src/Functional/LayoutBuilderFieldFormatterRenderTest.php
- tests form integration in layout builder : modules/ui_patterns_layouts/tests/src/Functional/LayoutBuilderRenderTest.phpmaybe what is missing is "Tests of possible integration ? iinside field layout display (and field layout form?)"
We should decide if we write a new test case for this or not. - Status changed to Needs work
about 2 months ago 2:23pm 27 November 2024 - π©πͺGermany Christian.wiedemann
I found two bugs with field layout. One I fixed with empty context for field_layouts. The rendering of forms inside a layout leads right now to empty slot because our Layout Component overwrites the build keys inside the region. This is also the reason why one test fails.
So should we support field_layout forms?
- π«π·France just_like_good_vibes PARIS
Hello Christian,
you set in review but the MR is not green ?
do i still need to review it? - π«π·France pdureau Paris
1) Drupal\Tests\ui_patterns_layouts\Functional\FieldLayoutRenderTest::testRenderForm Behat\Mink\Exception\ElementNotFoundException: Element matching css ".field--name-body" not found. /builds/project/ui_patterns/vendor/behat/mink/src/WebAssert.php:465 /builds/project/ui_patterns/modules/ui_patterns_layouts/tests/src/Functional/FieldLayoutRenderTest.php:115 2) Drupal\Tests\ui_patterns_layouts\Functional\LayoutBuilderRenderTest::testRenderProps Behat\Mink\Exception\ElementNotFoundException: Element matching css ".layout-builder-block" not found. /builds/project/ui_patterns/vendor/behat/mink/src/WebAssert.php:465 /builds/project/ui_patterns/modules/ui_patterns_layouts/tests/src/Functional/LayoutBuilderRenderTest.php:78
- π«π·France pdureau Paris
The remaining problem is from
$build[$region_name] = $regions[$region_name];
we did for Layout Builder integration, but may not work well with Field Layout.We don't need to test with the Entity Form Displays because SDC is not compatible with the Form API yet, but Field Layout can also be used with Entity View Displays instead of Layout Builder.
- π«π·France just_like_good_vibes PARIS
i take it back to check and finish for merge
- π«π·France just_like_good_vibes PARIS
i added a few minor changes.
and removed the unwanted tests. please review Christian :) -
christian.wiedemann β
committed d87fec0b on 2.0.x
Issue #3467656 by just_like_good_vibes, christian.wiedemann, pdureau: [2...
-
christian.wiedemann β
committed d87fec0b on 2.0.x
Automatically closed - issue fixed for 2 weeks with no activity.