Skip to content

Show specific error when settings save fails #5

Description

@false200

What is this about?

Problem

When saving API keys fails, the UI always flashes generic "Couldn't save that" — even though the main process returns a specific error string.

Where to look

  • main.jssettings:save handler returns { ok: false, error } (~201)
  • index.htmlsaveSettings() always shows generic message (~1456)

Acceptance criteria

  • Failed saves display result.error when present
  • Success path unchanged
  • No raw [object Object] shown to user

Skills needed

Read an IPC response and wire it to existing flash() — ~5 lines of JS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvementgood first issueGood for newcomersui/uxInterface and experience

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions