Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-24536

Parse and display the notifications send in the admin part

    Details

      Description

      Since EZP-24450, the Symfony controllers used by the admin part can send some notifications. Those notifications should be parsed and displayed using the PlatformUI's notification system. This should probably be added in the Y.eZ.ServerSideViewService.

      Example of output:

      <div data-name="title">The title</div>
      <div data-name="html">Some html code to display</div>
      <ul data-name="notification">
          <li data-state="error">Unable to publish the content type "Article"</li>
          <li data-state="done">Something else was working :)</li>
      </ul>
      

        Issue Links

          Activity

          Show
          Mateusz Hyndle (Inactive) added a comment - PR: https://github.com/ezsystems/PlatformUIBundle/pull/263
          Show
          Mateusz Hyndle (Inactive) added a comment - merged in master: https://github.com/ezsystems/PlatformUIBundle/commit/274167cc0e16eb697e27b6b4452ba2c2db5f7338
          Hide
          Mateusz Hyndle (Inactive) added a comment -

          It is depending on https://jira.ez.no/browse/EZP-24426 (it's already merged).
          To test this issue, you should go to Admin Panel > Content Types and try to create new content type with single text line field. While doing it you should see notifications displayed by PlatformUI's notification system. Don't bother the text of notifications and that they are sometimes duplicated - it's out of the scope for this issue.

          Show
          Mateusz Hyndle (Inactive) added a comment - It is depending on https://jira.ez.no/browse/EZP-24426 (it's already merged). To test this issue, you should go to Admin Panel > Content Types and try to create new content type with single text line field. While doing it you should see notifications displayed by PlatformUI's notification system. Don't bother the text of notifications and that they are sometimes duplicated - it's out of the scope for this issue.
          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:
              Damien Pobel (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 3 hours, 30 minutes
                1d 3h 30m