core icon indicating copy to clipboard operation
core copied to clipboard

included CE not deleteable -> without hint

Open Metis77 opened this issue 7 years ago • 6 comments

If a CE is included somewhere else, it can not be deleted. The red delete cross is greyed out.

I suggest to add a hint, that this is included somewhere else, and can therefor not be deleted.

Otherwise people, like me, might search for an error solution ...

Metis77 avatar Sep 16 '16 19:09 Metis77

Also, if you simply do not remember where you included that CE, it might take you some time until you find the include element.

fritzmg avatar Sep 16 '16 22:09 fritzmg

So what do you suggest? A hint will be a static text. Furthermore we can only tell you which references the CE, but a full lookup is costly and will most likely be confusing when displayed.

discordier avatar Sep 17 '16 00:09 discordier

I tried something like that with https://github.com/fritzmg/contao-be-include-info But yeah, it can be confusing, but can also be helpful.

fritzmg avatar Sep 17 '16 01:09 fritzmg

Sure, details would be helpful. But may only after clicking an hint. Than detailed info could be shown in a modal. And with a modal the lookup could be done only if anybody clicks.

Metis77 avatar Sep 17 '16 05:09 Metis77

Almost a duplicate of #2953.

leofeyer avatar Sep 17 '16 18:09 leofeyer

How about adding as first step a tooltip there, that deleting is unavailable because of an include anywhere.

Mynyx avatar Sep 17 '16 18:09 Mynyx