Skip to content
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

Remove AsyncStorage dependency from Onyx. Clean up tests. #16455

Closed
marcaaron opened this issue Mar 23, 2023 · 11 comments
Closed

Remove AsyncStorage dependency from Onyx. Clean up tests. #16455

marcaaron opened this issue Mar 23, 2023 · 11 comments
Assignees
Labels
Engineering Monthly KSv2 Reviewing Has a PR in review

Comments

@marcaaron
Copy link
Contributor

After switching from AsyncStorage to react-native-quick-sqlite in Onyx we still have some tests that are using the mock storage providers from AsyncStorage. Additionally, the tests we have are a bit of a mess and don't really test the "real" implementations of storage so it doesn't really matter what we use there.

@kidroca and @chrispader started working on the clean up already so this is just an issue to track the progress.

@MelvinBot
Copy link

Huh... This is 4 days overdue. Who can take care of this?

@melvin-bot melvin-bot bot added the Overdue label Mar 28, 2023
@marcaaron marcaaron self-assigned this Mar 29, 2023
@marcaaron marcaaron added Weekly KSv2 and removed Daily KSv2 labels Mar 29, 2023
@marcaaron
Copy link
Contributor Author

@chrispader's working on it

@melvin-bot melvin-bot bot removed the Overdue label Mar 29, 2023
@marcaaron marcaaron added the Reviewing Has a PR in review label Apr 5, 2023
@marcaaron
Copy link
Contributor Author

This is in review

@marcaaron
Copy link
Contributor Author

Looks like we merged the linked PR here. But we still need a PR to fix up App so it's using the latest react-native-onyx.

@marcaaron
Copy link
Contributor Author

@chrispader is the above something you are looking into?

@chrispader
Copy link
Contributor

Yes, i'm gonna create a PR that adds the latest changes to Expensify/App 👍

@chrispader
Copy link
Contributor

Created this PR, which also includes later changes in react-native-onyx

@chrispader
Copy link
Contributor

@marcaaron i think this issue can be closed now, right? 🎉

@marcaaron
Copy link
Contributor Author

almost! we close issues when they are deployed to production.

@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels May 29, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 29, 2023

This issue has not been updated in over 15 days. @marcaaron eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@chrispader
Copy link
Contributor

@marcaaron can this be closed out now? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering Monthly KSv2 Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

3 participants