Review main Merged

71091[BUGFIX] Streamline clipboard handling

Oli Bartsch CR +2 V +2 Normal +61 −101 updated 09/16/21, 09:42

Commit message

Elements, transferred to the clipboard are no longer
selected after reloading the module. Since introducing
multi record selection, the checkboxes are no longer
bound to clipboard functionality, which makes selecting
elements, just because they were added to a clipboard,
pointless. This did anyway never work for elements in
the "normal" clipboard. Furthermore did selecting
elements always display the corresponding multi
record selection actions. Since those actions overlayed
the module specific actions, e.g. the link to single table
view in the recordlist module, it was no longer possible
to execute the module specific actions, as soon
as one record had been transferred to clipboard.

The old clipboard behaviour allowed to remove items
from clipboard by unchecking them and submitting
this deselection. With the multi record selection
component, this is no longer possible. At least not
all elements can be remove, since the actions are
only shown if at least one element is selected.
To fix this, a new action "Remove from clipboard" is
added to the actions bar, allowing to remove a
dedicated selection of elements from clipboard.
This is anyways more understandable for an editor.

Finally the "paste" action is removed from the
multi record selection actions as it has nothing to
do with the current selection.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 2

Files 12