Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

EZP-26322: Provide a "preview" link in the UDW selected view #724

Merged
merged 40 commits into from Nov 24, 2016

Conversation

dpobel
Copy link
Contributor

@dpobel dpobel commented Nov 16, 2016

JIRA: https://jira.ez.no/browse/EZP-26322

Description

Screencast:

This patch adds the ability to view the fields of a Content that is selected in the Universal Discovery Widget. This is done with a side view call "Content Peek" that uses the RawContentView to display the fields.

To keep a reasonable patch size, it's not yet possible to from one language to another but that will be implemented in EZP-26613. Also, at the moment, the Relation and Relations field are not correctly rendered in such context, this will be fixed in EZP-26614.

Tasks

  • Improve the side view system so that a side view can be rerendered each time it becomes active
  • Change RawContentView and LanguageSwitcherView to not require any parameter
  • Implement a ContentPeek side view able to display the fields of a Content
  • Allow to switch language in the ContentPeekView Postponed to EZP-26613
  • Make sure all fields are correctly rendered (Relation(s) not working EZP-26614)

Tests

unit tests + manual tests

@dpobel dpobel force-pushed the ezp-26322_udw_preview branch 2 times, most recently from 86c6919 to 0d10608 Compare November 17, 2016 08:31
@dpobel dpobel changed the title [WIP] EZP-26322: Provide a "preview" link in the UDW selected view EZP-26322: Provide a "preview" link in the UDW selected view Nov 17, 2016
@dpobel
Copy link
Contributor Author

dpobel commented Nov 17, 2016

ping @yannickroger @StephaneDiot

@dpobel
Copy link
Contributor Author

dpobel commented Nov 18, 2016

(self note: kept open to use ezp-26322_udw_preview branch as a feature branch until we can switch from one language to another)

@dpobel
Copy link
Contributor Author

dpobel commented Nov 18, 2016

(self note 2: remaining deprecated log on loadObjectRelations most likely for the "Related" tab)

…nguage

content handling is completely wrong for now
@dpobel dpobel merged commit bd887d4 into master Nov 24, 2016
@dpobel dpobel deleted the ezp-26322_udw_preview branch November 24, 2016 14:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
3 participants