Bug #80352

RecordList: Delete record: referenced records don't have a fancy delete fade out animation

Added by Josef Glatz over 4 years ago. Updated over 1 year ago.

Status:
Accepted
Priority:
Should have
Assignee:
Category:
Backend User Interface
Start date:
2017-03-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
JavaScript
Complexity:
Is Regression:
No
Sprint Focus:

Description

Problem/Description

Scenario: I delete a record in recordlist, where also child elements are deleted. After agreeing the modal box, only the deleted record is removed (animation) from the table. Referenced records (of other tables) (in my example on the same pid) are correctly removed, but an editor have to reload the frame/module. Something can lead to confusion for an TYPO3 backend editor.

You can test this with EXT:powermail > v2: Create a form with pages and fields. Than delete the form in recordlist.

Suggestion

As I actually don't know how complex the deletion via ajax is: what about forcing a reload, when there is a case like this (referenced items or child items?!)

ToDo(s)

  • ?

Acceptance Criteria

  • ?

Related issues

Related to TYPO3 Core - Story #82206: list module enhancements/bugfixesNew2005-07-21

Actions
#1

Updated by Josef Glatz over 4 years ago

  • Subject changed from RecordList: Delete record: referenced records aren't deleted to RecordList: Delete record: referenced records don't have a fancy delete fade out animation
#2

Updated by Benni Mack over 4 years ago

  • Target version changed from 8 LTS to next-patchlevel
#3

Updated by Oliver Hader over 4 years ago

  • Status changed from New to Accepted

The drawback is, that the AJAX invocation results in an implicit DOM update for the clicked element. Reloading the whole document would mitigate the desired impact of using an AJAX call at all.

Two possibilities:
  • model based client approach (MVVM style with data-binding)
  • modify AJAX response to return imperatives for a set of CSS selectors (e.g. "remove": [".t3js-entity[...]", ".t3js-entity[...]"])
#4

Updated by Oliver Hader over 4 years ago

  • Assignee set to Oliver Hader
  • Tags set to JavaScript
#5

Updated by Benni Mack over 2 years ago

  • Target version changed from next-patchlevel to Candidate for patchlevel
#6

Updated by Riccardo De Contardi over 1 year ago

Just 2 cents: what about an alert on the right corner that warns the user that there are leftover records on the page, and can be dismissed with a "reload" button on the alert itself?

#7

Updated by Daniel Windloff about 1 year ago

  • Related to Story #82206: list module enhancements/bugfixes added

Also available in: Atom PDF