? ? Success

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
20 Apr 2016

Pull Request for Improvement.

Summary of Changes

This PR, as done in many other views, adds enabled/disabled users counting with links to com_users groups view.

Also:

  • Minor code style changes
  • Makes the delete validation js more portable (no php vars)
  • Adds missing no wraping columns
Before PR

image

After PR

image

Testing Instructions

  1. Use latest staging and apply this patch
  2. Go to "Users" -> "Groups"
  3. Test the users countings for each group
  4. Also create a group and assigna a user to that group, then try to delete that group. First js warning say yes, the second js say no and check the group is not deleted.
avatar andrepereiradasilva andrepereiradasilva - open - 20 Apr 2016
avatar andrepereiradasilva andrepereiradasilva - change - 20 Apr 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 20 Apr 2016
Labels Added: ? ?
avatar andrepereiradasilva andrepereiradasilva - change - 20 Apr 2016
Title
[com_users] groups view: Add enabled/diabled users counting
[com_users] groups view: Add enabled/disabled users counting
avatar andrepereiradasilva andrepereiradasilva - change - 20 Apr 2016
Title
[com_users] groups view: Add enabled/diabled users counting
[com_users] groups view: Add enabled/disabled users counting
avatar brianteeman brianteeman - test_item - 20 Apr 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 20 Apr 2016

I have tested this item :white_check_mark: successfully on 0c6a9e3

Tested ok but it seems a bit squashed and tight on the right hand side as shown in your screenshots


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

avatar brianteeman brianteeman - change - 20 Apr 2016
Category Components UI/UX
avatar brianteeman brianteeman - change - 20 Apr 2016
Labels
avatar MATsxm MATsxm - test_item - 20 Apr 2016 - Tested successfully
avatar MATsxm
MATsxm - comment - 20 Apr 2016

I have tested this item :white_check_mark: successfully on 0c6a9e3

thanks


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

avatar brianteeman
brianteeman - comment - 21 Apr 2016

@andrepereiradasilva could you have a look at increasing the column width please or something to increase the space between the count and the ID. Maybe its just a trick of the mind on a large screen as there are no other columns but they look very close together


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

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

This PR has received new commits.

CC: @brianteeman, @MATsxm


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

avatar andrepereiradasilva
andrepereiradasilva - comment - 21 Apr 2016

better?

image

If ok, no need to test again, just changed the columns titles

avatar brianteeman
brianteeman - comment - 21 Apr 2016

No not really. Adding the title would not be consistent with the other views

I was thinking more like changing the width from 1% to something like 5%

But maybe its just me


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

avatar andrepereiradasilva
andrepereiradasilva - comment - 21 Apr 2016

No not really. Adding the title would not be consistent with the other views

Yes it would. See the menus view.

image

avatar brianteeman
brianteeman - comment - 21 Apr 2016

ah

On 21 April 2016 at 11:11, andrepereiradasilva notifications@github.com
wrote:

No not really. Adding the title would not be consistent with the other
views

Yes it would. See the menus view.

[image: image]
https://cloud.githubusercontent.com/assets/9630530/14705501/cda1cce6-07b1-11e6-8bc1-ee37af2be2c2.png


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#10012 (comment)

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

avatar andrepereiradasilva
andrepereiradasilva - comment - 21 Apr 2016

BTW on mobile view the titles dissapear

avatar brianteeman brianteeman - test_item - 21 Apr 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 21 Apr 2016

I have tested this item :white_check_mark: successfully on 6c9eeac


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

avatar brianteeman
brianteeman - comment - 21 Apr 2016

OK - I will shut up and say thanks for the latest change ;)


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

avatar andrepereiradasilva
andrepereiradasilva - comment - 21 Apr 2016

ok i detected a problem in the counting, need to make some changes. sorry

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

This PR has received new commits.

CC: @brianteeman, @MATsxm


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

avatar andrepereiradasilva
andrepereiradasilva - comment - 21 Apr 2016

ok, so the counting wasn't working properly.
If you had 2 or more users enabled in the same group the result has "1".
With the latest commit (2c6d35c) that issue is corrected.

avatar andrepereiradasilva
andrepereiradasilva - comment - 21 Apr 2016

@brianteeman @MATsxm can you just retest the count of users part
Put two or more users in the same group and the same state and check if now the count is correct.

avatar brianteeman
brianteeman - comment - 21 Apr 2016

Will do tonight

avatar MATsxm MATsxm - test_item - 21 Apr 2016 - Tested successfully
avatar MATsxm
MATsxm - comment - 21 Apr 2016

I have tested this item :white_check_mark: successfully on 2c6d35c

Everything looks ok here, also with the counting system...
Thanks


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

avatar richard67 richard67 - test_item - 21 Apr 2016 - Tested successfully
avatar richard67
richard67 - comment - 21 Apr 2016

I have tested this item :white_check_mark: successfully on 2c6d35c


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

avatar brianteeman brianteeman - change - 21 Apr 2016
Status Pending Ready to Commit
Labels
avatar brianteeman
brianteeman - comment - 21 Apr 2016

RTC


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

avatar brianteeman brianteeman - change - 21 Apr 2016
Milestone Added:
avatar joomla-cms-bot joomla-cms-bot - change - 21 Apr 2016
Labels Added: ?
avatar rdeutz rdeutz - reference | d7bdf30 - 21 Apr 16
avatar rdeutz rdeutz - merge - 21 Apr 2016
avatar rdeutz rdeutz - close - 21 Apr 2016
avatar rdeutz rdeutz - change - 21 Apr 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-04-21 19:19:48
Closed_By rdeutz
Labels Added: ?
avatar andrepereiradasilva andrepereiradasilva - head_ref_deleted - 22 Apr 2016
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 brianteeman brianteeman - change - 11 May 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment