Bug #12112
closedNo warning when page is deleted in the new pagetree
0%
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?
Updated by Jens Hoffmann almost 14 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.
The DropZone for the Deleted files should behave different!
- The DropZone is hidden be default
- When a object gets moved/dragged, the DropZone slides in
- 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 - The DropZone (with the "undelete" dialog) should slide out after ~5000ms (needs to tested in RL!).
Hope that brought some clarification here.
Greez Jens
Updated by Lars Zimmermann almost 14 years ago
+1 for Jens suggestion - but I think some of it is technically not possible with ExtJS? (especially the DnD-are sliding in)
Updated by Lars Zimmermann almost 14 years ago
- Status changed from New to Needs Feedback
Updated by Helmut Hummel almost 14 years ago
It has been implemented exactly like Jens described it, check it out. :)
Updated by Jens Hoffmann almost 14 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 :)
Updated by Jens Hoffmann almost 12 years ago
- Target version deleted (
TYPO3 4.5 LTS)
Updated by Benni Mack about 8 years ago
- Project changed from 78 to TYPO3 Core
- Category changed from Inconsistency to Backend User Interface
- TYPO3 Version set to 8
- Is Regression set to No
Updated by Riccardo De Contardi almost 8 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
Updated by Riccardo De Contardi about 7 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
Updated by Riccardo De Contardi about 7 years ago
- Related to Feature #82426: Replace ExtJS page tree with SVG one added
Updated by Riccardo De Contardi about 7 years ago
- Category changed from Backend User Interface to Pagetree
Updated by Riccardo De Contardi about 7 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!
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Needs Feedback to Closed
Thank you. Closed in agreement with the reporter.