modxcms / revolution

MODX Revolution - Content Management Framework
https://modx.com/
GNU General Public License v2.0
1.35k stars 528 forks source link

[enhancement] Remove unnecessary windows when creating new objects #14373

Open Ruslan-Aleev opened 5 years ago

Ruslan-Aleev commented 5 years ago

Feature request

Summary

As @sottwell correctly pointed out in media sources (https://github.com/modxcms/revolution/issues/12853), there is an unobvious step in creating the source, but the problem is more widespread.

In MODX, when creating object, a quick creation form first pops up (usually with a name, description), for example, for contexts, see the picture below.

create_1

Then, to fully configure the context, you have to edit it in an expanded form through the context menu, see the picture below.

create_2

Question: Why do I need a quick creation form, if all its fields (name, description, etc.) I can fill in an extended form?

Quick create form creates unnecessary steps and clicks. And for users it is not clear what to do next, because an object appeared in the list, but how to configure it? There are no icons, there are no links, we already discussed this earlier - https://github.com/modxcms/revolution/issues/14125

This behavior with a quick creation form is in media sources, contexts, access settings, and most likely in other sections. The logical behavior of the button (without a quick form) can be seen in the "Users" section - /manager/?a=security/user

ant-tar commented 5 years ago

Good catch, as far as I remember it was discussed twice some time ago on forums.modx.com too. I am absolutely convinced that the quick window here is redundant and can be removed. When you work with a lot of contexts inside one website this becomes noticeable and waste time.

petyagrill commented 5 years ago

I think that the most optimal way is to redirect to the edit page after creating a media source or context in this window.

Ruslan-Aleev commented 5 years ago

@petyagrill In my opinion this is not a very good option, because it will not be clear where the extended form came from, and the behavior is not normal and it will take longer.

petyagrill commented 5 years ago

@Ruslan-Aleev The method I proposed is simpler to implement, because in the case of a redirect, we will have an id of the entity and the rest of the functionality is already working. But if you click on the button to open an extended form (which you first need to create), then you will still need to redirect the first time you save it. What you offer is very similar to the creation of resources, but I believe that to solve this problem there is no need for such large changes.

Ruslan-Aleev commented 5 years ago

@petyagrill Unfortunately, I do not know the technical limitations for opening an extended form, perhaps you are right and this is not easy to implement. The logical behavior of the button (without a quick form) can be seen in the "Users" section - /manager/?a=security/user