Skip to content

Bug: Pin Icon Not Appearing #6927

@deepak0x

Description

@deepak0x

When a user pins a message, the pin icon does not appear immediately on the message. The icon only appears when i close teh app and open again or starring the same message. This creates a poor user experience as users cannot immediately see visual confirmation that their pin action was successful.

Environment Information:

  • Rocket.Chat Server Version: NA
  • Rocket.Chat App Version: NA
  • Device Name: NA
  • OS Version: NA

Steps to reproduce:

  1. Open any channel or room in the mobile app
  2. Long-press on any message to open the action menu
  3. Select "Pin" from the action menu
  4. Observe that the pin icon does not appear on the message immediately
  5. close the app then open again
  6. Observe that the pin icon now appears on the message

Expected behavior:

The pin icon should appear immediately on the message after the user selects "Pin" from the action menu, providing instant visual feedback that the message has been pinned.

Actual behavior:

The pin icon does not appear immediately after pinning. Users must close the app and open again to see the pin icon, or perform another action (like starring) on the same message to trigger a UI refresh that displays the pin icon.

Screenshot:

Image

Additional context:

  • This issue affects the user experience as there's no immediate visual confirmation of the pin action
  • The pin functionality works correctly on the server side (messages are actually pinned)
  • The issue is purely a UI synchronization problem
  • Sometimes pinning a message and then starring it causes the pin icon to appear, suggesting a re-render issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions