Skip to content

BUG: Draft auto-save overwrites manual saves #650

@andrinoff

Description

@andrinoff

Describe the bug: Draft auto-save happens on timer. If user manually saves then continues editing, auto-save overwrites with older version. No conflict detection.

To reproduce:

  1. Start composing email
  2. Edit for a while (auto-save triggers)
  3. Manually save draft
  4. Continue editing
  5. Auto-save overwrites manual save

Expected behavior: Reset auto-save timer on manual save. Or skip auto-save if manual save more recent.

Additional context:

  • File: tui/composer.go
  • Track last manual save timestamp
  • Compare before auto-save
  • Severity: Medium - data loss
  • Complexity: Easy - timestamp comparison

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions