Skip to content

Sync Preferences + API Retry Handling #151

@VaibhaviShreya

Description

@VaibhaviShreya

Problem:
1.Preferences are stored in chrome.storage.local, so users lose settings across devices.
2.Groq API calls fail silently on network/5xx errors — no retry, no user feedback.

Solution:
1.Preference Sync

  • Use chrome.storage.sync with fallback to local on quota error.

  • Cache fallback and optionally notify user.

    2.API Reliability

  • Add retry with exponential backoff (2–3 attempts).

  • Show user-friendly error or retry status.

Impact:

  • Preferences persist across devices
  • Transient errors no longer block translations
  • Users stay informed when things go wrong

@byteom

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions