? ? Pending

User tests: Successful: Unsuccessful:

avatar ciar4n
ciar4n
2 Feb 2021

Pull Request for Issue # .

Summary of Changes

Wraps individual mod-articles-news items to allow some kind of styling (default layout)

Testing Instrauctions

Code Review

Before

image

After

image

avatar ciar4n ciar4n - open - 2 Feb 2021
avatar ciar4n ciar4n - change - 2 Feb 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 2 Feb 2021
Category Modules Front End
avatar ciar4n ciar4n - change - 3 Feb 2021
The description was changed
avatar ciar4n ciar4n - edited - 3 Feb 2021
avatar ceford ceford - test_item - 3 Feb 2021 - Tested successfully
avatar ceford
ceford - comment - 3 Feb 2021

I have tested this item successfully on 32f0efe

Why the double underline: class="mod-articlesnews__item" ? Should the article class be an Option parameter?


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

avatar drmenzelit
drmenzelit - comment - 3 Feb 2021

@ceford the double underline in css classes is following the BEM methodology: http://getbem.com/naming/

Which article class do you mean?

avatar ciar4n
ciar4n - comment - 3 Feb 2021

Why the double underline: class="mod-articlesnews__item" ?

This would be typical of BEM class naming which was adopted in #20147

Should the article class be an Option parameter?

The current Module Class would cover all requirements for applying style to these items

avatar ceford
ceford - comment - 3 Feb 2021

Thanks for the info on BEM. I learned something today!

Should the article class be an Option parameter?

What I meant was: should class="mod-articlesnews__item" be hard-coded to this name or should it be a parameter filled out by the user in the Articles - Newsflash Advanced tab. No need to answer - it was a passing thought.

avatar richard67
richard67 - comment - 4 Feb 2021

@ciar4n Why only for the default layout (sorry if silly question)?

avatar ciar4n
ciar4n - comment - 4 Feb 2021

@richard67 The other layouts put each item as a list item which makes them manageable. It was only the default layout that had all content flat in a single div.

avatar richard67
richard67 - comment - 4 Feb 2021

@richard67 The other layouts put each item as a list item which makes them manageable. It was only the default layout that had all content flat in a single div.

I see. Yes, I can confirm they are all lists. Thanks for feedback.

avatar richard67 richard67 - test_item - 4 Feb 2021 - Tested successfully
avatar richard67
richard67 - comment - 4 Feb 2021

I have tested this item successfully on 32f0efe

Beside code review I've tested the default layout also in a real test and can confirm it looks the same with and without the PR.


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

avatar richard67 richard67 - change - 4 Feb 2021
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 4 Feb 2021

RTC


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

avatar richard67 richard67 - change - 4 Feb 2021
Labels Added: ? ?
avatar Quy Quy - change - 4 Feb 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-02-04 19:02:16
Closed_By Quy
Labels
avatar Quy Quy - close - 4 Feb 2021
avatar Quy Quy - merge - 4 Feb 2021
avatar Quy
Quy - comment - 4 Feb 2021

Thanks

avatar ciar4n
ciar4n - comment - 4 Feb 2021

Thank you

Add a Comment

Login with GitHub to post a comment