Skip to content

chore(doc): ignore shared assets when handling images#456

Merged
LeoMcA merged 1 commit intomainfrom
ignore-shared-assets
Jan 14, 2026
Merged

chore(doc): ignore shared assets when handling images#456
LeoMcA merged 1 commit intomainfrom
ignore-shared-assets

Conversation

@caugner
Copy link
Contributor

@caugner caugner commented Dec 19, 2025

Description

Updates image handling to ignore shared assets.

Motivation

Prevent errors related to shared assets from showing up in content PR Review Companion comments like this one.

Additional details

It would be nice if the shared-assets repository automatically maintained a JSON file with information about all assets, but since we don't have that, we should better avoid these errors for now, as they're not actionable from a contributor's point of view.

Related issues and pull requests

@github-actions
Copy link
Contributor

790b43b was deployed to: https://rari-pr456.review.mdn.allizom.net/

Copy link
Member

@LeoMcA LeoMcA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice if the shared-assets repository automatically maintained a JSON file with information about all assets

Have you filed an issue for this? An advantage of this would be we could set the width/height attributes of these images in page (as this function does) to ensure no layout shifts

@LeoMcA LeoMcA merged commit 568a9a7 into main Jan 14, 2026
18 checks passed
@LeoMcA LeoMcA deleted the ignore-shared-assets branch January 14, 2026 12:00
@caugner
Copy link
Contributor Author

caugner commented Jan 14, 2026

Have you filed an issue for this?

Filed one now: mdn/shared-assets#88

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants