Skip to content

Surface config save failures in the GUI #384

Description

@AprilNEA

state.rs's persist_and_reload and ~9 sibling sites treat save_atomic() failure as warn! + continue: the UI keeps the in-memory value, the user sees success, and the setting silently reverts on restart (read-only config dir, disk full, …).

Policy proposal: a one-shot, non-blocking notification (gpui-component has a toast/notification primitive) the first time a save fails, per outage — not per keystroke. Keeping the in-memory value and skipping the agent reload on failure stays as is (that ordering is deliberate and documented).

Needs a new user-facing string, i.e. an ordered-position insert across all 20 locale files plus Crowdin seeding — which is why it was split out of #381.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: configConfiguration files, persistence, and settingsarea: guiGraphical user interfacetype: enhancementImprovement to existing functionality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions