Skip to content

Action Badge: Show GBR/RBR action pill at top of chat when action badge is above scroll window #86025

@MelvinBot

Description

@MelvinBot

Description

When you are in a chat that has an outstanding GBR/RBR (action badge), and the report action causing that badge is above the current scroll window, we should show a colored "pill" indicator at the top of the chat that scrolls the user directly to the relevant report action.

Current Behavior

Currently when you scroll backwards in a chat, we show a "pill" at the top indicating:

  • If you have unread messages "beneath" you, it links straight to the oldest unread message
  • If you are scrolled "too far" back, it shows a pill that links you to the bottom of the chat
Screen.Recording.2026-03-21.at.1.49.22.PM.mov
Image Image

Expected Behavior

Add a new pill behavior:

  • If there is an action badge above the current scroll window, show a green/red "Approve/Pay/Fix/etc" pill at the top of the screen with a "^" arrow
  • When clicked, it takes you straight to the row that is causing the LHN to have the "action badge"
  • The pill color should match the badge type (green for GBR, red for RBR)
  • The pill text should reflect the required action (e.g., "Approve", "Pay", "Fix", etc.)
  • The pill should take precedence over any other pill, so the order of priority is:
    • Action badge, if any.
    • If not, the unread badge, if there are unread message.
    • If not, the new message badge.

Context

This is the final piece of the GBR/RBR system — previously referred to as "Release 3: Show a GBR/RBR pill on the chat."

cc quinthar

Issue OwnerCurrent Issue Owner: @aimane-chnaif

Metadata

Metadata

Assignees

Labels

ImprovementItem broken or needs improvement.WeeklyKSv2

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions