Problem/Motivation
When using Display Builder in a real world case like with Display Builder Bootstrap recipe, I discovered a pain point.
The recipe use Page Layout and Entity view with Field formatter -> Rendered entity. Perhaps it's not the 'common use case' but seems a good way.
Problem is when on preview we see rendered entity with a display but we cannot edit it directly. Need to go to admin/structure/display-builder/instances and find the instances to edit it.
An other issue is if you open multiple tabs display, to know clearly which one you are editing.
Steps to reproduce
Proposed resolution
- Integrate Drupal contextual menu (edit) with link to display, so we can access from preview (probably good approach)
- Add a sidebar panel of the instances list with link to instances (complementary)
- Add the instance id somewhere, perhaps in the help menu?
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|
Issue fork display_builder-3613587
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
mogtofu33 commentedComment #3
mogtofu33 commentedComment #4
pdureau commentedThis sounds like a legit point.
Not the same formatter, not the same issue, but may be related on a way or the other: #3542276: Embedding a display in an other with a formatter ?
Comment #5
mogtofu33 commentedI implemented an experimental Island list instances, it's a real helper, to switch display on place, with the preview iframe it makes the building experience easier.
Definitely something to add.
Comment #7
mogtofu33 commentedImplemented the islands as it's a quick win.
Let keep the issue open for other options discussion.
Comment #8
mogtofu33 commentedComment #9
mogtofu33 commentedThe contextual menu is removed with new preview, so not an option on display builder side anymore (but still could be something on the site?).
The current instance id is fixed by instances list island as curent display link.
Closing this one and we can have follow up for UX strategy with related issues.
Comment #11
pdureau commentedThe idea is cool as an optional, opt-in, island.
Some feedback:
Comment #12
mogtofu33 commentedThanks for the feedback, copied in the follow-up issue #3614998: Island instances list navigation enhancement.