coder13 / coder13/LetsCube

Badge with number of unread messages

オープン
#35 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
JavaScript
スター
30
フォーク
9
PR マージ指標
30日以内にマージされた PR はありません

説明

Somehow determine if a message has been read. We can maybe do this by seeing if it got mounted.

Then just display a badge with the number of unread messages.

We could store the number of unread messages in redux, increment it when a message is received and then decrement it when the message gets rendered.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

この issue ではファイルやテストが指定されていません。まず、メッセージをレンダリングするコンポーネントと、メッセージ処理における Redux のエントリーポイントを見つけます。受信したメッセージがどのように既読になるのかを確認し、続いて、メッセージの到着時とレンダリング時にバッジのカウントが更新されることを検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, react, redux
領域
frontend
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

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

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