browser-extension icon indicating copy to clipboard operation
browser-extension copied to clipboard

Store API data in local storage instead of sync storage.

Open FozzieHi opened this issue 2 years ago • 2 comments

Closes #121

  • Stores apiUrl and apiKey in local storage instead of sync storage. We use a separate TYPES variable for this instead of making SETTINGS an object for ease of use when using SETTINGS keys.
  • On startup, moves any existing apiUrl or apiKey values in sync storage to local storage and deletes them from sync storage if successful.

FozzieHi avatar Feb 13 '22 00:02 FozzieHi

@nguyenkims Can you please take a look to see if we can merge? Thank you!

ngxson avatar Apr 22 '22 16:04 ngxson

@FozzieHi @ngxson the PR look good to me 👌. Did you have a chance to test it on Firefox and Chrome?

nguyenkims avatar Apr 23 '22 08:04 nguyenkims