mdn / mdn/shared-assets

Maintain JSON file with information about all available shared-assets

Open
#88 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs triage
Dominant language
Mermaid
Stars
28
Forks
18
Avg merge
10h 39m
Merged PRs (30d)
1

Description

From https://github.com/mdn/rari/pull/456:

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.

Also:

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the referenced mdn/rari pull request 456 and its review discussion to understand the requested shared-assets metadata. Inspect the shared-assets repository structure to identify how assets are tracked. Done means the repository automatically maintains a JSON file containing information about all available assets, including dimensions useful for preventing layout shifts.

Written by the indexing model from the issue text.

Assessment

Tech stack
json
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.