Add a check that rejects images a certain size (e.g. 5MB)
Open
@rahulsunil2 is already working on this.
Since Sep 30, 2024.
CI
good first issue
- Dominant language
- TypeScript
- Stars
- 51
- Forks
- 105
- Avg merge
- 10h 35m
- Merged PRs (30d)
- 17
Description
In a recent blog, we accidentally added an image that is too big (> 12MB), this downgrades the experience of the reader as they will not see the image and they will still be downloading a lot in the background.
To prevent this, we'd like to add an action that would block introducing new images that are > a predetermined size (5MB to start)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.