-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Stop fetching personalDetails directly #9934
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
Changes from all commits
82b8332
4a351bb
5853f88
0737143
cd32dd7
ee0dd77
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,7 +9,6 @@ import CONST from '../../CONST'; | |
| import Log from '../Log'; | ||
| import Performance from '../Performance'; | ||
| import Timing from './Timing'; | ||
| import * as PersonalDetails from './PersonalDetails'; | ||
| import * as Report from './Report'; | ||
| import * as BankAccounts from './BankAccounts'; | ||
| import * as Policy from './Policy'; | ||
|
|
@@ -98,7 +97,6 @@ function getAppData(shouldSyncPolicyList = true) { | |
|
|
||
| // We should update the syncing indicator when personal details and reports are both done fetching. | ||
| return Promise.all([ | ||
| PersonalDetails.fetchPersonalDetails(), | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was one thing that I am not 100% sure about... We won't be "waiting" for the details to happen anymore and no "syncing" stuff will be shown. Are we handling this somehow and I missed it?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nice. |
||
| Report.fetchAllReports(true, true), | ||
| ]); | ||
| } | ||
|
|
||
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 think it's fine to get rid of the betas here as well. Unsure why we were also periodically refreshing these but regardless periodic refresh seems like not what we want to do longer term.
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.
Ah we were holding on removing User.getBetas from the timer until
AuthenticateUseris implemented - #9769. I think it's probably ok to remove it now though.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.
Works for me 👍