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

Aperta
#396 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
react, typescript
Ambito
frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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)
Lingua principale
Python
Stelle
1
Fork
0
Merge medio
23h 9m
PR unite (30g)
15

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pskillen/meshflow-api

Tutte le issue di pskillen/meshflow-api

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.