Review 10.4 Merged

65206[TASK] Broadcast AjaxDataHandler events

Anja Leichsenring CR +2 V +2 Easy +29 −17 updated 08/08/20, 15:04

Commit message

Events sent via AjaxDataHandler are now broadcasted by using the
Broadcast Service. This change allows e.g. the topbar to listen to these
events and trigger a reload.

Broadcasting has the nice side effect that the event is sent to all
browser windows which allows multiple simultaneously opened backends
(that share the same domain) to react on that event.

To ease the integration of event listeners, the event payload sent via
classic `dispatchEvent()` is adjusted to share the same structure with
broadcasted messages.

Review

  • Code review CR +2 Done
    • Anja Leichsenring +2
  • Verified V +2 Done
    • Anja Leichsenring +2
    • TYPO3com +1 CI

Issues 1

Files 8

Review log 34

  1. Anja Leichsenring commented on patch set 1 08/08/20, 14:35

    Cherry Picked from branch master.
  2. TYPO3com voted on patch set 1 V +1 08/08/20, 14:48 Completed build in 12m 16s on Sat, 8 Aug, 02:48 PM Test Summary: 74009 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC104-189

  3. Anja Leichsenring voted on patch set 1 V +2 CR +2 08/08/20, 15:04

  4. Anja Leichsenring merged patch set 2 08/08/20, 15:04