New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[chore] migrate remaining deprecated chrome storage API calls to ConfigStorage JSON implementation. #2636
[chore] migrate remaining deprecated chrome storage API calls to ConfigStorage JSON implementation. #2636
Conversation
4048b62
to
128b024
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd remove callbacks if using local storage. Would make it a bit easier to reason about since now storage is all sync.
So to fix the callback issue we need to refactor the betaflight-configurator/src/js/ConfigStorage.js Lines 7 to 32 in 78287a1
Then in the actual code which was using the callback, return value of |
40a76f5
to
6dcf2ac
Compare
6dcf2ac
to
535bdf1
Compare
Squashed and rebased |
Proposal (discussed with @haslinghuis ) |
535bdf1
to
bf44124
Compare
AUTOMERGE: (FAIL)
|
725d4b4
to
578473d
Compare
This comment has been minimized.
This comment has been minimized.
Rebased |
0c4b341
to
753cda8
Compare
Add remove function Remove callback from set and remove Rebased Rebased
753cda8
to
f41e135
Compare
Squashed and rebased |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Do you want to test this code? Here you have an automated build: |
We need to migrate deprecated API's.
This PR is removing
chrome.storage API
and uses theConfigStorage.js
we had in place already instead.