-
Notifications
You must be signed in to change notification settings - Fork 46
fix(#1866): optimize image sizes using Hextra cards for better responsive design #1942
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
base: main
Are you sure you want to change the base?
Conversation
… image size issues mentioned in medic#1866
|
Refinement: Reverted unrelated formatting changes to focus purely on image optimization per #1866. |
mrjones-plip
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@najuna-brian - thanks so much for taking initiative to improve our docs! It's always great to see a new PR come in 💯
I've commented on the first few items I found, but I'd like you to look at the rest of the images based on my initial input to ensure they've actually improved.
Do you use AI to generate your text? I ask because it has come up once before where you posted a long body of text and were requested to simplify it. Using AI is not an issue, but causing extra work for others is.
While not as bad this time, your PR body text is too long. AI generated text may take you seconds to generate, but it takes humans minutes, or longer, to read and make sure all text and it's meaning is accounted for.
Like the code in a PR, the body text should be just long enough communicate the changes to a review, but no longer. For example, you don't need to list the problem, that's what the ticket is for. Reviewers know how to test a docs PR. The files changes section in the body is a duplicate of the native Files changed section. If I were submitting this PR, I would use this text below. You're welcome to use it verbatim or see if you want to use your own word!
please update the PR body to be much, much shorter 🙏
This PR:
- uses Hextra cards to better size images shortcode per #1866.
- updates contacts, branding, targets, contact and image pages
| {{< figure src="branding_elements.png" link="branding_elements.png" class="center col-6 col-lg-8" >}} | ||
| {{< cards cols="1" >}} | ||
| {{< card image="branding_elements.png" method="Resize" options="600x q80 webp" >}} | ||
| {{< /cards >}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah i used ai to generate the PR
I will now keep the brief and on point as guided
Let me look at the changes i made again as well
Thank you @mrjones-plip
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great - thanks for being receptive to my feedback
|
Hi @najuna-brian! Did you have some time to review @mrjones-plip's feedback? Please don't hesitate to reach out if you have any questions. |

Description
Fixes oversized images across Build section by implementing Hextra cards shortcode as recommended in #1866.
License
The software is provided under AGPL-3.0. Contributions to this project are
accepted under the same license.