Closed (fixed)
Project:
Collect
Version:
8.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2015 at 12:54 UTC
Updated:
18 Jun 2015 at 08:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mbovan commentedDiscussed with @miro_dietiker and @Berdir. Here is the current proposal (screenshots only).
Container view, in case there is no plugin applied. Raw data tab is added.

Raw data page looks like:

In case the plugin is applied, list of properties is displayed.

In case the plugin is applied and it has specialized display, the container view looks like:

Comment #2
mbovan commentedHere is the patch with the changes from screenshots. Updated tests.
Also added a message in case there is no plugin configured.

Comment #4
mbovan commentedNo errors locally.
I guess, I need to call
$container->urlInfo()->setAbsolute(TRUE)instead$container->url().The problem is when Drupal is installed in subdirectory (like Testbot).
url()returns the base directory (in this case/checkout) which is then added twice indrupalGet().Comment #5
arla commentedScreenshots look nice.
If the plugin has specialized display, will we want to see also the default output, i.e. the list of property values? If so, should that be another tab?
Comment #8
mbovan commentedRerolled.
@Arla: There would be a problem that default output is displayed "twice" (on the tab "Default display" page and container view page for the entities that don't have specialized display), except we deal with
customAccessCheck()for local tasks or something similar...Comment #10
mbovan commentedFixed some mistakenly rebased lines.
Comment #12
arla commentedFixed some comment cruft on commit (see interdiff). Committed and pushed!