Success

User tests: Successful: Unsuccessful:

avatar N6REJ
N6REJ
20 Apr 2020

Pull Request for Issue # .

Summary of Changes

changes icon names to be fa compliant

Testing Instructions

see joomla/joomla-cms#28075

avatar N6REJ N6REJ - open - 20 Apr 2020
avatar richard67
richard67 - comment - 20 Apr 2020

Works when joomla/joomla-cms#28075 is applied to the CMS.

So this here should not be merged before joomla/joomla-cms#28075 into the 4.0-dev branch of the CMS.

avatar richard67
richard67 - comment - 6 Jul 2020

@N6REJ This PR works, but the icon of the "Reset" button is also shown without this PR. The reason might be some magic icon to fa class mapping done in the toolbar helper for that icon. Wouldn't it be more consistent to add such mapping also for the "Fetch Data" button (icon-refresh to fas fa-sync)? If so, please make a PR for the CMS. We could use the patchtester for testing it as long as this PR here is not merged.

Without PR:
j4-patchtester-icons-before

j4-patchtester-icons-before_2

With PR:
j4-patchtester-icons-after

avatar N6REJ
N6REJ - comment - 7 Jul 2020

@richard67 I looked over this today but I'm having a hard time thinking today.. There seems to be more going on then I'm seeing today. I'll get back to this in the next day to 2.

avatar N6REJ
N6REJ - comment - 8 Jul 2020

@richard67 ok, so the bigger problem is the non-use of toolbar grid like J! 4.0 uses it.
image
you'll notice the "icon" in both. This is due to toolbar grid not using the changes in 4.0 that were merged recently. W/o this being fixed the rest can't be fixed properly.

avatar N6REJ
N6REJ - comment - 8 Jul 2020

@N6REJ This PR works, but the icon of the "Reset" button is also shown without this PR. The reason might be some magic icon to fa class mapping done in the toolbar helper for that icon. Wouldn't it be more consistent to add such mapping also for the "Fetch Data" button (icon-refresh to fas fa-sync)? If so, please make a PR for the CMS. We could use the patchtester for testing it as long as this PR here is not merged.

You lost me here.... Not sure what needs a pr.
is joomla/joomla-cms#30053 what you mean?

avatar richard67
richard67 - comment - 8 Jul 2020

Yes.

avatar N6REJ
N6REJ - comment - 9 Jul 2020

how in the world is icon- still being the default class?

avatar richard67
richard67 - comment - 9 Jul 2020

Don't know for sure. But at least it should still work for 3rd party stuff.

avatar N6REJ
N6REJ - comment - 10 Jul 2020

cept it's mucking with the mapping.. there is no such thing as icon-sync

avatar N6REJ
N6REJ - comment - 10 Jul 2020

I wish I understand how he's creating the grid.. doesn't seem like it's the right way

avatar richard67
richard67 - comment - 11 Jul 2020

cept it's mucking with the mapping.. there is no such thing as icon-sync

@N6REJ But there is icon-refresh to be mapped to fas fa-sync, see my comment above.

avatar richard67
richard67 - comment - 13 Jul 2020

@roland-d This one here can be merged now. I've just tested and it works, the icon of the "Fetch Data" button is fixed.

avatar roland-d roland-d - change - 23 Jul 2020
Status New Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-07-23 20:11:06
Closed_By roland-d
avatar roland-d roland-d - close - 23 Jul 2020
avatar roland-d roland-d - merge - 23 Jul 2020
avatar roland-d roland-d - reference | 9b0aea9 - 23 Jul 20
avatar roland-d roland-d - merge - 23 Jul 2020
avatar roland-d roland-d - close - 23 Jul 2020
avatar N6REJ N6REJ - head_ref_deleted - 23 Jul 2020

Add a Comment

Login with GitHub to post a comment