code-corps / code-corps/code-corps-api
Add fallback for GitHub avatars when async processing
オープン
needs estimate
- 主要言語
- Elixir
- スター
- 234
- フォーク
- 82
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
# Problem
For the fallback:
- Rewrites the `cloudinary_image/5` fn signature to accept the `User`'s `github_avatar_url` in addition to the `cloudinary_public_id`
- In `CloudinaryUrl.for/5`, pattern match on the presence of a `github_avatar_url` in order to instead use the GitHub avatar URL as a fallback (with the right sizing options)
- Test the `ImagePresenter` and `CloudinaryUrl` modules accordingly
コントリビューションガイド
調査の方向性
cloudinary_image/5 関数、CloudinaryUrl.for/5、および issue で名前が挙げられている ImagePresenter と CloudinaryUrl のテストから始めてください。非同期処理中に github_avatar_url と cloudinary_public_id がどのように渡されるかを追跡し、その後、関連するテストを更新して GitHub アバターのフォールバックとそのサイズ指定オプションを検証してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- elixir
- 領域
- backend
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 65/100