Skip to content

[4.0] Optimize code for aria-current#30328

Merged
wilsonge merged 2 commits intojoomla:4.0-devfrom
SharkyKZ:j4/micro/aria-current
Aug 10, 2020
Merged

[4.0] Optimize code for aria-current#30328
wilsonge merged 2 commits intojoomla:4.0-devfrom
SharkyKZ:j4/micro/aria-current

Conversation

@SharkyKZ
Copy link
Contributor

Summary of Changes

Some optimizations in mod_menu.
Moved code so it's not executed on removed menu items.

Testing Instructions

Browse around the frontend.
Check that aria-current attribute in mod_menu appears like before.

@ceford
Copy link
Contributor

ceford commented Aug 10, 2020

I have tested this item ✅ successfully on 877d80e

Confirmed - same instances of aria-current before and after applying patch. I deleted one menu item for this test.


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

@Quy
Copy link
Contributor

Quy commented Aug 10, 2020

I have tested this item ✅ successfully on 877d80e


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

@Quy
Copy link
Contributor

Quy commented Aug 10, 2020

RTC


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Aug 10, 2020
@wilsonge wilsonge merged commit c3aed49 into joomla:4.0-dev Aug 10, 2020
@wilsonge
Copy link
Contributor

Thanks!

@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Aug 10, 2020
@wilsonge wilsonge added this to the Joomla 4.0 milestone Aug 10, 2020
dgrammatiko added a commit to dgrammatiko/joomla-cms that referenced this pull request Aug 13, 2020
…om_templates

* '4.0-dev' of github.com:joomla/joomla-cms:
  Add closing quote (joomla#30353)
  [4.0] Make sure the renderer does not manipulate the inline CSS and JS (joomla#28719)
  [4.0] Atum and Cassiopea Change alerts styling - space saving + (joomla#30294)
  Update editor versions (joomla#30340)
  [4.0][mod_menu] Add space for 'menu class' (joomla#30341)
  Optimize code for aria-current (joomla#30328)
  [4.0] Composer and npm updates 10 Aug (joomla#30334)
  [4.0] fix js code style (joomla#30335)
sakiss pushed a commit to sakiss/joomla-cms that referenced this pull request Oct 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

Comments