Skip to content

Settings: ask before leaving a page with unsaved changes #6672

Closed

Description

@Astro-Han

Only Connections asks before discarding unsaved edits. Elsewhere in the settings dialog, unsaved changes are dropped without a prompt:

  • General: global instructions, compaction prompt, prediction settings
  • MCP servers: the server editor
  • Plugins: a plugin's settings

Edits are lost on each way of leaving: Back, switching sections in the rail, and closing the dialog.

Expected: leaving a page with unsaved changes asks once ("Keep editing" / "Discard") and leaves only after Discard. Leaving a page with no changes does not prompt.

Noted during the review of #6670. That PR removed this rule from DESIGN.md until it is implemented.

Activity

  1. YongGoose commented on Nov 7, 2026

    @YongGoose
    Member

    take

  2. added a commit that references this issue on Nov 9, 2026
    75fe3d0
  3. YongGoose commented on Nov 22, 2026

    @YongGoose
    Member

    Fixed by #6683, merged into rust-preview as 75fe3d0. GitHub didn't close this automatically because rust-preview isn't the default branch, and I don't have permission to close it. Could someone close it as completed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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