?
avatar coolcat-creations
coolcat-creations
5 Aug 2020

my obligatory disclaimer for this weeks issues :-)
I am currently teaching a class of kids in working with Joomla. So here and there always the same mistakes happen where we can learn from. If a new user comes into such situations the frustration can be high. But we can help them not to make such mistakes.

What needs to be fixed

If you open a menu item where an article is already connected to you have the possibility to edit or clear. There is a soooo often mistake that the user clicks on edit to select another article.

Why this should be fixed

To avoid users overwriting their existing contents because they think they create a new one here
To Avoid users to make a wrong click

How would you fix it

Maybe having different labels if possible.
"Edit Article" and "Clear to relink" or similar? Any other idea to improve that?

avatar coolcat-creations coolcat-creations - open - 5 Aug 2020
avatar joomla-cms-bot joomla-cms-bot - change - 5 Aug 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 5 Aug 2020
avatar brianteeman
brianteeman - comment - 5 Aug 2020

I dont see how it could be any clearer. The fact that when you click on edit and get an article full of content that you would have to erase should make it obvious you are not creating something new.

I think the problem you are facing is two fold

  1. are they actually creating articles with content or just the headings for now with a view to adding content later
  2. a matter of education that joomla is not wordpress and that a menu item is not an article but a link to an article
avatar coolcat-creations
coolcat-creations - comment - 6 Aug 2020

For some people edit is the same task as change. So if the button says edit I also would expect to edit the link and not the article because I am In the menu item.
Best solution would be to have a edit article and change link button instead of „clear“ why do we force two clicks here to select something new?

avatar brianteeman
brianteeman - comment - 6 Aug 2020

why do we force two clicks here to select something new?

No idea - it does seem strange but maybe I need more coffee

avatar infograf768
infograf768 - comment - 6 Aug 2020

Clear may also be used to really Clear and not Change. For example in Associations if we do not want an item to be anymore associated.

avatar brianteeman
brianteeman - comment - 6 Aug 2020

Then it should not be using the same field

avatar coolcat-creations
coolcat-creations - comment - 6 Aug 2020

Clear may also be used to really Clear and not Change. For example in Associations if we do not want an item to be anymore associated.

Would be good to have a change button there too, it does not make sense to clear an article because the menu item cant be saved anyway without an association.

avatar infograf768
infograf768 - comment - 7 Aug 2020

it does not make sense to clear an article because the menu item cant be saved anyway without an association.

It makes real sense to totally clear an association if not desired. We need the clear button, at least for Associations. Clearing there totally clears the former associated item in the association table.

It indeed does make sense to only have a Change article (a variation of Select in fact) when we edit a Single Article menu item.

Then it should not be using the same field

It can use the same field, once modified as I have done here.

I prepared a patch here which does not touch the associations as I do add an element in the field

I get for an existing id

Screen Shot 2020-08-07 at 12 41 47

For a new menu item
Screen Shot 2020-08-07 at 12 42 20

And I keep for associations

Screen Shot 2020-08-07 at 12 21 34

This can be done for other items too.
It is only useful when the field is required evidently, which is the only case concerned here in core for articles. So it is B/C.

Here is a zip of the .diff. Can make PR if desired.
j4_change.diff.zip

avatar ssnobben
ssnobben - comment - 7 Aug 2020

Thks Coolcat-creations for making UX/UI user tests for improving & understanding Joomla. Cool!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30289.

avatar infograf768
infograf768 - comment - 7 Aug 2020

In fact this proposed PR in the zip above is for 4.0-dev, but can do same for 3.x
@HLeithner What you think?

avatar HLeithner
HLeithner - comment - 7 Aug 2020

I hate the current behavior so much I'm full in favor adding the select button again. But I'm not alone.
Not sure why we need a 'change' button and extra acl for it?

avatar infograf768
infograf768 - comment - 10 Aug 2020

Explained in private we need a new button because of the hidden class.
Making now PR for J4. Then can be decided if we backport.

avatar infograf768
infograf768 - comment - 10 Aug 2020

Closing. Please test #30331

avatar infograf768 infograf768 - close - 10 Aug 2020
avatar infograf768 infograf768 - change - 10 Aug 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-08-10 08:49:26
Closed_By infograf768

Add a Comment

Login with GitHub to post a comment