-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[4.3] Migrate most components to the new toolbar api #39537
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
Conversation
|
I have tested this item 🔴 unsuccessfully on b4bab7d This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39537. |
|
IDs look fairly fixed. I can rebase this to 5.0 I guess - Depends how much we think IDs are a major b/c break in the backend. It's only the delete button that has the changed ID right? |
|
@wilsonge what you mean with cache toolbar in the test instructions? Is just test the toolbar of each component right? Sorry for ask, just testing this PR, and for avoid do it wrong. |
|
Yes. Sorry originally the PR was just over com_cache but then I worked on some more components so need to update the instructions |
|
Final batch of components migrated. I suggest we test functionality here and I'll leave it to @joomla/cms-maintainers to decide if it needs to go to 4.3 or 5.0 and I'll happily rebase it to 5.0 if the IDs are deemed a concern. |
|
|
@wilsonge com_installer -> view=manage The button Install Extension: Undefined variable $url in ..www\bugtesting\joomla-cms\layouts\joomla\toolbar\link.php on line 34 |
|
Fixed! |
administrator/components/com_associations/src/View/Association/HtmlView.php
Outdated
Show resolved
Hide resolved
…/HtmlView.php Co-authored-by: Quy <[email protected]>
|
I have tested this item ✅ successfully on 4198356 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39537. |
administrator/components/com_contact/src/View/Contacts/HtmlView.php
Outdated
Show resolved
Hide resolved
administrator/components/com_config/src/View/Component/HtmlView.php
Outdated
Show resolved
Hide resolved
administrator/components/com_categories/src/View/Category/HtmlView.php
Outdated
Show resolved
Hide resolved
administrator/components/com_finder/src/View/Filter/HtmlView.php
Outdated
Show resolved
Hide resolved
administrator/components/com_templates/src/View/Template/HtmlView.php
Outdated
Show resolved
Hide resolved
administrator/components/com_content/src/View/Featured/HtmlView.php
Outdated
Show resolved
Hide resolved
…w.php Shorter expression Co-authored-by: Quy <[email protected]>
…w.php Translated with 'close' by default Co-authored-by: Quy <[email protected]>
…View.php Translated with 'close' by default Co-authored-by: Quy <[email protected]>
Translated with 'close' by default Co-authored-by: Quy <[email protected]>
administrator/components/com_installer/src/View/Manage/HtmlView.php
Outdated
Show resolved
Hide resolved
…w.php short version Co-authored-by: Quy <[email protected]>
short version Co-authored-by: Quy <[email protected]>
|
I have tested this item ✅ successfully on 661f0b1 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39537. |
1 similar comment
|
I have tested this item ✅ successfully on 661f0b1 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39537. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39537. |
|
Thank you George @wilsonge for this PR! |
Pull Request for Issue #39537 .
You can't have two buttons with the same text that do different things. I am assuming that this change was made in error by @wilsonge in joomla#39537 ### Joomla 4.29 ### Joomla 4.3 before this PR ### Joomla 4.3 after this PR
You can't have two buttons with the same text that do different things. I am assuming that this change was made in error by @wilsonge in #39537 ### Joomla 4.29 ### Joomla 4.3 before this PR ### Joomla 4.3 after this PR Co-authored-by: Quy <[email protected]>
The convention is that when it is a NEW item then its a cancel button and when editing an item its a close button. During the updates in joomla#39537 it looks like @wilsonge missed a few changes etc
Summary of Changes
Migrate the majority of core components towards the new toolbar API (notably I'm skipping Joomla Update as part of this PR and the use of ToolbarHelper::modal in com_templates views which probably need to be moved to the popupButton - but that's a bigger piece of work for another PR)
Testing Instructions
Check all the toolbar icons work the same before and after the patch is applied across all backend components
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:
No documentation changes for manual.joomla.org needed