PiranhaCMS / piranha.core

Piranha CMS is the friendly editor-focused CMS for .NET that can be used both as an integrated CMS or as a headless API.
http://piranhacms.org
MIT License
2.02k stars 562 forks source link

Feature request: bulk edit of (selected?) content in Manager #1339

Open jensbrak opened 4 years ago

jensbrak commented 4 years ago

With the addition of comment support, the ability to bulk edit these would simplify the management.

One use case would be that a number of comments have been posted for moderation and an administrator quickly want to approve or discard them. This would, at a minimum, require the list of comments in Manager to be selectable/checked (preferably using normal selection behavior like shift- or ctrl-click) and select the appropriate action.

Perhaps bulk editing like this would be a good feature for other kinds of content too?

Not exactly related to this, but still relevant I believe:

It would be useful if it would be to be able to obtain a link directly into the manager and the list of either unapproved or pre-approved comments. Let's say notification is implemented to tell an administrator that comments have been submitted and provide a direct link to the manager for editing these. Of course, this would (most likely) require the administrator to have to provide credentials upon tapping/clicking this link before reaching the list of comments to moderate. Or is this feasible already?

tidyui commented 4 years ago

Hi there! If you access a specific page in the manager without being authenticated the manager will redirect to the login page with a ReturnUrl parameter so that the user will be sent to requested page after login. So it should work right out of the box if you provide the valid edit URL!

jensbrak commented 4 years ago

Hi there! If you access a specific page in the manager without being authenticated the manager will redirect to the login page with a ReturnUrl parameter so that the user will be sent to requested page after login. So it should work right out of the box if you provide the valid edit URL!

I see, thanks! I was thinking of selecting one of the tabs in the manager too, ie control which of All | Pending | Approved to show. Since these are client-side (right?) I am not sure it's possible using URLs. I may have to dig into the workings of Vue I guess. My thought was to set the table "completely", by providing a direct path (via login of course) to the actual tab of the list to bulk edit.

tidyui commented 4 years ago

Sure, we'll probably need to add routing features for this in the manager so that you can route directly to the different tabs.