code-corps / code-corps/code-corps-api

Add fallback for GitHub avatars when async processing

オープン
#1,017 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。