User tests: Successful: Unsuccessful:
This PR adds JSON response support to ArticlesController::featured() when format=json is requested, enabling smoother AJAX interactions.
The existing redirect flow for non-JSON requests is left unchanged to ensure backward compatibility.
It also introduces AJAX handling for toggling the featured (star) state directly from the articles list view.
After a successful toggle, the star icon and tooltip are updated instantly in the UI.
If the AJAX request fails for any reason, the system falls back to the default Joomla.listItemTask behavior.
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 |
Hi @richard67 sir, Could someone please take a look in this PR, whenever you're free? Thank you.
@SRV-KILLER09 No, sorry. I am not the only maintainer here, and as release manager for 5.4 I am already busy with things. Some other maintainers or the 6.2 release managers will check your PR when they find the time. Pinging me for each of your PRs annoys me, so please don't do that. Thanks.
Hi @richard67 sir,
Could someone please take a look in this PR, whenever you're free?
Thank you.