? ? ? Success

User tests: Successful: Unsuccessful:

avatar cheiff
cheiff
25 Feb 2016

Pull Request for a new feature.

Summary of Changes

Added a button to toggle unpublished modules in menu item edit view, similar to toggle unassigned modules.

Testing Instructions

From Administrator panel, select a menu (e.g. Main Menu), select a menu item (e.g. Home). In the Module Assignment tab, there is a new column "Published" and a new button that allows to toggle the modules based on their status (published/unpublished).
If there are some modules and some are unpublished, clicking the button will hide them.

Comments

I let the label colour for "Trashed" as default (gray) after editing a module in order to be easily recognizable. On reloading, trashed modules will disappear from the view, so it is a temporary colour.

I put the buttons next to each other in order to not take up more space. That is the reason for a new layout file for the fieldset. If there is a better way or I should let the buttons one on top of the other, just let me know.

One idiomatic question: I left the language strings same as for toggle unassigned menus, but, shouldn't it be "Shows or hides modules" instead of "Shows or hide modules"?

Thanks, regards

avatar cheiff cheiff - open - 25 Feb 2016
avatar cheiff cheiff - change - 25 Feb 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 25 Feb 2016
Labels Added: ? ?
avatar cheiff
cheiff - comment - 26 Feb 2016

Two screenshots showing what the PR does

togglebutton1
togglebutton2

avatar infograf768
infograf768 - comment - 26 Feb 2016

We have in core en-GB
93 occurences of "Show or hide etc."
One occurence of "Shows or hide etc."
COM_MENUS_ITEM_FIELD_HIDE_UNASSIGNED_DESC="Shows or hide modules unassigned to this menu item."
One occurence of "Shows or hides etc."
COM_TAGS_SHOW_ITEM_DESCRIPTION_DESC="Shows or hides the description for each tag listed."
@brianteeman ??

avatar brianteeman
brianteeman - comment - 26 Feb 2016

@infograf768 it should be Show or hide

On 26 February 2016 at 07:32, infograf768 notifications@github.com wrote:

We have in core en-GB
93 occurences of "Show or hide etc."
One occurence of "Shows or hide etc."
COM_MENUS_ITEM_FIELD_HIDE_UNASSIGNED_DESC="Shows or hide modules
unassigned to this menu item."
One occurence of "Shows or hides etc."
COM_TAGS_SHOW_ITEM_DESCRIPTION_DESC="Shows or hides the description for
each tag listed."
@brianteeman https://github.com/brianteeman ??


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

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

avatar infograf768
infograf768 - comment - 26 Feb 2016

@brianteeman
Can you make a PR for the 2 wrong strings?

avatar brianteeman
brianteeman - comment - 26 Feb 2016

yes I will do that

On 26 February 2016 at 08:17, infograf768 notifications@github.com wrote:

@brianteeman https://github.com/brianteeman
Can you make a PR for the 2 wrong strings?


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

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

avatar cheiff
cheiff - comment - 26 Feb 2016

I'll correct mine, then.
Thanks, regards

avatar cheiff
cheiff - comment - 26 Feb 2016

There it is. Thank you.
Regards

avatar bullet64
bullet64 - comment - 27 Feb 2016

I have tested this item successfully.

avatar brianteeman brianteeman - alter_testresult - 27 Feb 2016 - bullet64: Tested successfully
avatar brianteeman brianteeman - change - 27 Feb 2016
Category Administration
avatar brianteeman brianteeman - change - 27 Feb 2016
Labels
avatar richard67 richard67 - test_item - 28 Feb 2016 - Tested successfully
avatar richard67
richard67 - comment - 28 Feb 2016

I have tested this item :white_check_mark: successfully on 525cb78

Works as described in test instructions.


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

avatar andrepereiradasilva andrepereiradasilva - test_item - 29 Mar 2016 - Tested successfully
avatar andrepereiradasilva
andrepereiradasilva - comment - 29 Mar 2016

I have tested this item :white_check_mark: successfully on 525cb78


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

avatar brianteeman brianteeman - change - 30 Mar 2016
Status Pending Ready to Commit
Labels
avatar brianteeman
brianteeman - comment - 30 Mar 2016

RTC - thanks


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

avatar joomla-cms-bot joomla-cms-bot - change - 30 Mar 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 30 Mar 2016
Milestone Added:
avatar cheiff
cheiff - comment - 30 Mar 2016

Thank you! :smile:

avatar rdeutz rdeutz - change - 12 Apr 2016
Milestone Added:
avatar rdeutz rdeutz - change - 12 Apr 2016
Milestone Removed:
avatar rdeutz
rdeutz - comment - 12 Apr 2016

new feature has to go into 3.6 and not into 3.5.x

avatar brianteeman
brianteeman - comment - 12 Apr 2016

oops - i didnt consider it a new feature but thats fine

avatar zero-24
zero-24 - comment - 12 Apr 2016

if there is the decision that this is a new feature can we have a New feature label here than? @rdeutz

avatar rdeutz rdeutz - change - 12 Apr 2016
Labels Added: ?
avatar rdeutz
rdeutz - comment - 12 Apr 2016

@zero-24 your wish is my command :-)


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

avatar rdeutz rdeutz - change - 12 Apr 2016
Labels
avatar zero-24
zero-24 - comment - 12 Apr 2016

:+1: Thanks ;)

avatar brianteeman brianteeman - change - 27 Apr 2016
Labels
avatar brianteeman brianteeman - change - 27 Apr 2016
Category Administration Administration Language & Strings
avatar rdeutz rdeutz - change - 2 May 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-05-02 06:05:40
Closed_By rdeutz
avatar brianteeman brianteeman - change - 11 May 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment