Closed (fixed)
Project:
Display Builder
Version:
1.0.x-dev
Component:
display_builder_views
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Aug 2025 at 11:12 UTC
Updated:
15 Sep 2026 at 08:35 UTC
Jump to comment: Most recent
Comments
Comment #2
pdureau commentedToo late for alpha5
Comment #3
grimreaperComment #4
grimreaperHello,
Unassigning, I will focus myself on Styles API in Core + UI Styles 2 and related issues in the ecosystem.
Comment #5
pdureau commentedWhile working on the revamp UI Patterns's contexts, I may get an idea about this.
I will give a try.
Comment #7
pdureau commentedStarted.
Comment #8
pdureau commentedFirst proposal pushed. Still WIP.
TODO:
And also, use the current state of work to:
Comment #9
pdureau commentedRebased. It works pretty well:
This is not a real "review", it is too soon to merge, but an opportunity to discuss about the pipeline fails. The hardcoded placeholders from
PreviewPanel::alterPreviewPlaceholder()("[View] Header", "[View] Exposed"...) have been removed and the preview is now behaving the normal way, with the "[Placeholder] No preview" added byPreviewPanel::renderPreviewSources()when empty.However, everything become "[Placeholder] No preview":
So, it is not properly testable by playwright with
Displaybuilder.expectBlocksAvailable()which expect a specific and unique placeholder label for each.The solution will be to update
PreviewPanel::renderPreviewSources()to print something dynamic like '[Placeholder] @source_plugin_label'And this may also be the opportunity to the last 4 hardcoded placeholder from
PreviewPanel::alterPreviewPlaceholder():This is extending the scope of the ticket, is it OK?
Comment #10
mogtofu33 commentedA change of preview placeholder is proposed in #3615031: Enhance instances list for better navigation so probably better to have it merged before, then back to this one, then a follow up issue for views placeholder.
Comment #11
mogtofu33 commentedComment #12
mogtofu33 commentedComment #13
pdureau commentedOk, i take back this issue (because I have work left to do there) and i will resume once the other one is fixed.
Edit: Finally, it will be addressed in #3618072: Placeholders and real render, in Canvas and Preview
Comment #14
mogtofu33 commentedComment #16
mogtofu33 commentedComment #18
pdureau commentedWith the split, the reviews must be done following this order:
Comment #19
pdureau commentedooops, wrong status change.
Back to me for review.
Comment #22
pdureau commented#3618072: Placeholders and real render, in Canvas and Preview has been merged to 1.0.x. I will rebase before the review.
Comment #23
pdureau commentedFeature review
OK, source previews seem to work as expected 👍
Code review
OK, except the playwright fail following the changes in #3618072: Placeholders and real render, in Canvas and Preview:
Comment #25
mogtofu33 commented