User tests: Successful: Unsuccessful:
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.
The Search Tools filter options should be tested for the following components:
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
Category | ⇒ | Administration |
Easy | No | ⇒ | Yes |
@pe7er Did you checked, not to leave some orphans in language files, as you just changed the xml files?
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).
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.
I have tested this item successfully on 8d97566
Tested all filters in testinsructions
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?
I have tested this item successfully on 8d97566
@test tested successfully on instructed fields.
Category | Administration | ⇒ | Administration Fields |
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.
Milestone |
Added: |
||
Status | Pending | ⇒ | Ready to Commit |
Milestone |
Added: |
Labels |
Added:
?
|
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
Milestone |
Removed: |
Milestone |
Added: |
Milestone |
Added: |
Milestone |
Removed: |
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 |
Labels |
Removed:
?
|
had to revert the commit, sorry
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.
Milestone |
Removed: |
Milestone |
Added: |
Milestone |
Added: |
Milestone |
Removed: |
I have tested this item successfully on 8d97566
Tested all filters in testinsructions.
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8336.