Sometimes it makes sense to have entity browser opened by default (and save people one click on "Select entities" link). Let's make this possible and configurable.

This makes no sense for modals of course.

CommentFileSizeAuthor
#9 eb-modal.gif1.12 MBsokru
#9 eb-iframe.gif2.22 MBsokru

Comments

slashrsm created an issue. See original summary.

slashrsm’s picture

primsi’s picture

Status: Needs review » Reviewed & tested by the community

Looks ok.

slashrsm’s picture

Status: Reviewed & tested by the community » Fixed

Merged.

  • slashrsm committed abebcdc on 8.x-1.x
    Issue #2560363 by slashrsm: Allow auto-open of iFrame display.
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

sokru’s picture

@slashrsm could you tell me why this makes no sense for modals? I have use case where entity reference (IEF) field is used to reference existing nodes. If user selects "add existing node", one needs to click "Select nodes" in order to modal to open up. I would prefer modals for this use case, because of better UX.

slashrsm’s picture

Auto-open opens entity browser immediately when a page is opened. I don't think that this is the desired experience in case of the Modal.

sokru’s picture

StatusFileSize
new2.22 MB
new1.12 MB

@slashrsm I made two screencasts demonstrating the use case in inline entity forms with

a) modal

entity browser modal

With modal user has to do extra click to "Select entities".

b) iframe

entity browser iframe

With iframe user gets confused of "Add node" button, when one needs to scroll down iframe to use "Select" button.