PR-6.0-dev Pending

User tests: Successful: Unsuccessful:

avatar chmst
chmst
11 Aug 2024

Pull Request for Issue # .
This Pull request rewrites the #35228 as meanwhile many changes were made.

The purpose of theis PR is to merge the "featured" articles into the articles classes and remove duplicate code from com_content
This PR changes only the backend, nothing in frontend.

Summary of Changes

See PR #35228
Additionally the quickicon "featured".

Testing Instructions

as described in #35228, plus a view on quickicons

If you test on an existing site, please do this as first step:

UPDATE #__menu
SET link = 'index.php?option=com_content&view=articles&featured=1'
WHERE link = 'index.php?option=com_content&view=featured'
AND client_id = 1;

Actual result BEFORE applying this Pull Request

Expected result AFTER applying this Pull Request

See PR #35228

Link to documentations

Please select:

  • Documentation link for docs.joomla.org: help doc and tbd

  • No documentation changes for docs.joomla.org needed

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

  • No documentation changes for manual.joomla.org needed

avatar chmst chmst - open - 11 Aug 2024
avatar chmst chmst - change - 11 Aug 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Aug 2024
Category SQL Administration com_admin Postgresql com_content com_menus Modules
avatar chmst chmst - change - 11 Aug 2024
The description was changed
avatar chmst chmst - edited - 11 Aug 2024
avatar chmst chmst - change - 11 Aug 2024
The description was changed
avatar chmst chmst - edited - 11 Aug 2024
avatar chmst chmst - change - 11 Aug 2024
The description was changed
avatar chmst chmst - edited - 11 Aug 2024
e97f37c 11 Aug 2024 avatar chmst cs
avatar chmst chmst - change - 11 Aug 2024
Labels Added: PR-6.0-dev
avatar richard67
richard67 - comment - 11 Aug 2024

@chmst There are still code style issues, e.g. unused imports (use statements) to be removed. Unfortunately many of them are outside of what can be done with a code change suggestion on GitHub, so I can't help with suggestions here. See the log here: https://ci.joomla.org/joomla/joomla-cms/78000/1/7 . If necessary I can help tomorrow after work. Would be good to get the phpcs fixed so the system tests will be started in Drone.

avatar brianteeman
brianteeman - comment - 11 Aug 2024

I thought the policy was deprecated in x and removed in x+2 ?

10532bc 12 Aug 2024 avatar chmst cs
10ff935 12 Aug 2024 avatar chmst cs
796a00d 12 Aug 2024 avatar chmst cs
de442db 13 Aug 2024 avatar chmst cs
2a3a615 14 Aug 2024 avatar chmst cs
avatar richard67
richard67 - comment - 20 Aug 2024

@chmst Does this PR replace PR #35228 ? If yes, shall we close the latter?

And could you check the conflicting files? I think the conflicts come from PRs #43323 and #43512 , but I don't have the time now to check in detail.

avatar richard67
richard67 - comment - 20 Aug 2024

@chmst I've allowed myself to fix the conflicts. Please check the result.

avatar fgsw
fgsw - comment - 21 Aug 2024
  1. Full prebuilt package installation.
  2. Blog sample data installation failed (red There is an error in a sample data plugin. Response is invalid.)
  3. Saving new Article:
    UntitledArticle not saved.
avatar obuisard
obuisard - comment - 27 Aug 2024

The PR has the support of the Enhancement Development team. This is still something the team wants to talk to the maintenance team and the release managers for 6.0 about: we do think it would make future changes to the core simpler if this PR was merged early on and tested throughout the 6.0 pre-release cycle.

avatar brianteeman
brianteeman - comment - 27 Aug 2024

@obuisard thats what is always said and the fixes never happen. Once it is merged then the people behind it move on to other things.

avatar obuisard
obuisard - comment - 24 Sep 2024

Adding the following code in the DisplayController will prevent old URLs to fail with 500 error but be redirected to the 'articles' view instead.

if ($view == 'featured') {
    $this->setRedirect(Route::_('index.php?option=com_content&view=articles&featured=1', false));
    return false;
}
avatar chmst
chmst - comment - 24 Sep 2024

Just started a new Installation. I think that the first select "All" is not self-explaining.
grafik

Would "featured / unfeatured " be better? The text is rather long especially in other languages.
or " - select featured - " ?

avatar richard67
richard67 - comment - 24 Sep 2024

@chmst Could you check the conflict in file „administrator/components/com_content/tmpl/featured/default.php“? I think it comes from #44053 .

avatar obuisard
obuisard - comment - 24 Sep 2024

Just started a new Installation. I think that the first select "All" is not self-explaining.
Would "featured / unfeatured " be better? The text is rather long especially in other languages. or " - select featured - " ?

In my opinion, " - select featured - ", "featured", "unfeatured" sounds better.

Add a Comment

Login with GitHub to post a comment