Skip to content
Snippets Groups Projects
  • Oliver Bartsch's avatar
    [BUGIFX] Clipboard panel as web component · 1d1ae6ba
    Oliver Bartsch authored
    The clipboard component still suffers a lot of
    problems, due to its static integration in the list
    modules.
    
    For example, when clearing the clipboard, it's no
    longer possible to copy / cut a record via context
    menu, since the the previous GET parameters are
    included in the return URL, directly reverting the
    operation.
    
    The list modules should therefore not longer handle
    any clipboard logic directly, especially not via GET.
    
    This patch does the first step towards this goal and
    introduces a dedicated endpoint, only available via
    POST. The clipboard panel, used in recordlist and
    filelist is furthermore now integrated as a web
    component, making any form submit in the main module
    superfluous.
    
    Additionally some related bugs are fixed:
    
    * Elements moved to clipboard via context menu can now
      be remvoed from clipboard again
    * Non related elements are now always properly styled
    * File elements now correctly link to their parent folder in filelist
    * Buttons are only shown for the clipboard they influence
    
    Resolves: #95268
    Resolves: #95267
    Releases: master
    Change-Id: I7b1050c9b0f11a1e495ef09df4d0560dd84df882
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70978
    
    
    Tested-by: default avatarOliver Hader <oliver.hader@typo3.org>
    Tested-by: default avatarcore-ci <typo3@b13.com>
    Tested-by: default avatarBenni Mack <benni@typo3.org>
    Tested-by: default avatarOliver Bartsch <bo@cedev.de>
    Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
    Reviewed-by: default avatarBenni Mack <benni@typo3.org>
    Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
    1d1ae6ba