? Success

User tests: Successful: Unsuccessful:

avatar pe7er
pe7er
8 Nov 2015

This PR removes the unnecessary fields of the filter xml files that are used by Search Tools

Most /models/filter_somename.xml files contained a label + description field that is not used by the Search Tools filters.

Example: administrator/components/com_content/models/forms/filter_articles.xml
contains:

        <field
            name="published"
            type="status"
            label="COM_CONTENT_FILTER_PUBLISHED"
            description="COM_CONTENT_FILTER_PUBLISHED_DESC"
            onchange="this.form.submit();"
            >
            <option value="">JOPTION_SELECT_PUBLISHED</option>
        </field>

The label="COM_CONTENT_FILTER_PUBLISHED" and the description="COM_CONTENT_FILTER_PUBLISHED_DESC" are not used. This PR removes those.

The label of the Search Tool Filter label "- Select Status -" is created by the JOPTION_SELECT_PUBLISHED option and is not removed by this PR.

Test Instruction

  • All Search Tool filter fields + ordering & list limit dropdowns should work correctly, before and after installing the patch.
  • All labels should still be correctly displayed.
  • No untranslated COM_SOMECOMPONENT_FILTER_FIELD should be displayed

filterxml-removed-labels

The Search Tools filter options should be tested for the following components:

  • Components > Banners (Banners, Clients & Tracks)
  • Content > Categories
  • Components > Contacts
  • Content > Articles
  • Content > Featured Articles
  • Content > Smart Search (Indexed Content, Content Maps, Search Filters)
  • Extensions > Manage (Manage & Update Sites)
  • Extensions > Languages
  • Menus > some menu
  • Extensions > Modules
  • Component > Newsfeeds
  • Extensions > Plugins
  • Components > Redirects
  • Components > Tags
  • Users > Manage (Users & User Notes)
avatar pe7er pe7er - open - 8 Nov 2015
avatar pe7er pe7er - change - 8 Nov 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 8 Nov 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 9 Nov 2015
Category Administration
avatar zero-24 zero-24 - change - 9 Nov 2015
Easy No Yes
avatar peterpeter peterpeter - test_item - 14 Nov 2015 - Tested successfully
avatar peterpeter
peterpeter - comment - 14 Nov 2015

I have tested this item :white_check_mark: successfully on 8d97566

Tested all filters in testinsructions.


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

avatar peterpeter
peterpeter - comment - 14 Nov 2015

@pe7er Did you checked, not to leave some orphans in language files, as you just changed the xml files?


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

avatar brianteeman
brianteeman - comment - 14 Nov 2015

We have a "strange" policy not to remove unused language strings
On 14 Nov 2015 4:18 pm, "peterpeter" notifications@github.com wrote:

@pe7er https://github.com/pe7er Did you checked, not to leave some

orphans in language files, as you just changed the xml files?

This comment was created with the J!Tracker Application
https://github.com/joomla/jissues at issues.joomla.org/joomla-cms/8336
https://issues.joomla.org/tracker/joomla-cms/8336.


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

avatar infograf768
infograf768 - comment - 14 Nov 2015

The reason why we do not delete obsolete language strings is well known: the language packs may be updated on an older Joomla 3.x version which would need the strings.

avatar FeikeMulder FeikeMulder - test_item - 12 Dec 2015 - Tested successfully
avatar FeikeMulder
FeikeMulder - comment - 12 Dec 2015

I have tested this item :white_check_mark: successfully on 8d97566

Tested all filters in testinsructions


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

avatar bertmert
bertmert - comment - 12 Dec 2015

Just a thought. I wonder about that there are no labels for e.g. screen readers for these dropdowns at all, also before patch.
I'm not an expert concerning accessibility but if there should be hints I think language placeholders shouldn't be removed as long this is not clarified. Is it?

avatar superknutsel superknutsel - test_item - 12 Dec 2015 - Tested successfully
avatar superknutsel
superknutsel - comment - 12 Dec 2015

I have tested this item :white_check_mark: successfully on 8d97566

@test tested successfully on instructed fields.


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

avatar roland-d
roland-d - comment - 12 Dec 2015

@bertmert a very good point. I think we should have either titles set on the dropdowns based on the description label or have a tooltip appear on them. So I am not in favor of this PR but should be improved by showing this information in another way.

screen shot 2015-12-12 at 15 59 06

avatar brianteeman brianteeman - change - 10 Mar 2016
Category Administration Administration Fields
avatar brianteeman
brianteeman - comment - 18 Mar 2016

The issue of there being labels for the screen readers is beyond the scope of this PR. Please create a new issue for that -i am sure there are lots of a11y improvements that can be made everywhere.


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

avatar brianteeman brianteeman - change - 18 Mar 2016
Milestone Added:
Status Pending Ready to Commit
avatar brianteeman brianteeman - change - 18 Mar 2016
Milestone Added:
avatar brianteeman
brianteeman - comment - 18 Mar 2016

RTC


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

avatar joomla-cms-bot joomla-cms-bot - change - 18 Mar 2016
Labels Added: ?
avatar Fedik
Fedik - comment - 18 Mar 2016

I would leave these labels as is ... they not used in current template, but maybe somewhere in future, or in someone costume template?
just thought :smiley:

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

@pe7er can you check the merge conflicts, thanks

avatar rdeutz rdeutz - change - 15 Apr 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-04-15 05:41:55
Closed_By rdeutz
avatar rdeutz rdeutz - close - 15 Apr 2016
avatar rdeutz rdeutz - merge - 15 Apr 2016
avatar joomla-cms-bot joomla-cms-bot - close - 15 Apr 2016
avatar rdeutz rdeutz - merge - 15 Apr 2016
avatar rdeutz rdeutz - close - 15 Apr 2016
avatar joomla-cms-bot joomla-cms-bot - change - 15 Apr 2016
Labels Removed: ?
avatar rdeutz
rdeutz - comment - 15 Apr 2016

@pe7er I resolved the merge conflicts, maybe you can check if all is good.

avatar rdeutz
rdeutz - comment - 15 Apr 2016

had to revert the commit, sorry

avatar roland-d
roland-d - comment - 16 Apr 2016

@rdeutz Is this reverted? The PR still says merged.

avatar mbabker
mbabker - comment - 16 Apr 2016

It'll always say merged because the PR was merged, even if a later commit reverts the merge commit or any commit that's part of the PR.

avatar rdeutz rdeutz - change - 1 May 2016
Milestone Removed:
avatar rdeutz rdeutz - change - 1 May 2016
Milestone Added:
avatar rdeutz rdeutz - change - 1 May 2016
Milestone Added:
avatar rdeutz rdeutz - change - 1 May 2016
Milestone Removed:
avatar pe7er
pe7er - comment - 7 May 2016

Please close this issue. I've created a new PR: #10271

avatar pe7er
pe7er - comment - 7 May 2016

btw Thanks @bertmert for your comment regarding accessibility.
In the new PR I've untouched the labels for future use regarding a11y...

avatar brianteeman
brianteeman - comment - 7 May 2016

Add a Comment

Login with GitHub to post a comment