-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.0] Articles frontend associations badges changed to buttons and more #32992
[4.0] Articles frontend associations badges changed to buttons and more #32992
Conversation
Thanks @infograf768 for the PR which i can not test cause |
@sandramay0905 You can test it by download update package for this PR https://ci.joomla.org/artifacts/joomla/joomla-cms/4.0-dev/32992/downloads/41573/Joomla_4.0.0-beta8-dev+pr.32992-Development-Update_Package.zip , go to System -> Update -> Joomla, open Upload & Update tab, select that package, click on Upload & Install button |
It seems wrong to me to be adding this class to the bootstrap file as that is really for overrides not for new classes I dont see why you are inventing a new class of btn-badge and then having to invent a new size when the badge size would be perfectly ok if that was used. The problem you are trying to solve here (as I understand it) is the current hover styling making the text unreadable and the underline. Both of those can be resolved purely in css without changing any markup and still only targeting the associations
|
I have tested this item ✅ successfully on 63e08b2 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32992. |
Indeed you don't. |
So please explain |
Please @drmenzelit explain to the guy. |
In Bootstrap 4 it was possible to use |
Which is what I said. As its not an override it should not be in the bootstrap override files but instead be in a component specific file in the pages folder such as _com_associatons |
I vote for overrides of the BS classes for the associations views. |
OK. Things are now clearer. Now, where do we add the new classes?
|
The other solution is to make sure we have a and then create the override for btn-secondary in the bootstap overrides
|
Modified PR to override btn-secondary and btn-sm instead of creating btn-badge and btn-vsm Same results. Modifying now description. |
Can be tested again. Needs NPM. |
@Quy |
Co-authored-by: Quy <quy@fluxbb.org>
I have tested this item 🔴 unsuccessfully on bff5a71
"Alternative Colour Theme" show like "Expected result AFTER applying this Pull Request":
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32992. |
@sandramay0905
I guess you had an issue when applying the PR. |
I used |
Please make a clean install of https://ci.joomla.org/artifacts/joomla/joomla-cms/4.0-dev/32992/downloads/41753/Joomla_4.0.0-beta8-dev+pr.32992-Development-Full_Package.zip I just checked that pack and it includes the correct css and modifiations in the php files |
i can only make a clean install of Joomla4 at launch.joomla.org and test. |
Then maybe use the same trick explained above |
Using this trick i found, what i wrote at #32992 (comment): The Info by Joomla |
no ideA. i never use that... |
i used it at other pr's and it worked. |
I have tested this item ✅ successfully on bff5a71 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32992. |
@infograf768 unsuccessfully test #32992 (comment) looks like a firefox-issue on mac.
|
@sandramay0905 Clean all your caches. |
@PhilETaylor |
then there is a failure on my side, sorry. |
This comment was marked as abuse.
This comment was marked as abuse.
@sandramay0905 Try clearing your browser's cache. |
I have tested this item ✅ successfully on bff5a71 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32992. |
RTC Tks for testing This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32992. |
Pull Request for Issue #32978
Summary of Changes
Using buttons instead of badges to display lang tags for articles associations.
(see f7833a4 as example)
Using full lang tag in button to let choose when we have the same language for different countries: de-DE, de-AT,
----EDIT: Creating btn-secondary and btn-sm overrides
Testing Instructions
Create a multilingual site with the specific sample data.
Create a list category for the category concerned by the associated articles per default.
Make sure Articles Options Associations are set and not use flags
Load Home page. Load list category menu item.
patch and test again.
Needs npm
Actual result BEFORE applying this Pull Request
Expected result AFTER applying this Pull Request
Note: may need some more concerning a11y