Skip to content

[Due for payment 2026-04-30] Action Badge: Fix deep link regression #86062

@quinthar

Description

@quinthar

Context

This is a follow-up to the Action Badge feature (expanding GBR/RBR with action badges in the Inbox/LHN). Two issues need to be addressed:

Fix deep link regression

Clicking on the LHN action badge is no longer correctly deep-linking to the report/action that triggered the badge. This was previously working but has regressed.

Expected behavior: Clicking the Inbox LHN should:

  1. If there is an action badge, deep link to the oldest actionable report (ie, the cause of the action badge)
    • Note: Expense threads can have a Fix action badge when there is a violation to resolve. This doesn't have a corresponding reportActionID, so can't be deep linked to directly. In this case, when clicking Fix on an expense with a violation, just open the report scrolled to the top so the expense is visible.
  2. Otherwise, if there are unread messages, deep link to the oldest unread message
  3. Otherwise, link to the bottom of the report

Note: This behavior is a little inconsistent due to a bunch of old historical decisions that predate the "super-wide report modal". Please verify that this behavior works correctly and consistently for all report types, including expense reports, expense threads, single-expense reports, etc.

Reference: Slack thread with details
https://github.com/user-attachments/assets/c114fdea-4267-4413-9877-c8210b537c62

Issue OwnerCurrent Issue Owner: @aimane-chnaif

Metadata

Metadata

Assignees

Labels

DailyKSv2ImprovementItem broken or needs improvement.

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