? ? Pending

User tests: Successful: Unsuccessful:

avatar eopws
eopws
16 May 2021

Pull Request for Issue #33898.

Summary of Changes

Span added when image is not set in order to add margin.

Testing Instructions

Go to the Admin Menu module (control panel), select the Help Dashboard preset in the settings and evaluate the main page of the control panel.

Actual result BEFORE applying this Pull Request

The items in left menu have no left margin.

Expected result AFTER applying this Pull Request

The items in left menu have margin.

avatar eopws eopws - open - 16 May 2021
avatar eopws eopws - change - 16 May 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 May 2021
Category Modules Administration
avatar eopws eopws - change - 16 May 2021
Labels Added: ?
avatar Kostelano Kostelano - test_item - 16 May 2021 - Tested successfully
avatar Kostelano
Kostelano - comment - 16 May 2021

I have tested this item successfully on c64cc36


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

avatar RickR2H RickR2H - test_item - 16 May 2021 - Tested successfully
avatar RickR2H
RickR2H - comment - 16 May 2021

I have tested this item successfully on c64cc36


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

avatar brianteeman
brianteeman - comment - 17 May 2021

Good idea

<span aria-hidden="true" class="icon-whatever icon-fw"></span>

Or even simpler

<span aria-hidden="true" class="icon-fw"></span>

and then someone in a years time wont try and fix icon-whatever

avatar richard67 richard67 - alter_testresult - 17 May 2021 - Kostelano: Tested successfully
avatar richard67 richard67 - alter_testresult - 17 May 2021 - RickR2H: Tested successfully
avatar richard67
richard67 - comment - 17 May 2021

I've restored the previous test results in the issue tracker since the commit which invalidated them was only a change of a comment.

@eopws Could you have a look on the suggestions above? I think they could be a good improvement for this PR here. Especially see #33923 (comment) . Thanks in advance.

avatar eopws
eopws - comment - 17 May 2021

Could you have a look on the suggestions above?

Yes. I'm currently working on this.

avatar eopws
eopws - comment - 17 May 2021

IMHO, $itemImage = '<span class="icon-angle-double-right icon-fw" aria-hidden="true"></span>'; is better.

avatar richard67
richard67 - comment - 17 May 2021

IMHO, $itemImage = '<span class="icon-angle-double-right icon-fw" aria-hidden="true"></span>'; is better.

But then you have to change it to <span class="icon-angle-double-left icon-fw" aria-hidden="true"></span> if the current language has RTL direction.

avatar eopws
eopws - comment - 17 May 2021

Seems to work with new commit, but, please, test it.

avatar richard67
richard67 - comment - 17 May 2021

@eopws Now it just needs to adjust the description, section "Expected result AFTER applying this Pull Request", to these changes.

avatar eopws eopws - change - 17 May 2021
The description was changed
avatar eopws eopws - edited - 17 May 2021
avatar brianteeman
brianteeman - comment - 17 May 2021

Not a fan of adding the icon like this. @infograf768 is correct in making it an empty space. The code required to switch between rtl and ltr is simply not justified

avatar richard67
richard67 - comment - 17 May 2021

Not a fan of adding the icon like this. @infograf768 is correct in making it an empty space. The code required to switch between rtl and ltr is simply not justified

I agree with this statement.

avatar Quy
Quy - comment - 17 May 2021

It is distracting to see so many arrows.

avatar eopws eopws - change - 17 May 2021
The description was changed
avatar eopws eopws - edited - 17 May 2021
avatar eopws
eopws - comment - 17 May 2021

Arrows changed to empty space. Please, test.

avatar Kostelano Kostelano - test_item - 17 May 2021 - Tested successfully
avatar Kostelano
Kostelano - comment - 17 May 2021

I have tested this item successfully on e139cd2

Looks good, thanks.


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

Screenshot_1

Screenshot_2

avatar infograf768 infograf768 - test_item - 17 May 2021 - Tested successfully
avatar infograf768
infograf768 - comment - 17 May 2021

I have tested this item successfully on e139cd2


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

avatar infograf768 infograf768 - change - 17 May 2021
Status Pending Ready to Commit
avatar infograf768
infograf768 - comment - 17 May 2021

rtc


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

avatar richard67 richard67 - change - 17 May 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-05-17 18:21:38
Closed_By richard67
Labels Added: ?
avatar richard67 richard67 - close - 17 May 2021
avatar richard67 richard67 - merge - 17 May 2021
avatar richard67
richard67 - comment - 17 May 2021

Thanks!

Add a Comment

Login with GitHub to post a comment