-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with new "archived" state #1237
Comments
Agree a Restore bulk action would be nice, and the action should start at the top of the tree and work down so pages get restored to the right place. But "prevention is the best medicine" and I think the more important change here is warning users when children will be archived as a result of archiving a page.
Or changing the action text could be an option I guess, instead of just 'Archive' it could be 'Archive (incl. 5 child pages)'. p.s. the 5th example at http://t4t5.github.io/sweetalert/ that starts with |
Presumably all child pages are archived recursively? So giving an explicit number is not required in my view. Changing the action to "archive page and sub pages" would do it |
Yeah that's what happens - I just think an explicit number would highlight the magnitude of the change. If you archive a page but haven't manually expanded all the sub page nodes in the site tree you might have no idea how many pages are being archived - could be 1 or 50. |
But the impact is the same if the user does or doesn't realise what is happening, surely? Counting the nested children will also be expensive. |
Yeah the impact is the same, but might just make people think twice before archiving. Like "Oh whoa, there's 50 pages under there... better ask the boss first". But yeah I didn't consider performance, might be a deal breaker. |
We were aware of these issues stated by @sweddell when going about our creation of the archive functionality and ideally if we had the time we would have included it in our work. But because our work was directed by user testing we did, we had a different aim and a set amount of time to do the work so we didn't try and fix all of the existing issues. Adjusting the message which notifies the user about the child pages should be an easy addition that could be added sooner than the other things (nice suggestion). We discussed giving the user options to restore to the old location and/or select a new location (if it wasn't available). The bug of being able to move archived pages or newly restored page and it not saving is a pre-existing bug (might be logged somewhere else?). |
I've added batch restore at #1255 |
Archive alert messages have been "fixed" with silverstripe/silverstripe-framework#4470 and #1254 |
All of the above issues except the "moving of archived pages" has been resolved. |
It would be good to reopen a new issue with just that boy, @tractorcow, and then close this one. It will make it easier for someone to jump in and fix down the line. :-) |
Moved this issue to #1257 |
Giving the new 3.2 beta a test drive and have found issues with how the "archived" state is treated. A common usecase for us is the need to restore an entire section when a user archives a page, either knowingly or unsuspectingly, and there were subpages in the tree that needed to be moved before archiving, or the whole lot needed to remain in the case of an unscheduled archive.
![screenshot-2015-07-01 13-25-14](https://cloud.githubusercontent.com/assets/75909/8447319/f28dd018-1ff9-11e5-837a-c77edfcf939e.png)
![screenshot-2015-07-01 13-25-55](https://cloud.githubusercontent.com/assets/75909/8447328/236be468-1ffa-11e5-8e3e-605a30a7b2d7.png)
![screenshot-2015-07-01 13-28-38](https://cloud.githubusercontent.com/assets/75909/8447431/0af3938e-1ffc-11e5-8fe0-0373805c2dd4.png)
![screenshot-2015-07-01 14-42-54](https://cloud.githubusercontent.com/assets/75909/8447675/8d761856-1fff-11e5-8224-e13cb58bd196.png)
Archiving a page with children,
Results in the children pages being archived, as expected.
There needs to be a "restore" action in the Multi-selection dropdown, especially if a very large section was archived and needs to be returned to its former glory.
Restoring the subpages individually only gives an option to restore to the top level, which is expected if the parent is archived, but not if the page is moved to an active page first.
However, if the parent page that was archived is restored, then the expected "restore draft" option is available, as a child of the same restored parent or another parent in the tree if it is moved.
On restoring, or the tree refreshing, the page returns to the previous parent. It is probably a good idea to restrict the ability to move the page unless restored first. I understand what is going on here and the message about the move not taking effect until the page is saved relates to the reason the page moves back, but a CMS user won't understand that and will think that it should stay in the place they moved it to the same as if the moved a published or draft page.
The text was updated successfully, but these errors were encountered: