You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SupportActions.positionsCountForAllBallotItems() is called unnecessarily for the same election on the return from Candidate detail page at the cost of 6.2 seconds of wasteful server side processing and a multi second loss of fluidity in Cordova.
VoterGuideActions.voterGuidesToFollowRetrieveByBallotItem() is called unnecessarily for the same voter guide on the entry to the candidate detail page at the cost of a wasteful 38 second server side processing, and an awkward react refresh that hangs the UI for a few seconds.
The text was updated successfully, but these errors were encountered:
Fixeswevote/WeVoteCordova/issues/65
In Ballot.js, some lint cleanup, and don't call
SupportActions.positionsCountForAllBallotItems if not needed.
In Candidate.js, don't call
VoterGuideActions.voterGuidesToFollowRetrieveByBallotItem for the same
candidate if the associated voter guides are already in cache.
There still is a server side issue with
voterGuidesToFollowRetrieveByBallotItem where we spend almost 45 seconds
processing the response, this fix just has us only call the api when
necessary in this one situation.
Fixeswevote/WeVoteCordova/issues/65
In Ballot.js, some lint cleanup, and don't call
SupportActions.positionsCountForAllBallotItems if not needed.
In Candidate.js, don't call
VoterGuideActions.voterGuidesToFollowRetrieveByBallotItem for the same
candidate if the associated voter guides are already in cache.
There still is a server side issue with
voterGuidesToFollowRetrieveByBallotItem where we spend almost 45 seconds
processing the response, this fix just has us only call the api when
necessary in this one situation.
SupportActions.positionsCountForAllBallotItems() is called unnecessarily for the same election on the return from Candidate detail page at the cost of 6.2 seconds of wasteful server side processing and a multi second loss of fluidity in Cordova.
VoterGuideActions.voterGuidesToFollowRetrieveByBallotItem() is called unnecessarily for the same voter guide on the entry to the candidate detail page at the cost of a wasteful 38 second server side processing, and an awkward react refresh that hangs the UI for a few seconds.
The text was updated successfully, but these errors were encountered: