? Pending

User tests: Successful: Unsuccessful:

avatar zero-24
zero-24
6 Feb 2017

Pull Request for Issue #13943 .

Summary of Changes

Testing Instructions

Install Joomla
Log In
Do not make a selection for Anonymous Data from the prompt
Navigate to some other pages

Expected result after the patch

The message is only showed in the control panel.

Actual result

Message is unnecessarily persistent all screens.
It's annoying and has a negative impact UX on all screens outside the control panel.

Documentation Changes Required

None

Additional comments ([copied from original issue by @cpfeifer])

I support the option to allow people to submit this data and it is very useful to our process, but there is no reason for it to be persistent across all screens unless our intent is to force users to make a decision, which it should never be.

This option is presented to our users as a way to help improve Joomla, but the persistent message essentially destroys UX everywhere outside the control panel by popping up and pushing all features down the screen considerably until they make choice. The choice they make may be out of frustration or a desire to make the message go away, and this potentially skews the data regarding the choices users are making.

If it's limited to being persistent on the dashboard, they'll see it when they login, which I still don't like but it's better than the way it is now. I think the presentation of this option should be completed revisited in J4, but I feel limiting it to the control panel is a fair compromise for now. I hope we can do something about this sooner than later.

User Feedback:
"Given that I have clients using the back end, if they see the messages it confuses them, and scares them."

avatar zero-24 zero-24 - open - 6 Feb 2017
avatar zero-24 zero-24 - change - 6 Feb 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 6 Feb 2017
Category Front End Plugins
avatar zero-24 zero-24 - change - 6 Feb 2017
Labels Added: ?
avatar wilsonge
wilsonge - comment - 6 Feb 2017

-1 for me. We had a long discussion about this at the time of implementation. This was the solution rather than forcing users to accept. I'm strongly against going even further backwards on this

avatar mbabker
mbabker - comment - 6 Feb 2017

I still don't get why the project feels like the stats collection notice should be in your face everywhere while the 2.5 EOL message and now our PHP EOL message get locked to the control panel only; those are more urgent things to be communicating to users.

avatar cpfeifer
cpfeifer - comment - 6 Feb 2017

We are throwing it in their face and forcing them to make a choice, that's the issue. Having this on the dashboard is one thing, having it on the article editing screen and every other screen is a whole other thing. It's too aggressive.

avatar cpfeifer
cpfeifer - comment - 6 Feb 2017

I have tested this item successfully on fc717c7


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

avatar cpfeifer cpfeifer - test_item - 6 Feb 2017 - Tested successfully
avatar cpfeifer
cpfeifer - comment - 6 Feb 2017

Here is a video of my test and I think it perfectly demonstrates the issue. I started with a fresh install and had to install and verify the patch tester without clicking the prompt. It's a huge distraction having the message pop up every single time on every single screen when you're trying to do something. I can't believe for a second that any Joomla user is okay with this the way it is. Let's fix this now.

anon-msg

avatar C-Lodder
C-Lodder - comment - 6 Feb 2017

Agree with Babker, so I'd personally suggest moving this to a post installation message (as that's pretty much what it is)

avatar zero-24
zero-24 - comment - 6 Feb 2017

@c-lodder i have tryed this and this resulted into a not translated message :(

I personally dont care. The reason it is not a postinstall is because we asuming that sending is allowed after a few time (i cant remember the actual time we wait) This is also the reason we need to force the user to take a chooice. ;)

avatar Bakual
Bakual - comment - 6 Feb 2017

On the other hand, just press one of the buttons and it will never show up again.
I always do that directly after installation since it annoys me to much (which it does by design)

avatar cpfeifer
cpfeifer - comment - 6 Feb 2017

Put yourself in the shoes of a person who has never used Joomla before. You install for the first time, this message is the first you see when you login, then it follows you everywhere until you choose. What message are we sending to new users?

We need to think about that more. We're all used to this, but from an onboarding perspective it's a nightmare. This does not deliver a pleasant first user experience, and first impressions count for a lot. That's where my head is at.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 7 Feb 2017

Show on Control Panel is enough. After next Update the Message come again, User knows more about Reasons why its helping to click "Always send".

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 22 Feb 2017

Decision of Production Department?

avatar Sieger66 Sieger66 - test_item - 3 Mar 2017 - Tested successfully
avatar Sieger66
Sieger66 - comment - 3 Mar 2017

I have tested this item successfully on fc717c7


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

avatar zero-24
zero-24 - comment - 4 Mar 2017

Moving to Needs Review on request by @yvesh


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

avatar zero-24 zero-24 - change - 4 Mar 2017
Status Pending Needs Review
avatar mbabker mbabker - change - 16 Mar 2017
Status Needs Review Ready to Commit
avatar mbabker
mbabker - comment - 16 Mar 2017

RTC

Please note per a discussion with Tobias that apparently moving the load language call after the cpanel check causes the messages to not translate. Let's move forward with this as is and we can address that issue separate.


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

avatar zero-24
zero-24 - comment - 16 Mar 2017

This PR is wrong.. As with this PR we just include the js in com_cpanel and if we do so there come no updates to the stats server (you need to be on the cpanel that the code is triggerd). I'm working on a fix.

avatar zero-24
zero-24 - comment - 16 Mar 2017

I need some more input :(

The plugin is trigger twice.. the first time with com_cpanel as option and the seccond time with com_ajax.
This means if we add any check like above we add the js only on com_cpanel to the actual site, wich is wrong i think as this way the stats sending is not triggerd anywhere else than com_cpanel.

Or do we get the decision that it is ok that we are only sending the stats if we are on the cpanel?

avatar zero-24
zero-24 - comment - 16 Mar 2017

If we have that decision i can also fix the languages part by moving that code to the onAjaxSendStats method.

avatar zero-24
zero-24 - comment - 16 Mar 2017

In order to fix this: #14615 we can move that the code to onGetIcons event (wich is only triggerd in com_cpanel too)..

avatar mbabker
mbabker - comment - 16 Mar 2017

IIRC the design was so that the collection could happen regardless of who is logged into the site or where (same way the update notification email plugin triggers independently of an admin logging into the site). So we shouldn't limit that part to someone logging into the site and hitting the control panel.

Use the plugin's isAjaxRequest method if you need to do something conditional based on full page request or AJAX.

avatar zero-24
zero-24 - comment - 16 Mar 2017

IIRC the design was so that the collection could happen regardless of who is logged into the site or where (same way the update notification email plugin triggers independently of an admin logging into the site). So we shouldn't limit that part to someone logging into the site and hitting the control panel.

That is also broken by this line: https://github.com/joomla/joomla-cms/blob/staging/plugins/system/stats/stats.php#L79

avatar zero-24 zero-24 - change - 16 Mar 2017
Status Ready to Commit Pending
avatar mbabker
mbabker - comment - 16 Mar 2017

I give up. Ping me if the server side breaks 🤣

avatar zero-24
zero-24 - comment - 16 Mar 2017

I give up. Ping me if the server side breaks

hehe 😄 Thanks anyway. Your reply means we need to find a fix for that.

avatar yvesh
yvesh - comment - 17 Mar 2017

You have to add the original option from which com_ajax is called in the JavaScript :-) Than you can decide there if you render or not..

avatar franz-wohlkoenig franz-wohlkoenig - change - 6 Apr 2017
Status Pending Needs Review
avatar zero-24 zero-24 - close - 11 Jun 2017
avatar zero-24 zero-24 - change - 11 Jun 2017
Status Needs Review Closed
Closed_Date 0000-00-00 00:00:00 2017-06-11 21:45:29
Closed_By zero-24
avatar laoneo
laoneo - comment - 12 Jun 2017

Why did you close it?

avatar zero-24
zero-24 - comment - 12 Jun 2017

It did never worked correctly. If you have a solution you can do a new PR :)

Add a Comment

Login with GitHub to post a comment