User tests: Successful: Unsuccessful:
Pull Request for Issue #35342.
The proposed changes affect the class names that relate to an article. The purpose is to have simple, short and easy to remember class names in order to create more complex article layouts in an easier way (with the help of a few changes that I will also propose for custom fields).
Specifically:
For many years, I create websites with high quality templates from scratch (only with Joomla of course) and I don't use purchased templates. So I have faced many cases and requirements and I believe that the proposed changes make things way much better.
(At the bottom of the following closed pull request, you can find a useful chat: #36422)
Status | New | ⇒ | Pending |
Category | ⇒ | Front End com_content Layout |
I will stick by my original comments. These changes are just for personal preference. There are many ways to do things and you can't satisfy everyone all the time. Thats why we have template overrides
I don't think that the
|
is working the way you think it is...
I only want to use it as a symbol for separating the new classes from the old ones. According to StackOverflow, it will not break the code and of course it will not be used as a class. It is something like a comment in the classes.
and of course it will not be used as a class
Yes because it's a hack, that was my point. Personally, I would prefer not to fight with hacks imposed by the core installation but have solid class names that I can base/extend my work on
Already said: Best practice and easy to use are template overrides for own class names.
The important issue here is not if it is a personal recommendation, but if it is correct. Facing the issue by using template overrides doesn't mean that there is no problem or that there isn't any better solution than template overrides.
I didn't expect you to totally agree, but at least to admit that there is need to do some improvements. Maybe someone else has better ideas to add.
Did anybody check the code changes? Nobody said what is wrong.
It seems that in Joomla 5 we will create menus, articles and template overrides using voice and with the help of artificial intelligence, but we will still have the same classes: com-content-article__body, page-header, item-image, and article-info together with text-muted of course! :D:D:D
that there isn't any better solution than template overrides.
Actually Joomla users should ALWAYS use overrides for tweaking HTML
but at least to admit that there is need to do some improvements
The project decided to follow the BEM convention, your proposal is against that decision and actually reverts any work already done in the direction of adhering to BEM
Hi @impressionestudio thank your for your contributions, I really appreciate your work. But still the arguments from the people here are valid. When we change something then to a standard, not adding classes just because they are "short".
So I will close this PR.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-01-22 09:25:17 |
Closed_By | ⇒ | bembelimen | |
Labels |
Added:
?
?
|
I don't think that the
|
is working the way you think it is...