? ? Success

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
30 Apr 2016

Summary of Changes

This PR makes some changes to com_templates list views (styles and templates):

  1. For consistency, align com_templates list views with other views that have a location selector (modules, cache, installed languages) by adding the client selector (Site/Administrator) and removing the location (client) from ordering, columns and filters.

  2. Adds a new filter menuitem (Pages) in styles view to show the template styles assigned to a particular menu item.

  3. Improves the "Assigned" column (now "Pages") so it will give more information and be more aligned with modules list view.

  4. Improves mobile view.

  5. Other minor code style and code improvements.

Styles view

Before PR

image

After PR

image

Templates view

Before PR

image

After PR

image

Testing Instructions

  1. Apply patch
  2. Go to Extensions -> Templates -> Styles, and do a general test of all options and filters. Test also mobile views. Test the new menuitem (Pages) filter
  3. Go to Extensions -> Templates -> Templates, and do a general test of all options and filters. Test also mobile views.
  4. Test also if works properly with 3ยบ party templates.
  5. Test the two views in hathor to.

Observations

Code reviews, comments and/or suggestions are welcomed.

avatar andrepereiradasilva andrepereiradasilva - open - 30 Apr 2016
avatar andrepereiradasilva andrepereiradasilva - change - 30 Apr 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 Apr 2016
Labels Added: ? ?
avatar brianteeman brianteeman - change - 30 Apr 2016
Category Components UI/UX
avatar brianteeman brianteeman - change - 30 Apr 2016
Labels
avatar brianteeman brianteeman - change - 30 Apr 2016
Labels
avatar brianteeman brianteeman - change - 30 Apr 2016
Category Components UI/UX Components Language & Strings UI/UX
avatar brianteeman brianteeman - change - 30 Apr 2016
Labels
avatar andrepereiradasilva andrepereiradasilva - change - 30 Apr 2016
Labels
avatar andrepereiradasilva
andrepereiradasilva - comment - 30 Apr 2016

humm, need to change hathor override too.

avatar andrepereiradasilva andrepereiradasilva - change - 30 Apr 2016
The description was changed
avatar andrepereiradasilva
andrepereiradasilva - comment - 30 Apr 2016

ok hathor working fine now.

avatar brianteeman
brianteeman - comment - 30 Apr 2016

Works great for Templates
Works great for Site Styles
But for Admin styles there are a few issues
1. there is still a filter for Select Page present which is not usable as it only shows site pages
2. you cant "assign" an admin template so the string should not be "not assigned"


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

avatar brianteeman brianteeman - test_item - 30 Apr 2016 - Tested unsuccessfully
avatar brianteeman
brianteeman - comment - 30 Apr 2016

I have tested this item :red_circle: unsuccessfully on 9408960


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

avatar brianteeman
brianteeman - comment - 30 Apr 2016

In fact the entire pages column is probably not useful in the admin styles view


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

avatar andrepereiradasilva
andrepereiradasilva - comment - 30 Apr 2016
  1. there is still a filter for Select Page present which is not usable as it only shows site pages

That is the same problem that exists in #9987
that i know of, there is no way to "say" in the xml to not show that filter when admin client is selected.
I can have a look on how is it possible to do this.

2 . you cant "assign" an admin template so the string should not be "not assigned"

You're right. I will remove this column in admin.

avatar joomla-cms-bot
joomla-cms-bot - comment - 30 Apr 2016

This PR has received new commits.

CC: @brianteeman


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

avatar andrepereiradasilva
andrepereiradasilva - comment - 30 Apr 2016

"2." solved

avatar brianteeman
brianteeman - comment - 30 Apr 2016

I can confirm point 2 is solved but with point 1 still there I would say we cant accept this PR yet


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

avatar andrepereiradasilva
andrepereiradasilva - comment - 30 Apr 2016

in theory it should be showon="client_id:0" but doesn't work. it seams searchtools doesn't process showon.

avatar joomla-cms-bot
joomla-cms-bot - comment - 30 Apr 2016

This PR has received new commits.

CC: @brianteeman


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

avatar andrepereiradasilva
andrepereiradasilva - comment - 30 Apr 2016

Now "1." should work too.

For this i add to change the filters to recognize showon attribute.

Check the code diff: 19ac9a5

Oh, and this change will also allow the other PR (#9987) to work in similiar way.

avatar brianteeman brianteeman - test_item - 1 May 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 1 May 2016

I have tested this item :white_check_mark: successfully on 9e9fcbd

GReat stuff


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

avatar Twincarb
Twincarb - comment - 1 May 2016

With Default Test data installed, Beez3 is assigned to 2 pages.
Is it possible that when I select Beez3 in the search dropdown that when I select "Select Page" dropdown that the only items that show are the one's for the template selected?

Apart from that it works really well and simplifies it logically


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

avatar ghazal ghazal - test_item - 1 May 2016 - Tested successfully
avatar ghazal
ghazal - comment - 1 May 2016

I have tested this item :white_check_mark: successfully on 9e9fcbd

@andrepereiradasilva
thanks for your hard work.


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

avatar brianteeman brianteeman - change - 1 May 2016
Status Pending Ready to Commit
Labels
avatar brianteeman
brianteeman - comment - 1 May 2016

RTC


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

avatar joomla-cms-bot joomla-cms-bot - change - 1 May 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 1 May 2016
Milestone Added:
avatar MATsxm MATsxm - test_item - 1 May 2016 - Tested successfully
avatar MATsxm
MATsxm - comment - 1 May 2016

I have tested this item :white_check_mark: successfully on 9e9fcbd

Great - thanks


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

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:40:23
Closed_By rdeutz
avatar rdeutz rdeutz - reference | f7bf7a2 - 2 May 16
avatar rdeutz rdeutz - merge - 2 May 2016
avatar rdeutz rdeutz - close - 2 May 2016
avatar andrepereiradasilva andrepereiradasilva - head_ref_deleted - 2 May 2016
avatar brianteeman brianteeman - change - 11 May 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment