As the layout plugin will be replaced by the core module Layout Discovery, this module should change or extend its dependency.
| Comment | File | Size | Author |
|---|---|---|---|
| #32 | 2868179-layout_plugin_views-d83-32.patch | 8.63 KB | andypost |
| #32 | interdiff-2868179-31.txt | 606 bytes | andypost |
Comments
Comment #2
samerali commentedCan we test this out? i found the module couple of hours ago and thought i could help getting it to work with D8.3, seems to be working good with me right now.. BTW this module though probably needs version 2 instead of the current v1
Comment #3
samerali commentedComment #4
samerali commentedSo something is failing on D8.3 tests, Could someone help?
Comment #5
samerali commentedComment #6
samerali commentedUpdated the patch to resolve a bug that would not make region detection probably. I'm using the module with this patch and it's working great!
Comment #7
samerali commentedComment #8
legolasboThanks for your efforts @samerali. I'm currently unable to review your work due to time constraints. I'll get on this ASAP. Any reviews are most welcome in the mean time.
Comment #9
h3rj4n commentedSeems to work as designed. I'm able to display the fields within a layout.
Comment #10
andypostRTBC ++
Just a minor clean-up of description & both dependencies exists only in 8.3 core, so no reason to compare version
Comment #11
andyposttrying to fix test
Comment #12
legolasboTests need fixing
Comment #13
andypostRe-roll
Comment #14
andyposttrying to fix tests
- removed
IntrospectableContainerInterfaceas SF 3.x has no such class (core 8.4 compatibility)- replace deprecated
Fieldviews plugin withEntityFieldComment #16
andypostFix broken tests, probably 8.x-2.x better to use for new module's version
Comment #17
andypostClean-up coding standards regression
Comment #18
andypostAnd one more minor fix
Comment #19
andypostComment #20
TD44 commentedCommit please!
Comment #21
andypostThis still needs review before commiting, and probably new branch
Comment #22
TD44 commentedThis module is a MUST HAVE! This functionnality was include with Views on Drupal 7.
Does the update to the new branch will be easily to apply? Or does it break websites :/ ?
Thanks
Comment #23
Syntapse commentedis this confirmed working yet? can it be committed?
Comment #24
andypostI'm using it but it needs maintainer to start new branch, I'd like file issue to ask co-maintainership
Comment #25
legolasboI currently don't have time for a proper functional review, but the patch itself looks good and I'd be happy to open a new branch and commit this if someone can RTBC this.
Comment #26
tim.plunkettReviewing at @andypost's request. 99% of it looks great!
This changes unrelated typos, but leaves the incorrect part: no longer
the layout plugin module, should bethe Layout Discovery moduleIf the second part changed to using
->getRegionNames()instead, the first part wouldn't have to change.Out of scope
Not sure about this
Comment #27
finnsky commentedI did test of patch. On my side works ok https://i.gyazo.com/242217b83c0113befe5c5d2fdd4cc46d.png
Comment #28
andypost@tim.plunkett Thanx for review, new patch fixes #26
1) also changed "provided trough/by"
2) also removed intermediate variable
3) reverted to
PHPUnit_Framework_TestCase- it works with 8.6 core as well4) this class deprecated in core since 8.3.x so IMO in scope
Comment #29
andypostNo reason to call method in loop as it was a variable
Comment #30
MixologicPHPUnit_Framework_TestCaseis not supported on phpunit 6, which is what core uses for testing for php7.0 and up. Im not sure why the test isnt picking up on the fact that there is an alias for that class incore/tests/bootstrap.php, which is what makes most of the other ones work. Perhaps change that to'\PHPUnit\Framework\TestCase'Not completely sure what the proper technique is for ensuring that the tests work on both phpunit 4.8 (for 5.5/5.6) and on phpunit 6 (for 7 and up), but thats probably where the issue lies.
Comment #31
andypostLet's see if replace will help, otherwise will need to revert to
UnitTestCaseComment #32
andypostComment #33
demonde commentedTo me it works unless you donnot use the more complex display suite layouts. They are not compatible.
If I choose another layout in the row options the layout options are not dynamically reloaded. Therefore I have to apply the panel layout and open it once more to see the options. This is not very intuitive.
Comment #34
andypostYep, this is how it works now but surely needs rewamp UI in separate issue when this one lands
Comment #35
demonde commentedWould be nice to open a 2.x branch.
Comment #36
legolasboI've finally found some time to catch up on maintenance of my modules so I've opened the 8.x-2.x branch for this. I'm willing to put some effort into reviewing this to make it land in the next couple of weeks.
Comment #38
legolasboCommitted and pushed to 8.x-2.x. Thanks for your work on this everyone!
Comment #39
andypostGreat! Please update project page about difference between 2 and 1
Comment #40
legolasboDone!