Skip to content

Add Task action badge for chats that have an outstanding task report #91525

@melvin-bot

Description

@melvin-bot

Description

Currently, workspace chats display action badges for several key report types:

  • Pay — when an IOU/expense report needs payment
  • Approve — when an expense report needs approval
  • Submit — when a report needs to be submitted
  • Fix — when a report has violations that need to be fixed

However, there is no corresponding Task badge for chats that have an outstanding task report. This should work the same way as the other action badges — displaying a visual indicator when a task report is assigned to or awaiting action from the current user.

Expected Behavior

Workspace chats with linked task reports should display a Task action badge in the LHN (Left Hand Navigation) when:

  • A task report is linked to the chat
  • The task is assigned to or awaiting action from the current user
  • The task is not yet completed

This would provide consistent visual feedback across all actionable report types.

Acceptance Criteria

  • Task badge appears in LHN for chats with outstanding task reports
  • Badge behavior matches other action badges (Pay, Approve, Submit, Fix)
  • Badge disappears when the task is completed
  • Works across web and mobile clients

Notes

This may also require ensuring that OpenApp returns sufficient task report data (specifically the linked taskReportID and task status) to enable badge rendering, similar to how iouReportID is needed for expense report badges.

Metadata

Metadata

Assignees

Labels

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