Bug #12112

No warning when page is deleted in the new pagetree

Added by Helmut Hummel almost 9 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Pagetree
Target version:
-
Start date:
2011-01-11
Due date:
% Done:

0%

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

Description

Hi,

I reported in #12030 that currently the new pagetree does not respect the options.alertPopups configuation where it can be configured which actions must be confirmed by a user (confirm alert box in JavaScript).

How is the plan here? Do not warn the user at all when deleting a page through the context menu? Would not be very nice because the delete option is close to the copy action.

Aditionally:
The drag to delete action has the option to undo the deletion, but only for a few seconds.

I would suggest to show the option to undo the deletion until the next action is done in the pagetree and also show this option if the page was deleted by using the context menu.

Another option would be to show an alert box if configured, to stay consistent with other delete actions in the backend.

Waht do you think?


Related issues

Related to TYPO3 Core - Feature #82426: Replace ExtJS page tree with SVG one Closed 2017-09-09

History

#1 Updated by Jens Hoffmann almost 9 years ago

Hy,

Technical:
"option.alertPopups" should also be valid for the pagetree (in my eyes)

Usability:
Deleting should be mainly done via D&D. Context Menu is the "Fallback".
If you delete a Entry via the Fallback, it should (if alertPopups is true) show a "cancel" dialog.
I like your Idea of showing the "dialog" inline where the page was.
(spinner) should show that it's a temp. dialog
But we need to create a prototype for that.

Interaction:
The DropZone for the Deleted files should behave different!
  1. The DropZone is hidden be default
  2. When a object gets moved/dragged, the DropZone slides in
  3. If you drop a Page into it,
    it changes the color to orange and shows the "undelete" dialog
    with a Button in it to trigger the action!
    (spinner) should show that it's a temp. dialog
  4. The DropZone (with the "undelete" dialog) should slide out after ~5000ms (needs to tested in RL!).

Hope that brought some clarification here.

Greez Jens

#2 Updated by Lars Zimmermann almost 9 years ago

+1 for Jens suggestion - but I think some of it is technically not possible with ExtJS? (especially the DnD-are sliding in)

#3 Updated by Lars Zimmermann almost 9 years ago

  • Status changed from New to Needs Feedback

#4 Updated by Helmut Hummel almost 9 years ago

It has been implemented exactly like Jens described it, check it out. :)

#5 Updated by Jens Hoffmann almost 9 years ago

First of all: I'm impressed! :) Very nice work. Thanks!

But I got some little remarks, too.

  • If you DnD a Entry to the DropZone - The Entry flyes back to its old Position .. feels like it gets directly undelted.
  • The DropZone dousn't slides in and could be a bit bigger (higher) - I wish to catch more attention there.
  • If you delete a Page - And click quickly 10 Times on undelete - You create 10 ver. of that Page :) - Slide out the DZ if clicked

Rest is Perfect :)

#6 Updated by Jens Hoffmann almost 7 years ago

  • Target version deleted (TYPO3 4.5 LTS)

#7 Updated by Benni Mack about 3 years ago

  • Project changed from v4 Usability Team to TYPO3 Core
  • Category changed from Inconsistency to Backend User Interface
  • TYPO3 Version set to 8
  • Is Regression set to No

#8 Updated by Riccardo De Contardi almost 3 years ago

  • Status changed from Needs Feedback to New

The issues reported on comment 5 are all still present on 8.6-dev (latest master).
About point n°3:

If you delete a Page - And click quickly 10 Times on undelete - You create 10 ver. of that Page :) - Slide out the DZ if clicked

I found that the multiple versions of the page created are actually "fake" and have all the same ID; if you refresh the tree, the redundant copies disappear

#9 Updated by Riccardo De Contardi about 2 years ago

I will report here my findings with TYPO3 7.6.22, 8.7.6 and latest master 9.0.0-dev about the points that were still open:

TYPO3 7.6.22

1) Deleted page fly back to original position: YES
2) Drop zone still "too small": YES
3) Creation of multiple fake pages by fast-paced clicking on "undelete": NO, you can click only once and the button disappears

TYPO3 8.7.6

1) Deleted page fly back to original position: NO (there is a little movement, but it does not fly back)
2) Drop zone still "too small": YES
3) Creation of multiple fake pages by fast-paced clicking on "undelete": NO, you can click only once and the button disappears

TYPO3 9.0.0-dev (latest master)

1) Deleted page fly back to original position: NO (there is a little movement, but it does not fly back)
2) Drop zone still "too small": YES
3) Creation of multiple fake pages by fast-paced clicking on "undelete": NO, you can click only once and the button disappears

#10 Updated by Riccardo De Contardi about 2 years ago

  • Related to Feature #82426: Replace ExtJS page tree with SVG one added

#11 Updated by Riccardo De Contardi about 2 years ago

  • Category changed from Backend User Interface to Pagetree

#12 Updated by Riccardo De Contardi about 2 years ago

  • Status changed from New to Needs Feedback

Hemlut, I guess that everything here will become obsolete with the new SVG pagetree. Do you think I can close this one? Thank you!

#13 Updated by Helmut Hummel about 2 years ago

yes, go ahead and close it

#14 Updated by Riccardo De Contardi about 2 years ago

  • Status changed from Needs Feedback to Closed

Thank you. Closed in agreement with the reporter.

Also available in: Atom PDF