Review 10.4 Merged

65035[TASK] Reduce inline JavaScript for refreshing backend components

Oliver Hader CR +2 V +2 Hard +227 −31 updated 07/15/20, 22:04

Commit message

Left-hand module menu and top toolbar are refreshed using inline
JavaScript when e.g. an extension is de-/activated in extension
manager or users switch their backend language in setup module.

A new module `ImmediateActionElement` is introduced that
implements the Custom HTML Element `<typo3-immediate-action action="…">`.
The element immediately dispatches the action passed via the
action attribute once attached to the DOM.

We therefore drop the (currently unused) data-dispatch-immediately
attribute which was introduced in #91015, as we opt for a more
streamlined custom HTML element implementation now.

Review

  • Code review CR +2 Done
    • Oliver Hader +2
    • Andreas Kienast +1
  • Verified V +2 Done
    • Oliver Hader +2
    • TYPO3com +1 CI

Issues 1

Files 9

Review log 67

  1. Oliver Hader uploaded patch set 1 07/13/20, 11:08

  2. Oliver Hader voted on patch set 1 V +1 CR +1 07/13/20, 11:18

  3. Andreas Kienast voted on patch set 1 CR +1 07/13/20, 11:22

  4. TYPO3com voted on patch set 1 V +1 07/13/20, 11:30 Completed build in 14m 07s on Mon, 13 Jul, 11:30 AM Test Summary: 73890 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC104-80

  5. Oliver Hader wrote 07/13/20, 14:44

    Topic set to inline-javascript
  6. Oliver Hader voted on patch set 1 V +2 CR +2 07/15/20, 22:04

  7. Oliver Hader merged patch set 2 07/15/20, 22:04