User tests: Successful: Unsuccessful:
Pull Request
This PR improves the publish/unpublish workflow for Articles and Featured lists by adding AJAX support. Users can now toggle statuses instantly without a full page reload, while the existing non-JavaScript redirect behavior is fully preserved for backward compatibility.
publish() in ArticlesController.php without changing the default redirect flow for non-JSON requests.articles-status.es6.js that:articles.* and featured.* publish taskspublish() in FeaturedController.php to avoid overriding redirects for JSON requests, ensuring proper AJAX handling.Please select:
Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | Administration com_content JavaScript Repository NPM Change |
| Labels |
Added:
Feature
NPM Resource Changed
PR-5.4-dev
|
||
| Title |
|
||||||
| Labels |
Added:
PR-6.2-dev
Removed: PR-5.4-dev |
||
I have Fixed the CI failure by removing the deprecated getErrors() call in ArticlesController::publish(). All 52 checks are now passing. Ready for review..
This pull request has conflicts, please resolve those before we can evaluate the pull request.
this should probably be closed as its covered by the larger ajaxify the admin project https://magazine.joomla.org/issues/2026/may-2026/joomla-summer-of-code
Although this is a bird in the bush versus a bird in the hand quandry, I agree with Brian: we need a solution that works for other components. It could be all JavaScript and may not be necessary to touch the existing controllers at all.
Although this is a bird in the bush versus a bird in the hand quandry, I agree with Brian: we need a solution that works for other components. It could be all JavaScript and may not be necessary to touch the existing controllers at all.
@SRV-KILLER09 Please check https://github.com/joomla/joomla-cms?tab=readme-ov-file#which-branch-should-my-pull-request-target . As this PR here is not a bug fix, it counts as new feature and so should be made for the 6.2-dev branch.