• Andreas Fernandez's avatar
    [!!!][TASK] Refactor client-side IRRE · 0842cea9
    Andreas Fernandez authored and Frank Nägler's avatar Frank Nägler committed
    This patch refactors the IRRE handling on client side, the JavaScript
    land has been rewritten to have a better structure and do less repeating
    on-the-fly calculations. Each IRRE container is represented by a
    independent instance of InlineControlContainer.
    
    Most of the internally used `scriptCall` directives have been removed.
    Currently, `scriptCall` can't get removed completely, as further
    refactorings in different areas are required.
    
    All of the "external" communication via `inline.foobar()` has been
    replaced by a event-driven approach. This also affects ElementBrowser
    windows, those use a minimalistic API based on postMessage.
    
    Some code that was never evaluated in ElementBrowser is considered dead
    and has been removed regarding inserting multiple items.
    
    A new sorting library has been added in order to replace jqueryui piece
    by piece.
    
    Executed command:
    
        yarn add --dev sortablejs
    
    On PHP side, some code has been removed as well since the rewritten client
    code is event-based and doesn't depend on external calls anymore.
    
    Resolves: #88182
    Releases: master
    Change-Id: I4176483d2882cef49fbaddb5e2e1914c1f76c908
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/59324
    
    Tested-by: default avatarTYPO3com <noreply@typo3.com>
    Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
    Tested-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
    Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
    Reviewed-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
    0842cea9
_element_tceforms.scss 5.46 KB