Skip to content
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

[5.2] Fix for missing Fulltext Image in Newsfeeds #38058

Open
wants to merge 31 commits into
base: 5.2-dev
Choose a base branch
from

Conversation

AndySDH
Copy link
Contributor

@AndySDH AndySDH commented Jun 14, 2022

As requested, Joomla 4.2 re-do of Pull Request #28195

Summary of Changes

Originally Joomla RSS Newsfeeds were completely missing the image_intro and image_fulltext. This was partially fixed with this PR: #11402

But that only introduced the image_intro, and forgot the image_fulltext.

So an article that had an image_fulltext would not use that image in the feed.

This PR simply adds the image_fulltext to the feed if the image_intro is empty, for both the category view and featured view.

@richard67
Copy link
Member

@AndySDH Could you fix the code style errors reported by drone here https://ci.joomla.org/joomla/joomla-cms/55308/1/6 ? Thanks in advance.

@AndySDH
Copy link
Contributor Author

AndySDH commented Jun 14, 2022

@richard67 Should be done :)

@richard67
Copy link
Member

@richard67 Should be done :)

@AndySDH Not really. There are still some complaints: https://ci.joomla.org/joomla/joomla-cms/55316/1/6

@richard67
Copy link
Member

@AndySDH
Copy link
Contributor Author

AndySDH commented Jun 14, 2022

Well it's going in circles a bit. If I take out those spaces, the indentation will look off. I'm not sure that's a valid complaint there, not sure.

@richard67
Copy link
Member

Well it's going in circles a bit. If I take out those spaces, the indentation will look off. I'm not sure that's a valid complaint there, not sure.

@AndySDH It is a valid complaint. The indentation of the “=“ and the lines below do not need to be aligned. Furthermore the lines below should be indented with tabs. I would also suggest to put the operators “?” and “:” of the ternaries to the beginning of a line and not the end of the previous line. And I would indent the 2nd ternary by one tab more than the first one. Maybe check how it is done elsewhere.

@Hackwar Hackwar added PBF Pizza, Bugs and Fun and removed Small A PR which only has a small change PBF Pizza, Bugs and Fun labels Aug 25, 2023
@joomla-cms-bot joomla-cms-bot removed Language Change This is for Translators NPM Resource Changed This Pull Request can't be tested by Patchtester labels Sep 6, 2023
@AndySDH AndySDH changed the base branch from 5.0-dev to 4.3-dev September 6, 2023 15:29
@HLeithner HLeithner changed the base branch from 4.3-dev to 5.1-dev September 30, 2023 22:51
@HLeithner
Copy link
Member

This pull request has been automatically rebased to 5.1-dev.

@AndySDH
Copy link
Contributor Author

AndySDH commented Oct 2, 2023

Hello, this needs some tests please!

@Quy Quy removed the Updates Requested Indicates that this pull request needs an update from the author and should not be tested. label Nov 3, 2023
@stimpsonjcat
Copy link

Confirmed this works. ✅
I created an article with only a full text image. Left the intro image blank. The feed now will show the full text image in the feed.

@stimpsonjcat
Copy link

I have tested this item ✅ successfully on b2d557e


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

@HLeithner HLeithner changed the base branch from 5.1-dev to 5.2-dev April 24, 2024 09:09
@HLeithner
Copy link
Member

This pull request has been automatically rebased to 5.2-dev.

@HLeithner HLeithner changed the title [5.0] Fix for missing Fulltext Image in Newsfeeds [5.2] Fix for missing Fulltext Image in Newsfeeds Apr 24, 2024
@AndySDH
Copy link
Contributor Author

AndySDH commented Jun 13, 2024

Hey there, can this please be merged?

@brianteeman
Copy link
Contributor

You need to fic the codestyle issues https://ci.joomla.org/joomla/joomla-cms/76705/1/7

@AndySDH
Copy link
Contributor Author

AndySDH commented Jun 13, 2024

How do I fix? Didn't it use to be automatic with the click of a button? Can't see it anymore

@brianteeman
Copy link
Contributor

How do I fix? Didn't it use to be automatic with the click of a button? Can't see it anymore

No you have to fix it in your branch and push the changes

@AndySDH
Copy link
Contributor Author

AndySDH commented Jun 13, 2024

And what is the fix I need to make? I can't tell from the phpcs log, it's not very clear.

Co-authored-by: Brian Teeman <brian@teeman.net>
@AndySDH
Copy link
Contributor Author

AndySDH commented Jun 13, 2024

Thank you, committed :)

@zero-24 zero-24 removed their request for review June 13, 2024 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet