openfga / openfga/openfga.dev

Add a check that rejects images a certain size (e.g. 5MB)

Open
#633 7 comments 0 reactions 2 assignees View on GitHub

@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

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.