What was not done in #3445079: [2.0.0-alpha2] Feedbacks about Views module
View style
View rows: empty renderable even when results Status : fix
❌ I still see the issue:
- I create a view of articles. I have at least one published article in my site.
- I chose "Component (UI Patterns)" as view style & "content: teaser" as view rows
- I chose Bootstrap 5's Alert components and I put "View rows" source in the message slot
- I save the view
- FAIL: I don't see the rows in front
But, if I add another source in the same slot of an other slot, it appears ! So it may be a cache issue.
Let's talk about that in Alpha3.
TypeError: Drupal\Core\Theme\ComponentPluginManager::find(): error should appear only when you choose ui patterns views plugins inside views (the first time when choose on the radios button "Component (UI patterns)", this error seems to be related to views, for example with better exposed filter I'v got the same issue (enable BEF, expose pager, select the BEF plugin, the select of pager ajax not working at the first popup ) I try to debug but it's very complicated, I think I will try to resolve this at the end of develop. I also started an issue on Core https://www.drupal.org/project/drupal/issues/3447838
Let's follow this in alpha3.
View row
The view fields are not available as sources for slots. Status : fix
❌ I have this issue:
Call to undefined method Drupal\ui_patterns_views\Plugin\UiPatterns\Source\ViewFieldSource::getSettings() in Drupal\ui_patterns_views\Plugin\UiPatterns\Source\ViewFieldSource
Architecture
Architecture Status : fix BUT, we add lot of (big) object inside the configuration mapping, hope will not causing any performance issue but should not be. Also now when something is empty et should not be render it return something empty, before it was unset of mapping=> maybe in this case some extra empty tag should not be render
Let's talk about that in Alpha3.
Issue fork ui_patterns-3449932
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
pdureau commentedAlso:
Comment #3
pdureau commentedWas also find in
ui_patterns_blocks:It was fixed by injecting the component_id to the renderabel builder:
Comment #4
pdureau commentedAbout the cache issue, have a look on SourceInterface::alterComponent()
Comment #6
musa.thomasComment #7
pdureau commentedMoved to its own beta1 ticket: #3452481: [2.0.0-beta1] Do we take care of the big object in views config?
Comment #9
musa.thomasDidn't reproduce the problem of cache
Comment #10
musa.thomas