Details

      Description

      Implement the "Details" location view tab
      https://doc.ez.no/display/PR/Content+view+subtabs#Contentviewsubtabs-Detailstab

      Scenario 1: viewing details about content and location
      Given that I am on a content view of an object
      When I click on the "Details" location view tab
      Then I see the list of details as specified

        Issue Links

          Activity

          Hide
          Damien Pobel (Inactive) added a comment - - edited

          Dev notes:

          • we get almost all of the expected fields in this tab except the sub items count, the creator and the last contributor (and maybe the associated dates).
          • I think the sub items count should not be added here as we'll display the sub items list below anyway.
          • For the creator and last contributors, they should be asynchronously loaded. Basically the tab will be first rendered with some loading effect for those fields and once we got the info, it's updated. The loading of those fields should happen in the location view view service by subscribing to a custom event fired by the tab when it becomes selected (the eZ.AsynchronousView can maybe used for that).

          The tab should be added in the tabs attribute (https://github.com/ezsystems/PlatformUIBundle/blob/master/Resources/public/js/views/ez-locationviewview.js#L322) As mentioned in the paragraph above, for most part it's just about preparing and displaying already available data.

          Show
          Damien Pobel (Inactive) added a comment - - edited Dev notes: we get almost all of the expected fields in this tab except the sub items count, the creator and the last contributor (and maybe the associated dates). I think the sub items count should not be added here as we'll display the sub items list below anyway. For the creator and last contributors, they should be asynchronously loaded. Basically the tab will be first rendered with some loading effect for those fields and once we got the info, it's updated. The loading of those fields should happen in the location view view service by subscribing to a custom event fired by the tab when it becomes selected (the eZ.AsynchronousView can maybe used for that). The tab should be added in the tabs attribute ( https://github.com/ezsystems/PlatformUIBundle/blob/master/Resources/public/js/views/ez-locationviewview.js#L322 ) As mentioned in the paragraph above, for most part it's just about preparing and displaying already available data.
          Show
          Yannick Roger (Inactive) added a comment - - edited PR: https://github.com/ezsystems/PlatformUIBundle/pull/272
          Show
          Yannick Roger (Inactive) added a comment - Added in: https://github.com/ezsystems/PlatformUIBundle/commit/c5e3e243e87c3ea121fd00668b3d761ef3301939
          Hide
          Rui Silva (Inactive) added a comment -

          Tested and approved by QA for master.

          Show
          Rui Silva (Inactive) added a comment - Tested and approved by QA for master.

            People

            • Assignee:
              Unassigned
              Reporter:
              Roland Benedetti
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: