[FEATURE] feat: Pinned Message Banner below chat header

Abierto
#1,383 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@deepak0x ya está trabajando en esto.

Desde el 23/10/2026.

  • #1384 de @Tisya-Gupta — abierto
  • #1398 de @deepak0x — abierto

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
javascript, react
Área
frontend

Línea de trabajo

Start from the ChatHeader component, since the banner must render directly below it, and from the ECOptions definition, where the showPinnedBanner flag would be added with a default of true. Read how the chat body scrolls to and highlights a message, and how real-time pin and unpin events reach the client. Done means the banner appears only when messages are pinned, cycles through them, scrolls to the selected message, and respects the flag. The issue spans several subsystems and has no linked pull request, so ask a maintainer before starting.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

As an EmbeddedChat developer

I need to:
Show a dismissible banner below the chat header that surfaces the current room's pinned messages, lets users navigate between them, and scrolls to the selected message in the chat body.

So That:
Participants are immediately aware of pinned content (announcements, rules, action items) without having to open the Pinned Messages sidebar, matching the discoverability behaviour of other mainstream chat clients.

Acceptance Criteria

  • A banner appears below the ChatHeader whenever the current room has one or more pinned messages; it is hidden when there are none.
  • The banner shows a pin icon, the text snippet of the currently displayed pinned message (truncated at ~80 characters with ellipsis), and the author's username.
  • When multiple messages are pinned, left/right arrow buttons cycle through them and a counter label (e.g. "2 / 5") reflects the current position.
  • Clicking the banner body scrolls the message list to the corresponding message and applies a brief highlight animation on that message.
  • A close (✕) button dismisses the banner for the current session without unpinning; it reappears on room change or page reload.
  • An ECOptions boolean flag (e.g. showPinnedBanner, default true) lets host applications hide the banner entirely.
  • The banner respects the active theme and is compatible with both the default flat layout and the Bubble message variant.
  • When a message is pinned or unpinned in real time the banner updates (or disappears) without a page reload.
Lenguaje dominante
JavaScript
Estrellas
171
Forks
421
Merge medio
3 d 6 h
PR fusionados (30 d)
4

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de RocketChat/EmbeddedChat

Todos los issues de RocketChat/EmbeddedChat

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.