? Success
Pull Request for # 5726

User tests: Successful: Unsuccessful:

avatar JoomliC
JoomliC
15 Jan 2015

This PR fix the issue reported here by @aasimali :

When a module is trashed, in the actions dropdown menu, you have the icon "trash" (no effect) and it should be "publish".

This PR replace the wrong "trash" icon by the "publish" icon by replacing published by state.

avatar JoomliC JoomliC - open - 15 Jan 2015
avatar jissues-bot jissues-bot - change - 15 Jan 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 15 Jan 2015
Category Administration UI/UX
avatar zero-24 zero-24 - change - 15 Jan 2015
Easy No Yes
avatar zero-24 zero-24 - change - 15 Jan 2015
Rel_Number 5726
Relation Type Pull Request for
avatar infograf768
infograf768 - comment - 15 Jan 2015

@test
Fine here. One more tester.

avatar aasimali
aasimali - comment - 15 Jan 2015

@infograf768
I am having a problem for testing this patch.

joomla 3 4 staging administration joomla patch tester

avatar infograf768
infograf768 - comment - 15 Jan 2015

You need to make sure you use latest staging

avatar zero-24
zero-24 - comment - 15 Jan 2015

@aasimali

The easiest way to test this here is manually change the line :smile:

If you get issues like this please check the database that you don't have more patches applyed :smile:

avatar aasimali
aasimali - comment - 15 Jan 2015

@infograf768 @zero-24
I directly changed the code :smile: at this path : administrator/components/com_modules/views/modules/tmpl/default.php

Successfully tested! working as expected.
Thanks @JoomliC

avatar infograf768 infograf768 - close - 15 Jan 2015
avatar infograf768 infograf768 - change - 15 Jan 2015
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2015-01-15 09:39:14
avatar infograf768
infograf768 - comment - 15 Jan 2015

Thanks. Merged.

avatar brianteeman
brianteeman - comment - 15 Jan 2015

Dont you think that the Trash Icon next to the drop down should also be
changed?

If you do then that would also need to be changed in the Article Manager

On 15 January 2015 at 09:39, infograf768 notifications@github.com wrote:

Thanks. Merged.


Reply to this email directly or view it on GitHub
#5730 (comment).

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar infograf768
infograf768 - comment - 15 Jan 2015

The trash icon next to the dropdown is here to show that the item is trashed.
It is especially useful when filter is set to All (at least in articles and other managers)
screen shot 2015-01-15 at 11 04 29

avatar brianteeman
brianteeman - comment - 15 Jan 2015

OK I see your point and it make sense but look at the tooltip

On a published icon the tooltip is a description of the status "Published
and is current"
On a trashed icon the tooltip is a description of what will happen if you
click on it "Publish Item"

(In the module manager we dont have a filter for All)

On 15 January 2015 at 10:05, infograf768 notifications@github.com wrote:

The trash icon next to the dropdown is here to show that the item is
trashed.
It is especially useful when filter is set to All (at least in articles
and other managers)
[image: screen shot 2015-01-15 at 11 04 29]
https://cloud.githubusercontent.com/assets/869724/5755565/522118f0-9ca6-11e4-8939-0a6fa1a0d236.png


Reply to this email directly or view it on GitHub
#5730 (comment).

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar infograf768
infograf768 - comment - 15 Jan 2015

We also can add easily the Option All in the module manager

by adding line 70 of ROOT/administrator/components/com_modules/helpers/modules.php
$options[] = JHtml::_('select.option', '*', JText::_('JALL')));
would do.

As for the tooltip, this is another general issue as we have sometimes a positive action —when an item is unpublished or trashed—, sometimes a descriptive action —when an item is published.

avatar brianteeman
brianteeman - comment - 15 Jan 2015

So moving forward

  1. Can you add the Option All to the module manager - its the only manager
    that could use it and doesnt have it

  2. I will add tooltips to the "user interface text" working groups task
    list as you've shown its a more general problem than I thought and should
    be done globally.

OK ?

On 15 January 2015 at 10:22, infograf768 notifications@github.com wrote:

We also can add easily the Option All in the module manager

by adding line 70 of
ROOT/administrator/components/com_modules/helpers/modules.php
$options[] = JHtml::('select.option', '*', JText::('JALL')));
would do.

As for the tooltip, this is another general issue as we have sometimes a
positive action —when an item is unpublished or trashed—, sometimes a
descriptive action —when an item is published.


Reply to this email directly or view it on GitHub
#5730 (comment).

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar infograf768
infograf768 - comment - 15 Jan 2015

Will do for 1.
For 2. it may not only be a matter of Text, the descriptive tooltip when an item is published gives infos about the Current or not status of the item which is very useful. The code there is global.

avatar brianteeman
brianteeman - comment - 15 Jan 2015
  1. Thanks

  2. Yes agreed - we need to find a consistent way to write the tooltip
    strings. joomla/user-interface-text#38

On 15 January 2015 at 10:49, infograf768 notifications@github.com wrote:

Will do for 1.
For 2. it may not only be a matter of Text, the descriptive tooltip when
an item is published gives infos about the Current or not status of the
item which is very useful. The code there is global.


Reply to this email directly or view it on GitHub
#5730 (comment).

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar infograf768
infograf768 - comment - 15 Jan 2015

PR to test is here:
#5735

Add a Comment

Login with GitHub to post a comment