Skip to content

Edit warning dialog appears on every edit #6058

@KJ7LNW

Description

@KJ7LNW

What happened?

When editing a message, the user is shown a warning dialog. Currently, this dialog appears every time a message is edited, even if the user has already seen it in the current session. This creates a frustrating user experience when editing multiple messages.

Expected behavior

The warning dialog should only appear the first time a user edits a message in a session. Subsequent edits should not show the dialog again until the VS Code window is reloaded.

Steps to reproduce

  1. Edit a message by clicking the edit button
  2. Confirm the warning dialog and make your edit
  3. Edit another message
  4. Notice that the warning dialog appears again, even though you've already seen it

Additional context

The warning dialog is important for first-time edits, but becomes redundant and frustrating when editing multiple messages in the same session.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions