Skip to content

Bug: Removing a favorite overwrites live message state with stale snapshot #2871

@Allaoua9

Description

@Allaoua9

Describe the bug
When a user marks a message as a favorite and later removes it from their favorites list using the trash icon, the chat history partially disappears: all the assistant's replies that came after the unfavorited message (up to the next thing the user sent) vanish from the screen. The conversation is not actually lost — refreshing the page brings everything back — but it creates a jarring and confusing experience where the chat appears broken after a simple favorites management action.

To Reproduce

  1. Start a conversation and send a user message.
  2. Wait for the assistant to fully respond (so it has nested steps/tool calls beneath the user message).
  3. Click the star/favorite button on the user message to favorite it.
  4. Send another user message and wait for the assistant to respond again (so there are now multiple exchanges).
  5. Open the favorites popover (star button in the composer).
  6. Click the trash icon next to the favorited message to remove it from favorites.

Screenshots

Image Image

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions