Per-channel unread message badge: multi-constellation rollup and auto-select clearing

オープン
#396 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
react, typescript
領域
frontend

調査の方向性

The work lives in the meshflow-ui frontend, not this repo. Start with src/pages/protocol/ProtocolMessageHistoryPage.tsx, specifically the channel auto-select effect and the call to markAsReadForChannel, and check how it reacts to constellation switches. Before coding, the open design question (whether channel badges aggregate across constellations or stay scoped) needs a maintainer decision. Done means the auto-select path clears unread only on explicit selection or initial mount, and the constellation-level rollup is decided and implemented.

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

説明

Type: enhancement | Area: Messages / unread

Follow-up gap from the #279 work (protocol-scoped + per-channel unread badges).

Context

The messages page renders one constellation and one channel at a time (ProtocolMessageHistoryPage.tsx). Per-channel unread badges are therefore only visible for channels in the currently selected constellation. Unread on channels in other constellations still contributes to the protocol nav badge but has no per-channel surface until the user switches constellation.

The system currently runs effectively one constellation per protocol, so this is acceptable for now and is being accepted as a known gap rather than blocking #279.

Gaps to address later

  • Multi-constellation rollup: surface unread on constellation buttons (or a rollup badge) so unread in a non-active constellation is discoverable.
  • Per-channel badges across constellations: decide whether channel badges should aggregate or remain scoped to the active constellation.
  • Auto-select mark-as-read nuance: the messages page clears channel unread when auto-selecting the first channel. With a single constellation this is harmless, but with multiple constellations the channel auto-select effect (which also runs on constellation switch) must not blanket-clear unread for channels the user did not explicitly open. Scope markAsReadForChannel to genuine user selection + initial mount.

Related

  • meshflow-ui #279 (protocol + per-channel unread badges, channel button row)
  • Parent epic #341 (messages UI redesign)
主要言語
Python
スター
1
フォーク
0
平均マージ
1日 10時間
マージ済み PR(30日)
8

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pskillen/meshflow-api のほかの issue

pskillen/meshflow-api の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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