Language Change b/c break Removal PR-6.0-dev Pending

User tests: Successful: Unsuccessful:

avatar dgrammatiko
dgrammatiko
24 Feb 2025

Pull Request for Issue # .

Summary of Changes

  • B/C break
  • Drop Bootstrap::framework Since J4 any bootstrap (js) component should be specifically loaded, the framework fn was kept for compatibility

Testing Instructions

  • code review
  • Add HTMLHelper::_('bootstrap.framework'); somewhere in the index.php of the atum template
  • Check that all the BS components are registered

Screenshot 2025-02-24 at 11 43 22

Actual result BEFORE applying this Pull Request

Expected result AFTER applying this Pull Request

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org: PR

  • No documentation changes for manual.joomla.org needed

avatar dgrammatiko dgrammatiko - open - 24 Feb 2025
avatar dgrammatiko dgrammatiko - change - 24 Feb 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 Feb 2025
Category Repository Libraries NPM Change
avatar dgrammatiko dgrammatiko - change - 24 Feb 2025
Labels Added: NPM Resource Changed PR-6.0-dev
avatar dgrammatiko dgrammatiko - change - 24 Feb 2025
The description was changed
avatar dgrammatiko dgrammatiko - edited - 24 Feb 2025
avatar dgrammatiko dgrammatiko - change - 24 Feb 2025
The description was changed
avatar dgrammatiko dgrammatiko - edited - 24 Feb 2025
avatar dgrammatiko dgrammatiko - change - 24 Feb 2025
Labels Added: b/c break
avatar joomla-cms-bot joomla-cms-bot - change - 24 Feb 2025
Category Repository Libraries NPM Change Libraries
avatar dgrammatiko dgrammatiko - change - 24 Feb 2025
The description was changed
avatar dgrammatiko dgrammatiko - edited - 24 Feb 2025
avatar laoneo
laoneo - comment - 24 Feb 2025

Istead fo removing, I would move it to the compat plugin.

avatar dgrammatiko dgrammatiko - change - 24 Feb 2025
The description was changed
avatar dgrammatiko dgrammatiko - edited - 24 Feb 2025
avatar dgrammatiko dgrammatiko - change - 24 Feb 2025
The description was changed
avatar dgrammatiko dgrammatiko - edited - 24 Feb 2025
avatar dgrammatiko dgrammatiko - change - 24 Feb 2025
The description was changed
avatar dgrammatiko dgrammatiko - edited - 24 Feb 2025
avatar dgrammatiko dgrammatiko - change - 24 Feb 2025
Labels Removed: NPM Resource Changed
avatar joomla-cms-bot joomla-cms-bot - change - 24 Feb 2025
Category Libraries Libraries Front End Plugins
avatar Hackwar
Hackwar - comment - 24 Feb 2025

Do we have to add the deprecated tag to the methods in the compat plugin as well?

avatar dgrammatiko
dgrammatiko - comment - 24 Feb 2025

Do we have to add the deprecated tag to the methods in the compat plugin as well?

To me it feels redundant, as it will never show up in the IDE

avatar Hackwar
Hackwar - comment - 24 Feb 2025

I agree that it wont show up in the IDE, but it will prevent any discussions in the future about removal and deprecation if you move the tag from the old code also over to the new code.

avatar Hackwar
Hackwar - comment - 24 Feb 2025

Thank you!

avatar softforge
softforge - comment - 24 Feb 2025

@dgrammatiko I like this change and the addition to the compatibility plugin, to then remove it after.
Can you do as @HLeithner suggested and we can get testing done and merge it

avatar HLeithner
HLeithner - comment - 24 Feb 2025

the implementation in the b/c plugin is not optimal.

please add a new Class for this function and also an option to disable "all html helper functions" (do we have more?) and make it as option please.

avatar dgrammatiko
dgrammatiko - comment - 24 Feb 2025

please add a new Class

what namespace? is namespace Joomla\Plugin\Behaviour\Compat\HTML\Bootstrap ok?

and also an option

simple toggle should be ok here?

@softforge the first batch of requests is already done, I'll do the lest 2 later on (or tomorrow)

avatar HLeithner
HLeithner - comment - 24 Feb 2025

yes namespace is ok, we already have yes/no fields in the config. something like that

avatar joomla-cms-bot joomla-cms-bot - change - 24 Feb 2025
Category Libraries Front End Plugins Administration Language & Strings Libraries Front End Plugins
avatar dgrammatiko
dgrammatiko - comment - 24 Feb 2025
  • toggler added
  • moved to own class

Screenshot 2025-02-24 at 19 24 54

cdf7ddd 24 Feb 2025 avatar dgrammatiko cs
avatar dgrammatiko dgrammatiko - change - 24 Feb 2025
Labels Added: Language Change
6d685d3 24 Feb 2025 avatar dgrammatiko meh
6e63492 25 Feb 2025 avatar dgrammatiko cs
avatar dgrammatiko dgrammatiko - change - 27 Feb 2025
Labels Added: Removal
avatar Fedik Fedik - test_item - 27 Feb 2025 - Tested successfully
avatar Fedik
Fedik - comment - 27 Feb 2025

I have tested this item ✅ successfully on 30d3736


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

Add a Comment

Login with GitHub to post a comment