Review main Abandoned

88000[WIP][TASK] Remove paste mode from clipboard

Andreas Kienast CR 0 V 0 Hard +243 −289 updated 02/04/25, 09:56

Commit message

Probably the most confusing part of the TYPO3 clipboard ever is the
premature selection of the paste mode: "copy" or "move". A backend user
has to choose between one of these modes when working with the
clipboard.

When pasting a record, a backend user _may_ notice a wrong mode and has
to abort the current action, scroll to the clipboard, wait for a page
reload, search the location again and paste – this is a horrible UX.

The clipboard pasting is refined – the clipboard itself is not aware of
any mode anymore. Instead, when pasting elements, the user is actively
asked whether records in the clipboard should be copied or moved.

TODO:
* Adjust paste modals

Review

  • Code review CR 0
  • Verified V 0

Files 17

Review log 35

  1. Andreas Kienast uploaded patch set 1 02/03/25, 16:51

  2. core-ci voted on patch set 1 V -1 02/03/25, 16:57 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/73429

  3. Andreas Kienast uploaded patch set 2 V -1 02/04/25, 08:40

  4. core-ci voted on patch set 2 V -1 02/04/25, 08:48 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/73470

  5. Andreas Kienast abandoned the change 02/04/25, 09:56

    This won't work (for now). There are several permission checks for "cut" as moving a record involves data manipulation which may be prohibited for a backend user (e.g. editlock). There is currently no meaningful way to handle this when pasting elements without causing frustration to the backend user.